joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419ebe
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x419f5b
push ebx
push esi
call fcn.00419e87
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041841f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x419f08
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x419f5a
push edi
push eax
call fcn.0041118b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x419f28
call fcn.00411151
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x419f59
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041841f
add esp, 0x20
test eax, eax
jne 0x419f47
push edi
call fcn.00411151
jmp 0x419f4f
push ebx
call fcn.00411151
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x419f5e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x419f6f
pop esi
ret
push ebx
push edi
push esi
call fcn.00419e87
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041118b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x419f97
push ebx
push esi
push edi
call fcn.00407dc0
add esp, 0xc
push 0
call fcn.00411151
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x41a6f2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a20d

Function at 0x41c8dd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00411a20
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41c94c
cmp esi, dword [ebp - 4]
je 0x41c947
cmp dword [ebp + 0xc], 0
je 0x41c947
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41c924
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041c42f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41c94e
xor eax, eax
inc eax
jmp 0x41c94e
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41c9b3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42f014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00411a20
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00411a20
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x41ca2a
cmp word [ecx], dx
je 0x41ca2a
mov eax, dword [0x424b6c]
push edi
dec eax
push eax
push 0x424a58
call fcn.0041c952
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41ca9d
cmp word [eax], dx
je 0x41ca9d
mov eax, dword [edi]
test eax, eax
je 0x41ca4e
cmp word [eax], dx
je 0x41ca4e
lea eax, [ebp - 0x10]
push eax
call fcn.0041c335
jmp 0x41ca57
lea eax, [ebp - 0x10]
push eax
call fcn.0041c3d0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41cac7
mov eax, dword [0x424a54]
push dword [ebp - 0x14]
dec eax
push eax
push 0x424748
call fcn.0041c952
add esp, 0xc
test al, al
je 0x41cac7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41ca92
cmp word [eax], di
je 0x41ca92
lea eax, [ebp - 0x10]
push eax
call fcn.0041c335
pop ecx
jmp 0x41cac9
lea eax, [ebp - 0x10]
push eax
call fcn.0041c3d0
jmp 0x41ca8f
mov eax, dword [edi]
test eax, eax
je 0x41cab4
cmp word [eax], dx
je 0x41cab4
lea eax, [ebp - 0x10]
push eax
call fcn.0041c2ea
pop ecx
jmp 0x41cac7
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x41cb92
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041c7d7
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41cb92
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41cb92
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41cb92
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41cb1f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00412342
test ebx, ebx
je 0x41cb8d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00412342
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41cb92
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41cb92
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041e957
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41cb94
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406970
leave
ret
Function at 0x41d13d
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x42f014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x41d180
call fcn.0040d725
mov dword [eax], 0xf
call fcn.0040d738
mov dword [eax], 0xd
call fcn.0040b5ab
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406970
leave
ret
test eax, eax
jne 0x41d187
inc eax
jmp 0x41d174
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x41d172
xor eax, eax
cmp ecx, 1
setne al
jmp 0x41d174
Function at 0x10069e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
or ebp, 0xffffffff
jmp 0x1006a02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1006a09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10069f8
mov eax, 1
add ebx, ebx
jne 0x1006a1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1006a10
jne 0x1006a2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1006a10
xor ecx, ecx
sub eax, 3
jb 0x1006a40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1006ab2
mov ebp, eax
add ebx, ebx
jne 0x1006a4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1006a58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1006a7c
inc ecx
add ebx, ebx
jne 0x1006a68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1006a5d
jne 0x1006a79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1006a5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1006a9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1006a8d
jmp 0x10069fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1006a9c
add edi, ecx
jmp 0x10069fe
pop esi
mov edi, esi
mov ecx, 0x1c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1006aba
cmp byte [edi], 0
jne 0x1006aba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1006abf
lea edi, [esi + 0x4000]
mov eax, dword [edi]
or eax, eax
je 0x1006b2e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6058]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x60a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1006aec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x60ac]
or eax, eax
je 0x1006b28
mov dword [ebx], eax
add ebx, 4
jmp 0x1006b09
call dword [esi + 0x60b4]
mov ebp, dword [esi + 0x60b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1006b62
sub esp, 0xffffff80
jmp 0x1001f80
Function at 0x405968
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4059ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40aa68
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 0x40aaa1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40aaaa
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aab4
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 0x40aad5
mov al, byte [esp]
jmp 0x40aad7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b15c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afd4
mov eax, dword [0x4567a8]
cmp byte [eax], 0
je 0x40b1d8
mov eax, dword [0x456524]
call fcn.00402980
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004082dc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b220
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b20e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4564bc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x457664]
call fcn.00404e7c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40ba74
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bb4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ea8
lea eax, [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb34
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb17
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb5c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb17
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb34
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb51
lea eax, [ebp - 8]
call fcn.00403e10
ret

Function at 0x40c03c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c0a0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e6c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0a7
lea eax, [ebp - 0xc]
call fcn.00403e10
ret

Function at 0x41a1c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x457884
cmp dword [edi], 0
jne 0x41a244
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x457880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4553ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a1a0
lea eax, [esi + 5]
call fcn.0041a1c0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a1c0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41a219
mov dword [0x457880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41b460
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 0x41b466
ret
Function at 0x41d8a8
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 0x41d8f9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d8e0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d8d0
jmp 0x41d8f9
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 0x41d8e1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a9d8
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42a924
call sub.user32.dll_EnumWindows
ret

Function at 0x42aaf8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42ab75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042a558
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42ab1d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042a158
cmp dword [ebp - 4], 0
je 0x42ab5f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042d0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ab7c
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x42db40
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 - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x457b54], 0
je 0x42dc8f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45672c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42dc8f
mov eax, dword [0x457b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x457b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42dc5e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x457b54]
call fcn.00413798
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42dc56
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42dc56
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42dc56
mov eax, dword [ebp - 0x14]
call fcn.004367d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42dc56
push ebp
call fcn.0042dafc
pop ecx
test al, al
jne 0x42dc56
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42dc12
mov eax, dword [ebp - 0x14]
call fcn.00435308
dec eax
jle 0x42dc56
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004032d4
cmp byte [ebp - 1], 0
je 0x42dc56
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42dc56
mov edx, dword [ebp - 0x14]
mov eax, dword [0x457b58]
call fcn.0042d2c8
inc edi
dec ebx
jne 0x42dba5
mov eax, dword [0x457b58]
cmp dword [eax + 8], 0
jle 0x42dc76
mov eax, dword [0x457b58]
call fcn.0042d358
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42dc8f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042d964
pop ecx
test al, al
jne 0x42dc8f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4312bc
mov eax, esi
call fcn.00446a20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4312bc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4312bc
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4313fb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4312fc
cmp eax, 0x108
ja 0x4312fc
mov eax, esi
call fcn.00446a20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4313f2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4313fb
jmp 0x4313f2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4313db
cmp eax, 0x20a
ja 0x4313db
test byte [esi + 0x50], 0x80
jne 0x43132e
sub eax, 0x203
je 0x43132b
sub eax, 3
je 0x43132b
sub eax, 3
jne 0x43132e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x431342
dec eax
je 0x431357
dec eax
je 0x431374
dec eax
je 0x431357
jmp 0x43137b
mov ecx, ebx
mov eax, dword [0x45672c]
mov eax, dword [eax]
mov edx, esi
call fcn.004501cc
jmp 0x4313f2
cmp byte [esi + 0x5d], 1
jne 0x43136d
mov eax, esi
mov si, 0xffed
call fcn.004032d4
jmp 0x4313fb
or word [esi + 0x54], 1
jmp 0x4313f2
and word [esi + 0x54], 0xfffe
jmp 0x4313f2
mov eax, dword [0x457b10]
cmp byte [eax + 0x20], 0
je 0x4313f2
mov eax, dword [0x457b10]
cmp dword [eax + 0x1c], 0
je 0x4313f2
mov eax, dword [ebx]
mov edx, dword [0x457b10]
cmp eax, dword [edx + 0x1c]
jne 0x4313f2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00446964
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004032d4
jmp 0x4313fb
cmp eax, 0xb00b
jne 0x4313f2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042fb90
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434968
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 + 0x1f8], 0
je 0x434984
cmp dword [esi + 4], 0
je 0x4349b1
test byte [ebx + 0x55], 1
jne 0x4349a3
mov eax, ebx
call fcn.00433508
test eax, eax
jne 0x4349a3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x434ac1
mov edx, esi
mov eax, ebx
call fcn.0043448c
jmp 0x434ac1
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 0x434aba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004367d8
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.004311a4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00434968
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.004367d8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434ac1
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