joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404234
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x40427b
cmp al, 0xb
je 0x404295
cmp al, 0xc
je 0x4042ac
cmp al, 0xd
je 0x4042bb
cmp al, 0xe
je 0x4042d9
cmp al, 0xf
je 0x4042ef
cmp al, 0x11
je 0x4042fe
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402770
cmp ecx, 1
mov eax, ebx
jg 0x40428c
call fcn.004039f0
jmp 0x40430d
mov edx, ecx
call fcn.00403a14
jmp 0x40430d
cmp ecx, 1
mov eax, ebx
jg 0x4042a3
call fcn.00403fbc
jmp 0x40430d
mov edx, ecx
call fcn.00403fd4
jmp 0x40430d
mov eax, ebx
add ebx, 0x10
call fcn.00404a98
dec edi
jg 0x4042ac
jmp 0x40430d
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00404234
dec edi
jg 0x4042be
pop ebp
jmp 0x40430d
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404208
dec edi
jg 0x4042dc
pop ebp
jmp 0x40430d
mov eax, ebx
add ebx, 4
call fcn.004050f0
dec edi
jg 0x4042ef
jmp 0x40430d
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404c8c
dec edi
jg 0x4042fe
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404314
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404234

Function at 0x404320
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x40434c
mov edx, eax
add eax, esi
add edx, ebx
call fcn.004027fc
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40438b
cmp cl, 0xb
je 0x40439c
cmp cl, 0xc
je 0x4043ad
cmp cl, 0xd
je 0x4043be
cmp cl, 0xe
je 0x4043de
cmp cl, 0xf
je 0x4043f7
cmp cl, 0x11
je 0x404408
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402770
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403a44
mov eax, 4
jmp 0x404419
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403ff8
mov eax, 4
jmp 0x404419
lea edx, [esi + eax]
add eax, ebx
call fcn.004046e4
mov eax, 0x10
jmp 0x404419
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.0040443c
pop eax
jmp 0x404419
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00404320
pop eax
jmp 0x404419
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405108
mov eax, 4
jmp 0x404419
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404cc8
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x40433a
pop ecx
sub ecx, eax
jle 0x404435
lea edx, [ebx + eax]
add eax, esi
call fcn.004027fc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40443c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x404482
cmp cl, 0xb
je 0x404499
cmp cl, 0xc
je 0x4044ad
cmp cl, 0xd
je 0x4044c1
cmp cl, 0xe
je 0x4044e2
cmp cl, 0xf
je 0x4044ff
cmp cl, 0x11
je 0x404513
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402770
mov eax, ebx
mov edx, dword [esi]
call fcn.00403a44
add ebx, 4
add esi, 4
dec ebp
jne 0x404482
jmp 0x404527
mov eax, ebx
mov edx, dword [esi]
call fcn.00403ff8
add ebx, 4
add esi, 4
dec ebp
jne 0x404499
jmp 0x404527
mov eax, ebx
mov edx, esi
call fcn.004046e4
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x4044ad
jmp 0x404527
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.0040443c
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x4044ca
jmp 0x404527
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00404320
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x4044e2
jmp 0x404527
mov eax, ebx
mov edx, dword [esi]
call fcn.00405108
add ebx, 4
add esi, 4
dec ebp
jne 0x4044ff
jmp 0x404527
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404cc8
add ebx, 4
add esi, 4
dec ebp
jne 0x404513
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x4046e4
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402770
cmp eax, edx
je 0x40477b
cmp word [eax], 8
jb 0x40471c
push eax
push edx
cmp word [eax], 0x100
je 0x404712
cmp word [eax], 0x101
je 0x40470a
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x40471a
call dword [0x4773e8]
jmp 0x40471a
add eax, 8
call fcn.004039f0
pop edx
pop eax
cmp word [edx], 8
jae 0x404733
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x40474e
cmp word [edx], 0x101
jne 0x404767
push eax
call 0x404722
pop eax
jmp dword [0x4773f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x40475e
mov ecx, dword [edx - 8]
inc ecx
jle 0x40475e
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x404698
ret
Function at 0x404d44
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404efc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404da5
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404f18
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404e12
xor eax, eax
push ebp
push 0x404e0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404df4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404f38
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404e12
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404ef3
cmp byte [ebp - 0xd], 0
jne 0x404e54
cmp byte [ebp - 0x12], 0
je 0x404ef3
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404e6d
dec ebx
cmp byte [ebx], 0x2e
je 0x404e7c
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404e6c
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404ef3
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404ea9
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404ef3
cmp byte [ebp - 0xd], 0
je 0x404ef3
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404ef3
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a02c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a065
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ad4
jmp 0x40a06e
mov eax, ebx
mov edx, esi
call fcn.00403a88
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a078
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a099
mov al, byte [esp]
jmp 0x40a09b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x414640
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x414650
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x414665
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4165a8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4165ae
ret

Function at 0x418ca8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x418cf9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x418ce0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x418cd0
jmp 0x418cf9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x418ce1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422e38
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x422ec2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x422ea9
mov eax, dword [0x476728]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x422e77
push ebx
push 0x422ed0
call fcn.0043b5cc
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x422ea5
lea edx, [ebp - 4]
mov eax, dword [0x4764f8]
call fcn.00405098
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x406da0]
call fcn.0040a76c
call fcn.00403464
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422ec9
lea eax, [ebp - 4]
call fcn.004039f0
ret

Function at 0x422ef0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00422e38
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x422f62
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x422f36
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403ba4
jmp 0x422f3d
mov eax, ebx
call fcn.004039f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422f69
cmp dword [ebp - 8], 0
je 0x422f59
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00422e0c
ret

Function at 0x422f70
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42304e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00422e38
xor edx, edx
push ebp
push 0x423031
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x422ffa
mov edx, ebx
mov eax, dword [0x41607c]
call fcn.0041a3c0
test al, al
je 0x422fea
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041a294
call fcn.00403504
jmp 0x423038
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x422fb5
lea edx, [ebp - 8]
mov eax, dword [0x476554]
call fcn.00405098
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406da0]
call fcn.0040a76c
call fcn.00403464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423038
mov eax, dword [ebp - 4]
call fcn.00422e0c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423055
lea eax, [ebp - 8]
call fcn.004039f0
ret
Function at 0x42305c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00422e38
xor eax, eax
push ebp
push 0x4230b4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4230bb
mov eax, dword [ebp - 4]
call fcn.00422e0c
ret

Function at 0x4230c4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00422e38
xor edx, edx
push ebp
push 0x423119
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423120
mov eax, dword [ebp - 4]
call fcn.00422e0c
ret

Function at 0x423190
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00422e38
xor eax, eax
push ebp
push 0x423205
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00422df0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041a394
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4231ef
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42320c
mov eax, dword [ebp - 4]
call fcn.00422e0c
ret

Function at 0x423214
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00422e38
xor eax, eax
push ebp
push 0x423289
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00422df0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x423273
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423290
mov eax, dword [ebp - 4]
call fcn.00422e0c
ret
Function at 0x425c84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x477768], 0
sete dl
or al, dl
jne 0x425dc8
mov eax, dword [0x47776c]
mov bx, 0xffff
call fcn.00402f94
mov eax, dword [0x477768]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x425d97
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x477768]
call fcn.0040f0b0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x425d8f
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x425d8f
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x425d8f
mov eax, dword [ebp - 0x10]
call fcn.0042db28
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x425d8f
push ebp
call fcn.00425c40
pop ecx
test al, al
jne 0x425d8f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x425d4b
mov eax, dword [ebp - 0x10]
call fcn.0042c46c
dec eax
jle 0x425d8f
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402f94
cmp byte [ebp - 0x15], 0
je 0x425d8f
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x425d8f
mov edx, dword [ebp - 0x10]
mov eax, dword [0x47776c]
call fcn.004254f0
inc edi
dec esi
jne 0x425cde
mov eax, dword [0x47776c]
cmp dword [eax + 8], 0
jle 0x425daf
mov eax, dword [0x47776c]
call fcn.00425580
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x425dc8
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00425af8
pop ecx
test al, al
jne 0x425dc8
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b5f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42b629
je 0x42b683
sub eax, 7
je 0x42b64a
dec eax
je 0x42b674
sub eax, 0x17
je 0x42b704
jmp 0x42b742
add eax, 0xffffff00
sub eax, 9
jb 0x42b6f0
add eax, 0xffffff09
sub eax, 0xb
jb 0x42b6da
jmp 0x42b742
mov eax, ebx
call fcn.0043b82c
mov edi, eax
test edi, edi
je 0x42b7a2
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42b7ab
jmp 0x42b7a2
test byte [ebx + 0x44], 0x20
jne 0x42b7ab
jmp 0x42b7a2
mov edx, esi
mov eax, ebx
call fcn.00428ee4
cmp dword [esi + 0xc], 0xffffffff
jne 0x42b7ab
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406900
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042797c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042b4a8
test eax, eax
je 0x42b7ab
mov dword [esi + 0xc], 1
jmp 0x42b7ab
mov edx, esi
mov eax, ebx
call fcn.0042b56c
test al, al
jne 0x42b7ab
jmp 0x42b7a2
mov eax, ebx
call fcn.0042855c
test al, al
jne 0x42b7ab
jmp 0x42b7a2
mov eax, ebx
call fcn.0042db28
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42b7a2
cmp dword [0x475750], 0
je 0x42b7a2
mov eax, dword [0x475750]
cmp ebx, dword [eax + 0x24]
jne 0x42b7a2
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x475750]
call fcn.00428e00
jmp 0x42b7a2
mov eax, dword [0x477730]
cmp byte [eax + 0x20], 0
je 0x42b7a2
mov eax, dword [0x477730]
cmp dword [eax + 0x1c], 0
je 0x42b7a2
mov eax, dword [esi]
mov edx, dword [0x477730]
cmp eax, dword [edx + 0x1c]
jne 0x42b7a2
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043b740
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00402f94
jmp 0x42b7ab
mov edx, esi
mov eax, ebx
call fcn.00428ee4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bc3c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42bc58
cmp dword [esi + 4], 0
je 0x42bc85
test byte [ebx + 0x45], 1
jne 0x42bc77
mov eax, ebx
call fcn.0042acac
test eax, eax
jne 0x42bc77
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42bd95
mov edx, esi
mov eax, ebx
call fcn.0042b8b4
jmp 0x42bd95
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42bd8e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042db28
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00428e00
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042bc3c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042db28
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bd95
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f34c
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x42f387
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x42f36e
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x42f37f
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x42f389
inc edi
add eax, 0x28
cmp edi, esi
jb 0x42f364
xor eax, eax
pop edi
pop esi
ret