joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457b00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a60b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x457b39
inc eax
mov dword [esi + 0x10], eax
jmp 0x457c4c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x457b4d
mov eax, 0xffffffc7
jmp 0x457c4e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x457b5e
cmp dword [esi + 8], eax
jne 0x457b4d
cmp dword [esi + 8], eax
jne 0x457b77
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x457b77
mov eax, 0xffffffc7
jmp 0x457c4e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x457b8b
push eax
mov ecx, ebx
call fcn.00457330
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0042cc60
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x457bbc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0042cc80
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00456aa0
test eax, eax
mov dword [esp + 0x38], eax
je 0x457bef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5f5330
call fcn.0042ce60
mov eax, dword [esp + 0x38]
jmp 0x457c4e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00457960
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x457c33
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00457980
mov esi, eax
test esi, esi
jne 0x457c63
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00457960
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x457c05
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5f5330
call fcn.0042ce60
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5f5330
call fcn.0042ce60
mov eax, esi
jmp 0x457c4e

Function at 0x45c610
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x45c670
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x45c670
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x45c670
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x45c670
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x45c6b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4680b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a69a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0049f977
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00467a10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0049f8a5
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0049c19a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0049c19a
push 1
push 0
push 0
mov ecx, esi
call fcn.0049c142
push 1
push 0
push 1
mov ecx, esi
call fcn.0049c142
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049f9e9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x468230
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a69c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0049f977
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00467a10
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0049f8a5
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4682f4
cmp dword [esp + 0x40], 1
jne 0x4682f2
cmp ecx, eax
jge 0x4682f4
mov eax, ecx
cmp eax, 0xc8
jge 0x468300
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004680b0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049f9e9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x468b00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a6a73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0049a5d2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0049fc1f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a113b
test eax, eax
je 0x468c1c
mov ecx, dword [esp + 0x3c]
call fcn.0049fc4c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x468be0
push edi
mov ecx, esi
call fcn.0049d2b3
mov ecx, esi
call fcn.00468dc0
cmp dword [esp + 0x38], 1
jne 0x468c15
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0049d3ee
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x46ae20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46ae53
push esi
call fcn.00479090
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46ae4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x46aed9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46aec2
mov eax, dword [esi + 8]
test eax, eax
je 0x46ae77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46aebe
cmp eax, 2
je 0x46aec2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46ae6a
cmp eax, 3
je 0x46ae9d
cmp eax, 1
jne 0x46ae6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46ae6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46ae6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046af00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46aee8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046af00
add esp, 4
pop esi
ret

Function at 0x46b770
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x46b791
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x46b791
mov eax, dword [eax + 0x44]
test eax, eax
je 0x46b791
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x49b3ad
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49b3e5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00499454
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049942c
jmp 0x49b3f1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49ca9e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49cae0
call fcn.004a2420
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49cae0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49cad7
xor eax, eax
jmp 0x49cae8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049caee
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a2950
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a297e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a299c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a28b6
jmp 0x4a299c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a299c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a28b6
test edi, edi
mov eax, edi
jne 0x4a2986
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4074f1
Capabilities:
Print debug messages
Terminate process

Disassembly:
add esi, 0
neg ecx
mov dword [0x40cc67], esi
sub edi, 0
not ecx
mov dword [0x40cc63], edi
or ebx, 0
not ecx
mov dword [0x40cc73], ebx
pop eax
jmp fcn.0040383b

Function at 0x43cf0f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x43cf1e
pop dword [ebp - 0x18]
mov eax, 0x798677d1
sub eax, 0x7942a8b3
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x5638f
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x606d
xor ebx, ebx
add ebx, eax
mov edx, 0x652a6e7
add edx, 0xf9f4b719
add edx, dword [ebp - 0x18]
mov edi, 0xf41529c0
add edi, 0x2766c8da
mov esi, dword [edx]
xor dword [ebp - 0xc], ebx
xor esi, edi
sub dword [ebp - 8], 0x3272944a
mov dword [ebx], esi
mov dword [ebp - 4], 0xe78bd8a5
add ebx, 4
add edx, 4
loop 0x43cf74
add eax, 0x17487
mov ebx, eax
add eax, 0xc71793b7
sub eax, 0xc71793b2
mov ecx, 0x6e33e70d
sub ecx, 0x6df3e70d
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x401d80
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sym._EnterCriticalSection_4
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401dcb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401dc4
test esi, esi
je 0x401dc4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401da0
mov dword [esp], 0x407048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401fb0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4020d8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40203e
cmp eax, 4
jne 0x402060
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40204e
cmp edx, 4
je 0x40204e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401fb0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403db8
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
xor eax, eax
mov edx, dword [eax*4 + 0x7de8a0]
movsx ecx, byte [edx + 0x2a8]
test ecx, ecx
jne 0x403fba
inc eax
cmp eax, 4
jl 0x403dbd
je 0x403f8d
cmp dword [0x7dee24], 0
jl 0x403f89
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov esi, eax
mov edi, dword [esi*4 + 0x7de8a0]
cmp dword [edi + 0x2a4], 0
jne 0x403e3e
xor ebp, ebp
mov dword [edi + 0x2ac], ebp
mov dword [edi + 0x2b0], ebp
mov edx, 1
mov byte [edi + 0x2b4], dl
mov byte [edi + 0x2b5], dl
jmp 0x403f70
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
lea ebx, [esp + 0x10]
push ebx
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, dword [esi*4 + 0x7de8a0]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x2ac], ecx
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x2b0], edx
test esi, esi
jne 0x403ed2
mov edx, dword [0x7de434]
sub ecx, edx
mov dword [ebx + 0x2ac], ecx
mov ecx, dword [0x7de438]
sub dword [ebx + 0x2b0], ecx
mov ecx, dword [0x7de604]
test ecx, ecx
je 0x403eb5
mov eax, dword [ebx + 0x2ac]
imul eax, dword [ebx + 0xc]
cdq
idiv ecx
mov dword [ebx + 0x2ac], eax
mov ecx, dword [0x7de608]
test ecx, ecx
je 0x403ed2
mov eax, dword [ebx + 0x2b0]
imul eax, dword [ebx + 0x10]
cdq
idiv ecx
mov dword [ebx + 0x2b0], eax
xor edx, edx
mov byte [ebx + 0x2b4], dl
mov byte [ebx + 0x2b5], dl
mov edx, dword [ebx + 0x2ac]
test edx, edx
jl 0x403efe
mov ecx, dword [ebx + 0x2b0]
test ecx, ecx
jl 0x403efe
cmp edx, dword [ebx + 0xc]
jge 0x403efe
cmp ecx, dword [ebx + 0x10]
jl 0x403f70
mov byte [ebx + 0x2b4], 1
mov ecx, dword [0x7de434]
mov ebp, dword [0x7de438]
mov edi, dword [0x7de604]
test edi, edi
je 0x403f28
mov edx, dword [ebx + 0xc]
imul ecx, edx
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov edi, dword [0x7de608]
test edi, edi
je 0x403f3f
mov edx, dword [ebx + 0x10]
imul ebp, edx
mov eax, ebp
cdq
idiv edi
mov ebp, eax
mov edx, dword [ebx + 0x2ac]
mov edi, ecx
neg edi
cmp edx, edi
jl 0x403f69
mov eax, dword [ebx + 0x2b0]
mov edi, ebp
neg edi
cmp eax, edi
jl 0x403f69
add ecx, dword [ebx + 0xc]
cmp edx, ecx
jge 0x403f69
add ebp, dword [ebx + 0x10]
cmp eax, ebp
jl 0x403f70
mov byte [ebx + 0x2b5], 1
inc esi
cmp esi, 4
jl 0x403e0a
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
mov ebp, dword [esp]
add esp, 0x20
ret
mov dword [0x7dee24], 0xffffffff
push 0x400
push 0x65f0e0
call dword [0x5b1480]
add esp, 8
push 0x65efe0
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x403ddf
mov dword [0x7dee24], eax
push 0x65f0e0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x403ddf
Function at 0x40d560
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov esi, edx
mov ebx, dword [eax]
mov edx, ecx
xor eax, eax
xor eax, ecx
mov edi, esi
cmp ecx, 4
jl 0x40d5a2
mov dword [esp], ecx
imul ebp, dword [edi], 0x5bd1e995
mov ecx, ebp
shr ecx, 0x18
xor ebp, ecx
imul ecx, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edi, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x40d579
mov ecx, dword [esp]
cmp edx, 3
je 0x40d5b3
cmp edx, 2
je 0x40d5bc
cmp edx, 1
je 0x40d5c5
jmp 0x40d5d0
movzx edx, byte [edi + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [edi + 1]
shl edx, 8
xor eax, edx
movzx edi, byte [edi]
xor eax, edi
imul eax, eax, 0x5bd1e995
mov edi, eax
shr edi, 0xd
xor eax, edi
imul edi, eax, 0x5bd1e995
mov eax, edi
shr eax, 0xf
xor edi, eax
and edi, 0x7fffffff
add edi, 0x80000000
test ebx, ebx
je 0x40d618
mov ebp, ecx
cmp edi, dword [ebx + 0x1c]
jne 0x40d611
cmp ebp, dword [ebx + 0x18]
jne 0x40d611
push ebp
push esi
push dword [ebx + 0x14]
call fcn.0045f320
add esp, 0xc
test eax, eax
je 0x40d618
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x40d5f6
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x412ec8
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebx
sub esp, 0x108
push 0x105
push 0x65d540
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x65d540
call fcn.0045667c
mov esi, 0x65d660
mov edi, 0x65d540
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x412ef7
mov edx, 0x65d660
movsx eax, byte [edx]
test eax, eax
je 0x412f34
movzx esi, al
movzx ecx, byte [esi + 0x5940a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x41304f
cmp eax, 0x5c
jne 0x412f2c
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x412f0d
lea edx, [esp + 4]
xor eax, eax
push eax
push eax
push edx
push 0x65d780
push 0x65d540
call fcn.0045f54a
add esp, 0x14
mov edi, 0x65d780
lea edx, [esp + 4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x412f62
mov eax, 0x65d780
call fcn.0045667c
mov edx, 0x65d780
movsx eax, byte [edx]
test eax, eax
je 0x412fa9
movzx esi, al
movzx ecx, byte [esi + 0x5940a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x413047
cmp eax, 0x2f
jne 0x412fa1
mov byte [edx], 0x5c
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x412f82
mov edi, 0x65d780
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x412fc0
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x412fb8
mov ecx, eax
test ecx, ecx
jle 0x412ff0
xor edx, edx
lea eax, [ecx - 1]
movzx esi, byte [edx + 0x65d780]
movzx ebx, byte [esi + 0x5940a0]
inc ebx
movsx edi, bl
add edx, edi
cmp edx, eax
jne 0x412fec
cmp byte [edx + 0x65d780], 0x5c
je 0x413040
cmp edx, ecx
jl 0x412fcb
xor eax, eax
test eax, eax
jne 0x413014
mov edi, 0x65d780
mov edx, 0x7e42bc
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x41300a
xor eax, eax
push eax
push 0x1a
push 0x65d9c0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
push eax
push 5
push 0x65dae0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0x108
pop ebx
pop esi
pop edi
ret
mov eax, 1
jmp 0x412ff2
add edx, 2
jmp 0x412fa2
add edx, 2
jmp 0x412f2d