joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eaf4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b6be0]
cmp dword [eax + 0x30], 0
je 0x45eb9e
cmp dword [ebx + 0x94], 0
jne 0x45eb98
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ea84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45eb98
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45eb5e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45eb98
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b284
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45eb6d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f700
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45f735
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404748
jmp 0x45f742
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046ac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46084c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46088d
mov eax, esi
call fcn.00446d18
test al, al
je 0x46088d
mov eax, dword [ebx + 0x84]
call fcn.00446a14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46088d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446a14
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x464428
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004254ec
cmp ebx, dword [ebp - 8]
jge 0x46448b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004258f0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004258f0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042591c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x464451
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x464494
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004254ec
cmp ebx, dword [ebp - 8]
jge 0x4644f7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004258f0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004258f0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042591c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4644bd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4809a8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4809d6
mov eax, ebx
call fcn.0048145c
cmp dword [ebx + 0x40], 0
je 0x4809cf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x480a47
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x480a39
cmp dword [ebx + 8], 0
je 0x4809f8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x480a0a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x480a39
cmp dword [ebx + 8], 0
je 0x4809eb
cmp eax, 3
je 0x480a1d
dec eax
jne 0x4809eb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4809eb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4809eb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x480a65
cmp dword [ebx + 0x14], 0xcc
je 0x480a65
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00480a70
pop ebx
ret

Function at 0x4968a8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4969f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x4968f4
cmp dword [ebp - 0x8c], 1
je 0x4968f8
xor ebx, ebx
jmp 0x4968fa
mov bl, 1
mov dl, 1
mov eax, dword [0x434f9c]
call fcn.0043509c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4969d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00435178
test bl, bl
je 0x496937
mov edx, 0x496a10
mov eax, dword [ebp - 4]
call fcn.00435300
jmp 0x496944
mov edx, 0x496a44
mov eax, dword [ebp - 4]
call fcn.00435300
lea ecx, [ebp - 0x1a0]
mov edx, 0x496a7c
mov eax, dword [ebp - 4]
call fcn.0043568c
mov edx, dword [ebp - 0x1a0]
lea eax, [esi + 0x1c]
call fcn.004046ac
lea ecx, [ebp - 0x1a4]
mov edx, 0x496a94
mov eax, dword [ebp - 4]
call fcn.0043568c
mov edx, dword [ebp - 0x1a4]
lea eax, [esi + 0x20]
call fcn.004046ac
mov eax, dword [ebp - 4]
call fcn.00435148
cmp dword [esi + 0x1c], 0
jne 0x4969be
mov dword [ebp - 8], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x19c]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [esi + 0x1c]
lea edx, [ebp - 0x19c]
mov ecx, pe_nt_image_headers32
call fcn.004048c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4969db
mov eax, dword [ebp - 4]
call fcn.00403908
ret
Function at 0x49dc30
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49ddb2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.0049d910
mov eax, ebx
call fcn.00424b84
dec al
je 0x49dc74
dec al
je 0x49dc7a
jmp 0x49dc80
mov byte [ebp - 0x77], 2
jmp 0x49dc84
mov byte [ebp - 0x77], 1
jmp 0x49dc84
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.00424b10
shl eax, 2
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov eax, ebx
call fcn.00424b4c
test al, 1
je 0x49dcd0
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.00424b4c
test al, 2
je 0x49dce2
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.00424b4c
test al, 4
je 0x49dcf4
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.00424b4c
test al, 8
je 0x49dd06
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.00424a9c
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.004095f4
mov edi, dword [ebx + 0x18]
cmp edi, 0xff000008
je 0x49dd39
cmp edi, 0x20000000
jne 0x49dd45
mov dword [ebp - 0x88], 0x40000000
jmp 0x49dd4f
mov eax, edi
call fcn.004243cc
mov dword [ebp - 0x7c], eax
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.00424bb4
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.004248a0
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x49dd8c
or dword [ebp - 0x8c], 0x400000
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.0049d97c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ddb9
lea eax, [ebp - 0x94]
call fcn.00404658
ret
Function at 0x4a5eac
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x4a5eb6
mov eax, dword [esp + 0x4000]
add esp, 0xffffffbc
mov edi, ecx
mov ebp, edx
mov esi, eax
xor ebx, ebx
mov eax, esp
mov edx, esi
call fcn.004095d0
lea eax, [esp + 0x2001]
mov edx, esi
call fcn.004095d0
mov dword [esp + 0x4004], 0x44
xor eax, eax
mov dword [esp + 0x4008], eax
xor eax, eax
mov dword [esp + 0x400c], eax
mov eax, esp
mov dword [esp + 0x4010], eax
xor eax, eax
mov dword [esp + 0x402c], eax
mov word [esp + 0x4036], 0
xor eax, eax
mov dword [esp + 0x4038], eax
mov dword [esp + 0x4030], 1
mov word [esp + 0x4034], 5
xor eax, eax
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], eax
push edi
lea eax, [esp + 0x4008]
push eax
mov eax, ebp
call fcn.00404b18
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x4a5f8e
mov bl, 1
jmp 0x4a5f8e
mov eax, dword [0x4b5a6c]
mov eax, dword [eax]
call fcn.0045fa40
mov eax, edi
call fcn.004a5fa8
test al, al
jne 0x4a5f82
mov eax, ebx
add esp, 0x4048
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b0178
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b08
mov eax, dword [ebp - 8]
call fcn.00404b08
xor eax, eax
push ebp
push 0x4b02a1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
mov eax, dword [ebp - 4]
call fcn.00404b18
push eax
mov eax, dword [0x4b6668]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x4b027e
push ebx
mov eax, dword [0x4b6668]
push eax
call sub.KERNEL32.DLL_LoadResource
mov esi, eax
test esi, esi
je 0x4b027e
push ebx
mov eax, dword [0x4b6668]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov edi, eax
push esi
call sub.KERNEL32.DLL_LockResource
mov ebx, eax
xor eax, eax
push ebp
push 0x4b0274
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
push dword [ebp - 8]
push 0x4b02b8
push dword [ebp - 4]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004049d8
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x419504]
call fcn.0041db70
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b0263
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov ecx, edi
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b026a
mov eax, dword [ebp - 0xc]
call fcn.00403908
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b02a8
lea eax, [ebp - 0x10]
call fcn.00404658
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040467c
ret

Function at 0x4b0814
Capabilities:
Terminate process

Disassembly:
push ebx
xor ebx, ebx
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
push ebx
push eax
call sub.KERNEL32.DLL_TerminateProcess
pop ebx
ret
Function at 0x406490
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 0x4064f6
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.00404508
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f10
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064e0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064fd
lea eax, [ebp - 0x10]
call fcn.00404298
ret

Function at 0x408fc8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404758
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408fe1
test al, 0x10
jne 0x408fe5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bef0
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 0x40bf29
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404388
jmp 0x40bf32
mov eax, ebx
mov edx, esi
call fcn.004042ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c5f4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c45c
mov eax, dword [0x45d0e4]
cmp byte [eax], 0
je 0x40c670
mov eax, dword [0x45cee8]
call fcn.00402d7c
call fcn.00402bdc
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.00409168
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 0x40c6b8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c6a6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45ce90]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45e668]
call fcn.004058fc
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 0x40cf5c
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 0x40d032
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404330
lea eax, [ebp - 8]
call fcn.004047a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404758
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d01c
mov eax, ebx
call fcn.00402a50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d015
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.00404758
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cfff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d044
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cfff
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 0x40d01c
mov eax, dword [ebp - 0x10]
call fcn.00402a80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d039
lea eax, [ebp - 8]
call fcn.00404298
ret

Function at 0x40d50c
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 0x40d570
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.00404508
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ca0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d577
lea eax, [ebp - 0xc]
call fcn.00404298
ret

Function at 0x415dec
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x415e46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x45ce5c]
cmp byte [eax], 0
je 0x415e16
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x415e30
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004044c0
mov eax, dword [ebp - 4]
call fcn.00404758
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415e4d
lea eax, [ebp - 4]
call fcn.00404298
ret
Function at 0x420168
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45e8c8
cmp dword [edi], 0
jne 0x4201e4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45e8c4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45c42c
mov ecx, 2
call fcn.00402ca8
mov edx, 0x420140
lea eax, [esi + 5]
call fcn.00420160
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420160
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 0x4201b9
mov dword [0x45e8c4], 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 0x4213f8
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 0x4213fe
ret

Function at 0x423870
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 0x4238c1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4238a8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423898
jmp 0x4238c1
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 0x4238a9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451090
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45ebd8]
cmp dword [eax + 0x30], 0
je 0x45113a
cmp dword [ebx + 0x94], 0
jne 0x451134
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451020
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451134
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4510fa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451134
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004196fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451109
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451c98
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x451ccd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404388
jmp 0x451cda
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452d10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452d51
mov eax, esi
call fcn.00439120
test al, al
je 0x452d51
mov eax, dword [ebx + 0x84]
call fcn.00438ec0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452d51
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438ec0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x456384
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x45d1e8]
cmp dword [eax], 2
je 0x4563a2
mov ecx, 0x35f
mov edx, 0x4563d4
mov eax, 0x456408
call fcn.00404270
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x456324
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x45ec2c], eax
cmp dword [0x45ec2c], 0
jne 0x4563c9
call fcn.0040daf0
ret

Function at 0x45663c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x45ce5c]
cmp byte [eax], 0
jne 0x45666a
mov ecx, 0xaf
mov edx, 0x4566b8
mov eax, 0x4566ec
call fcn.00404270
mov eax, ebx
call fcn.00404978
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4566a9
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404b0c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456700
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x45ce5c]
cmp byte [eax], 0
jne 0x456723
mov ecx, 0xbd
mov edx, 0x456764
mov eax, 0x456798
call fcn.00404270
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x456756
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x456756
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x456756
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x459018
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 0x45907c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
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.00404508
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ca0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459083
lea eax, [ebp - 0xc]
call fcn.00404298
ret

Function at 0x4590b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x45910c
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4590db
call fcn.0040daf0
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402ca8
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x45910c
call fcn.0040daf0
add esp, 0x14
pop edi
pop esi
pop ebx
ret