joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004aca60

Function at 0x49f400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
lea esi, [edi + 0x10]
mov dword [edi], vtable.XThread.0
push esi
call ebx
lea eax, [edi + 0x28]
push eax
call ebx
lea eax, [edi + 0x40]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
push 0
call edi
mov ecx, dword [ebp - 4]
push 0
push 0
push 0
push 0
mov dword [ecx + 0x58], eax
call edi
mov ecx, dword [ebp - 4]
push 0
push 0
push 1
push 0
mov dword [ecx + 0x5c], eax
call edi
mov edi, dword [ebp - 4]
push eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0xa
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x88], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea eax, [edi + 0x9c]
mov dword [edi], vtable.CBandiFixerBase.0
push eax
mov dword [edi + 0x8c], 1
mov dword [edi + 0x90], 0x80030070
mov dword [edi + 0x94], 0x80030071
mov dword [edi + 0x98], 0x80030072
call ebx
call fcn.004a6e1d
test eax, eax
je 0x49f5b2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi + 0xb4], eax
call fcn.004a6e1d
test eax, eax
je 0x49f5b2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi + 0xb8], eax
push esi
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 4]
test eax, eax
je 0x49f56e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x49f5a2
push dword [edi + 0x58]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call edi
mov eax, dword [ebp - 4]
push dword [eax + 0x5c]
call edi
mov edi, dword [ebp - 4]
lea eax, [edi + 0xc]
mov dword [edi + 8], edi
push eax
push 0
push edi
push 0x410fd0
push 0
push 0
call fcn.005fc8dd
add esp, 0x18
mov dword [edi + 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405000
int3
Function at 0x49fa00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61457d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x69301c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
sub esp, 8
mov dword [ebp - 4], 0
push 0x669ea8
push ecx
lea ecx, [ebp - 0x10]
call fcn.00410d10
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
push 0
push 0x669f20
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x49fa7d
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
push 0
push 0x669f08
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x49fab3
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
push 0
push str.nLCID
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x49fae9
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
push dword [esi + 0xc]
lea eax, [esi + 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00410d90
mov eax, dword [esi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
push 0
push str.nSkinSize
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x49fb2f
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x49fb5a
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x49fb74
push 0x58
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push 0
mov dword [esi + 0x14], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x49fb74
lea ecx, [eax + eax*2]
mov eax, 0x51eb851f
shl ecx, 5
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49fb82
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ab87f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x4ab8c4
call fcn.004af2f1
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ab8c1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ab90b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x4ab8e7
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x6249f8]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x4ab908
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x6249f8]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x4ac292
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4ac2e5
push esi
push dword [ebp + 8]
call fcn.004ac47b
mov edi, eax
test edi, edi
je 0x4ac2e0
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4ac2e0
mov eax, dword [ebp - 8]
jmp 0x4ac2f7
mov eax, dword [ebp + 0x10]
jmp 0x4ac2f7
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x4b14df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x4b151e
call fcn.004af2f1
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4b151e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b1526
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004c9929
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4b1f21
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4b1fad
cmp dword [esi + 0x20], 0
je 0x4b1fad
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b1fad
cmp dword [ebp + 8], 0
je 0x4b1fad
xor edi, edi
mov ebx, edi
call fcn.004af2f1
push 0x626d48
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x4b1f91
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b1fad
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004ccafb
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4b1fa9
mov ecx, esi
call fcn.004b1cbf
mov eax, edi
jmp 0x4b1faf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4b698e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x6149bf
call fcn.005ebcc1
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x4b69b4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4b6a0e
lea ecx, [ebp - 0x10]
call fcn.004049f0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x6249f8]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005fdd54
push eax
call fcn.00404af0
add esp, 0x14
test esi, esi
je 0x4b6a01
push esi
call fcn.005fa7a4
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404d70
mov eax, ebx
call fcn.005ebc8a
ret 8

Function at 0x4ce56e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4ce5c4
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4ce59d
call fcn.004b7bbb
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4ce5b2
call fcn.004b7bbb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4ce5c4
call fcn.004b7bbb
call fcn.004af2f1
cmp dword [eax + 0x3c], 0
je 0x4ce5d9
push edi
mov ecx, ebx
call fcn.004cdc91
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004ce7bf
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4ce602
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4ce60e
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4cf74e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004b656f
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4cf78a
call fcn.004cf96b
mov dword [esi + 0xc], 1
jmp 0x4cf78f
call fcn.004cf96b
cmp dword [esi], 0
je 0x4cf7da
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x4cf7b5
push edi
call fcn.004a6b0a
lea ecx, [edi + 1]
push ecx
jmp 0x4cf7c4
push 0xff
call fcn.00404eb0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00404480
pop edi
jmp 0x4cf7fe
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4cf7fe
push dword [esi]
push dword [ebp - 4]
call fcn.004bccf9
pop esi
leave
ret 0xc

Function at 0x4cf8c2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004cf96b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4cf90a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004a6b0a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00404480
jmp 0x4cf915
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004bccf9
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4d0b6b
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x69301c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.005ee670
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.005fdd54
push eax
call fcn.00404af0
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x62a3dc]
je 0x4d0cd5
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4d0ce9
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4d0ce9
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x4d0c04
mov eax, edi
jmp 0x4d0c33
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4d0c21
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.004d091c
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x4d0c2a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004d0e2c
test eax, eax
je 0x4d0c58
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.004d07a8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4d0c5c
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d0e2c
test eax, eax
je 0x4d0c83
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.004d07a8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4d0c87
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004d0e2c
test eax, eax
je 0x4d0caf
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.004d07a8
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4d0cb1
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x4d0cc3
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x4d0cd5
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005eb48e
leave
ret 4
xor eax, eax
jmp 0x4d0cd8
Function at 0x4ec412
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
add edi, 0x2949
jmp 0x4ec3c5
add edi, 0x256b
pop edi
push edi
add edi, 0x7f57
xor edi, 0xcea4
movsb byte es:[edi], byte [esi]
into
add byte [eax], al
pop edi
mov dword [ebp - 0xa5c], 0
push edx
push ecx
add esp, 4
add edx, 0x1699d
call 0x4ec3fd
add byte [eax + 0x32], al
inc eax
dec ecx
dec edi
inc ebx
xor al, 0x39
add esp, 4
add edx, 0x720b
call 0x4ec412
add byte [eax], al
add byte [eax + 0x3c], al
aas
inc ecx
cmp byte [edi], bh
add esp, 4
pop edx
mov byte [ebp - 0x804], 0x45
mov byte [ebp - 0x803], 0x78
mov byte [ebp - 0x802], 0x69
mov byte [ebp - 0x801], 0x74
mov byte [ebp - 0x800], 0x50
mov byte [ebp - 0x7ff], 0x72
mov byte [ebp - 0x7fe], 0x6f
mov byte [ebp - 0x7fd], 0x63
jmp dword [ebx - 0x3a]
test dword [eax + edi*8], eax
invalid
jmp dword [ebp - 0x3a]
test dword [0x73fffff8], eax
clc
invalid
push dword [ebx - 0x3a]
test dword [esi], eax
push es
clc
invalid
push dword [ebx - 0x3a]
test dword [edi], eax
clc
invalid
inc dword [eax]
push edi
sub edi, 0x6009
add byte [ecx + 0x17755e7], al
add byte [ecx + 0x121b3f7], al
add byte [edi + 0x56], bl
push eax
add esp, 4
xor esi, 0x147d1
add esi, 0x6b
or esi, 0x881a
sub esi, 0x7399
pop esi
mov ecx, 0x6b
mov word [ebp - 0x1628], cx
mov edx, 0x65
invalid
invalid
xchg ebp, eax
fucompp
invalid
Function at 0x4f1954
Capabilities:
Encode data using xor

Disassembly:
add dword [ecx], eax
pop edx
test byte [esi + 0xf9a1], bh
add dword [esi + 0x42], esi
push ebx
in al, dx
add eax, 0x3d484f4e
add bl, 0xb8
insb byte es:[edi], dx
add dword [ecx], eax
in al, dx
add eax, 0x4346444b
sub bl, 0x65
inc esp
add dword [ecx], eax
pop ebx
pop eax
push edx
test ch, al
add eax, 0xb57fd082
add dword [ecx], eax
xor al, 0x3b
push edx
add al, byte [ecx]
sub al, 0x64
cmp dword [edx], eax
add dword [eax - 0x38], esp
xchg byte [ecx + 0x10000f6], dh
add dword [ecx], eax
add edx, ebp
sub dword [ecx + eax], ecx
add dword [edx - 0x7e], edx
loop 0x4f1960
aaa
add al, byte [ecx]
add dl, 0x89
rol byte [ecx], cl
add dword [edx + 0x54], ebx
xor ah, 0xce
ja 0x4f19b7
add dword [edx + 0x1df89cc], eax
add esp, ebp
pop es
inc ebp
dec ebp
cmp byte [ecx + 0x41], cl
cmp al, 0x5c
push edi
or bh, 0x80
dec ebx
add dword [ecx], eax
add bh, 0xf4
sub dword [edx], eax
add dword [edi - 0x74], ebx
invalid
int3
Function at 0x50394c
Capabilities:
Encode data using xor

Disassembly:
add eax, 0xf6898e8a
add byte [eax], al
test byte [esi + 0xf689], bh
add dword [esi + 0x38], esi
push esp
or ah, 0x87
and eax, 0xbe90101
add dword [ecx], eax
add dword [ecx], eax
xor edi, dword ss:[ecx]
cmp dword [eax + 0x33], ecx
inc edx
aaa
dec esi
test ch, al
add eax, 0x8453545c
lds eax, [0x1010be9]
add dword [ecx], eax
inc ecx
dec esi
inc esi
push ecx
cmp ecx, dword [ebp + 0x51]
aas
test ch, al
add eax, 0x1bebea5c
add dword [ecx], eax
push edx
sub dl, 0xa1
ja 0x50399b
add dword [edx + 0x1d38aea], eax
add esp, ebp
add al, 0x50
dec eax
cmp al, 0x5a
push edx
xor dl, 0x83
in al, 1
add dword [edx + 0x53], ebx
push ebx
test ch, al
add eax, 0x1010ae9
add dword [ecx], eax
inc ebx
dec ecx
cmp al, 0x34
dec edx
cmp byte [esi + 0x41], al
test ch, al
add eax, 0x16cbb5b
add dword [ecx], eax
mov dl, byte [bp - 0x155f]
add byte [eax], al
mov ecx, 0x1010166
mov al, byte [bp - 0x155d]
add byte [eax], al
mov edx, 0x1010173
mov cl, byte [bp - 0x155b]
add byte [eax], al
mov ebx, 0x101016f
mov dl, byte [bp - 0x1559]
add byte [eax], al
mov ecx, 0x1010166
mov al, byte [bp - 0x1557]
add byte [eax], al
mov edx, 0x101016d
mov cl, byte [bp - 0x1555]
add byte [eax], al
mov ebx, 0x1010134
mov dl, byte [bp - 0x1553]
add byte [eax], al
mov ecx, 0x1010133
mov al, byte [bp - 0x1551]
add byte [eax], al
mov edx, 0x101012f
mov cl, byte [bp - 0x154f]
add byte [eax], al
mov ebx, 0x1010165
mov dl, byte [bp - 0x154d]
ljmp 0x4ec:0x101d38a
add byte [eax], al
mov ecx, 0x101016d
mov al, byte [bp - 0x154b]
add byte [eax], al
mov edx, 0x101016d
mov cl, byte [bp - 0x1549]
add byte [eax], al
xor al, 0xd3
mov dl, byte [bp - 0x1547]
add byte [eax], al
mov dword [esi + 0xf7b1], 0xb286c757
test dword [eax], 0x86c76a00
mov bl, 0xf7
add byte [eax], al
jae 0x503a3b
xchg byte [edi + esi*8 - 0x388b0000], dh
xchg byte [ebp + 0x760000f7], dh
mov dword [esi + 0xf7b6], 0xb786c762
test dword [eax], 0x86c76d00
mov eax, 0x510000f7
mov dword [esi + 0xf7b9], 0xba86c773
test dword [eax], 0x86c77000
mov ebx, 0x750000f7
mov dword [esi + 0xf7bc], 0xbd86c766
test dword [eax], 0x86c76400
mov esi, 0x750000f7
mov dword [esi + 0xf7bf], 0x2586c801
in al, 0
add byte [ecx], al
add dword [ecx], eax
add dword [esi + eax*4 + 0xe1b9], ecx
mov al, byte [esi + 0xf679]
push edx
or dl, 0x2e
ret
Function at 0x519d28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x519ebb
je 0x519ee1
cmp eax, 0xa1
jb 0x519f1f
cmp eax, 0xa2
jbe 0x519ee1
cmp eax, 0xa3
jbe 0x519f1f
cmp eax, 0xa5
jbe 0x519ee1
cmp eax, 0xa6
jbe 0x519f1f
cmp eax, 0xa8
jbe 0x519ee1
cmp eax, 0x100
jne 0x519f1f
cmp dword [edi + 0xc0], 0xffffffff
je 0x519ee1
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x519ee1
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x519e10
sub eax, 1
jne 0x519ee1
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x519dff
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x6249f8]
mov ecx, edi
call esi
test eax, eax
jne 0x519e5c
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x519dd5
jmp 0x519f39
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x519f39
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x6249f8]
mov ecx, edi
call esi
test eax, eax
jne 0x519e5c
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x519e27
jmp 0x519f39
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x6249f8]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x6249f8]
mov ecx, edi
call esi
mov ecx, eax
call fcn.004b6e65
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x6249f8]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x519f39
cmp eax, 0x200
jb 0x519f1f
cmp eax, 0x202
jbe 0x519ee1
cmp eax, 0x203
jbe 0x519f1f
cmp eax, 0x205
jbe 0x519ee1
add eax, 0xfffffdf9
cmp eax, 1
ja 0x519f1f
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x519f00
cmp dword [eax + 0x20], ebx
je 0x519f00
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x519f1f
cmp dword [eax + 0x20], ebx
je 0x519f1f
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x519f3e
lea eax, [edi + 0x2250]
test eax, eax
je 0x519f35
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x519f3e
xor eax, eax
inc eax
jmp 0x519f46
push esi
mov ecx, edi
call fcn.00511c79
pop edi
pop esi
pop ebx
leave
ret 4