joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a8c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4297d0], ebx
push esi
push edi
jne 0x41a948
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41a983
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x4297d0], eax
je 0x41a983
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x4297d4], eax
call esi
cmp dword [0x429218], 2
mov dword [0x4297d8], eax
jne 0x41a948
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4297e0], eax
je 0x41a948
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4297dc], eax
mov eax, dword [0x4297dc]
test eax, eax
je 0x41a98d
call eax
test eax, eax
je 0x41a974
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4297e0]
test eax, eax
je 0x41a974
test byte [ebp - 8], 1
jne 0x41a98d
cmp dword [0x429224], 4
jb 0x41a987
or byte [ebp + 0x12], 0x20
jmp 0x41a9ac
xor eax, eax
jmp 0x41a9bc
or byte [ebp + 0x12], 4
jmp 0x41a9ac
mov eax, dword [0x4297d4]
test eax, eax
je 0x41a9ac
call eax
mov ebx, eax
test ebx, ebx
je 0x41a9ac
mov eax, dword [0x4297d8]
test eax, eax
je 0x41a9ac
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4297d0]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ac99
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00416270
mov eax, dword [0x4280c8]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.004168d8
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x41adcc
push 2
push esi
push dword [ebp + 8]
call fcn.004168d8
add esp, 0xc
cmp eax, ebx
je 0x41adcc
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x41ad6c
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0040f270
push 0x8000
push dword [ebp + 8]
call fcn.0041b2e1
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x41ad22
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.00416b59
add esp, 0xc
cmp eax, 0xffffffff
je 0x41ad42
sub edi, eax
test edi, edi
jg 0x41ad1a
jmp 0x41ad5a
call fcn.00413638
cmp dword [eax], 5
jne 0x41ad57
call fcn.0041362f
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0041b2e1
pop ecx
pop ecx
jmp 0x41adb4
jge 0x41adb4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004168d8
push dword [ebp + 8]
call fcn.0041a489
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x41adb4
call fcn.0041362f
mov dword [eax], 0xd
call fcn.00413638
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.004168d8
add esp, 0xc
mov eax, esi
pop edi
jmp 0x41adce
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.004120cb
leave
ret
Function at 0x41adda
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x41afae
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x42af00]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x41afae
test cl, 0x48
je 0x41ae45
cmp byte [eax + 5], 0xa
je 0x41ae45
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41ae97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x41ae7f
call fcn.0041362f
mov dword [eax], 9
call fcn.00413638
mov dword [eax], esi
jmp 0x41ae8f
cmp eax, 0x6d
je 0x41afae
push eax
call fcn.00413641
pop ecx
or eax, 0xffffffff
jmp 0x41afb0
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x41afa9
test eax, eax
je 0x41aebe
cmp byte [ebx], 0xa
jne 0x41aebe
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x41aec7
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x41afa3
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x41af93
cmp al, 0xd
je 0x41aef9
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x41af85
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x41af13
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x41af0e
add dword [ebp + 0x10], 2
jmp 0x41af67
mov dword [ebp + 0x10], eax
jmp 0x41af81
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41af3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41af81
cmp dword [ebp - 0xc], 0
je 0x41af81
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x41af5c
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x41af67
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x41af84
cmp ebx, dword [ebp + 0xc]
jne 0x41af6c
cmp byte [ebp - 1], 0xa
jne 0x41af6c
mov byte [ebx], 0xa
jmp 0x41af84
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004168d8
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x41af85
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x41aedd
jmp 0x41afa3
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x41afa3
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x41afb0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b79b
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x41b7b4
or eax, 0xffffffff
jmp 0x41b815
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x41b811
push 0x3d
push esi
call fcn.00411078
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x41b811
cmp esi, eax
je 0x41b811
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x429238]
sete cl
cmp eax, dword [0x42923c]
mov dword [ebp - 8], ecx
jne 0x41b7f7
mov edi, eax
call fcn.0041b73a
mov dword [0x429238], eax
cmp eax, ebx
jne 0x41b850
cmp dword [ebp + 0xc], ebx
je 0x41b819
cmp dword [0x429240], ebx
je 0x41b819
call fcn.0041b003
test eax, eax
je 0x41b850
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x41b822
xor eax, eax
jmp 0x41b814
push 4
call fcn.0041061c
cmp eax, ebx
pop ecx
mov dword [0x429238], eax
je 0x41b811
mov dword [eax], ebx
cmp dword [0x429240], ebx
jne 0x41b850
push 4
call fcn.0041061c
cmp eax, ebx
pop ecx
mov dword [0x429240], eax
je 0x41b811
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x429238]
call fcn.0041b6ed
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x41b8b1
cmp dword [esi], ebx
je 0x41b8b1
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0040f518
cmp dword [ebp - 8], ebx
pop ecx
jne 0x41b894
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x41b8f2
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x41b88b
mov eax, edi
shl eax, 2
push eax
push dword [0x429238]
call fcn.00412231
cmp eax, ebx
pop ecx
pop ecx
je 0x41b8f2
jmp 0x41b8ed
cmp dword [ebp - 8], ebx
jne 0x41b95d
cmp edi, ebx
jge 0x41b8c0
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x429238]
call fcn.00412231
cmp eax, ebx
pop ecx
pop ecx
je 0x41b811
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x429238], eax
cmp dword [ebp + 0xc], ebx
je 0x41b947
push dword [ebp - 4]
call fcn.0040f390
inc eax
inc eax
push eax
call fcn.0041061c
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x41b947
push dword [ebp - 4]
push esi
call fcn.0040f420
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x41b940
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0040f518
pop ecx
cmp dword [ebp - 8], ebx
je 0x41b955
push dword [ebp - 4]
call fcn.0040f518
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x41b814
push dword [ebp - 4]
call fcn.0040f518
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x41b81e
Function at 0x4059d4
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 0x405a3a
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.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a24
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a41
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40aa1c
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 0x40aa55
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40aa5e
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b110
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40af88
mov eax, dword [0x4570b0]
cmp byte [eax], 0
je 0x40b18c
mov eax, dword [0x456ecc]
call fcn.004029a4
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.00408290
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 0x40b1d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b1c2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x456e78]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x458664]
call fcn.00404ee8
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 0x40ba28
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 0x40bafe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bae8
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bae1
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.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bacb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb10
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bacb
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 0x40bae8
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb05
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x40c008
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 0x40c06c
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.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407dd8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c073
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41a160
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x458884
cmp dword [edi], 0
jne 0x41a1dc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x458880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4563ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a138
lea eax, [esi + 5]
call fcn.0041a158
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a158
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 0x41a1b1
mov dword [0x458880], 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 0x41b758
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 0x41b75e
ret
Function at 0x42edcc
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 0x42ed18
call sub.user32.dll_EnumWindows
ret

Function at 0x42eeec
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 0x42ef69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042e94c
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 0x42ef11
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042e54c
cmp dword [ebp - 4], 0
je 0x42ef53
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040430c
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 0x42ef70
lea eax, [ebp - 4]
call fcn.00403e4c
ret

Function at 0x4323c4
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 [0x458b54], 0
je 0x432513
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x457050]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x432513
mov eax, dword [0x458b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x458b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4324e2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x458b54]
call fcn.00413718
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4324da
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4324da
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4324da
mov eax, dword [ebp - 0x14]
call fcn.0043b05c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4324da
push ebp
call fcn.00432380
pop ecx
test al, al
jne 0x4324da
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x432496
mov eax, dword [ebp - 0x14]
call fcn.00439b8c
dec eax
jle 0x4324da
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.004032f8
cmp byte [ebp - 1], 0
je 0x4324da
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4324da
mov edx, dword [ebp - 0x14]
mov eax, dword [0x458b58]
call fcn.00431b4c
inc edi
dec ebx
jne 0x432429
mov eax, dword [0x458b58]
cmp dword [eax + 8], 0
jle 0x4324fa
mov eax, dword [0x458b58]
call fcn.00431bdc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x432513
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004321e8
pop ecx
test al, al
jne 0x432513
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 0x435af4
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 0x435b40
mov eax, esi
call fcn.0044b79c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435b40
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x435b40
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 0x435c7f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x435b80
cmp eax, 0x108
ja 0x435b80
mov eax, esi
call fcn.0044b79c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435c76
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x435c7f
jmp 0x435c76
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x435c5f
cmp eax, 0x20a
ja 0x435c5f
test byte [esi + 0x50], 0x80
jne 0x435bb2
sub eax, 0x203
je 0x435baf
sub eax, 3
je 0x435baf
sub eax, 3
jne 0x435bb2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x435bc6
dec eax
je 0x435bdb
dec eax
je 0x435bf8
dec eax
je 0x435bdb
jmp 0x435bff
mov ecx, ebx
mov eax, dword [0x457050]
mov eax, dword [eax]
mov edx, esi
call fcn.00454f48
jmp 0x435c76
cmp byte [esi + 0x5d], 1
jne 0x435bf1
mov eax, esi
mov si, 0xffed
call fcn.004032f8
jmp 0x435c7f
or word [esi + 0x54], 1
jmp 0x435c76
and word [esi + 0x54], 0xfffe
jmp 0x435c76
mov eax, dword [0x458b10]
cmp byte [eax + 0x20], 0
je 0x435c76
mov eax, dword [0x458b10]
cmp dword [eax + 0x1c], 0
je 0x435c76
mov eax, dword [ebx]
mov edx, dword [0x458b10]
cmp eax, dword [edx + 0x1c]
jne 0x435c76
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.0044b6e0
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.004032f8
jmp 0x435c7f
cmp eax, 0xb00b
jne 0x435c76
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00434414
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 0x4391ec
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 0x439208
cmp dword [esi + 4], 0
je 0x439235
test byte [ebx + 0x55], 1
jne 0x439227
mov eax, ebx
call fcn.00437d8c
test eax, eax
jne 0x439227
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439345
mov edx, esi
mov eax, ebx
call fcn.00438d10
jmp 0x439345
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 0x43933e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b05c
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.00435a28
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004391ec
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.0043b05c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439345
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