joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461a18
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404994
xor eax, eax
push ebp
push 0x461b44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004044e4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004049a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x461b21
mov eax, ebx
call fcn.004026fc
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.004049a4
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x461b54
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.004086a4
push dword [ebp - 0x14]
push 0x461b60
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.004086a4
push dword [ebp - 0x18]
push 0x461b60
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.004086a4
push dword [ebp - 0x1c]
push 0x461b60
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.004086a4
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404864
mov eax, esi
call fcn.0040271c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461b4b
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404508
lea eax, [ebp - 4]
call fcn.004044e4
ret

Function at 0x461b64
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x461be7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403034
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x461c00
mov edx, ebx
call fcn.004047f0
mov eax, dword [ebp - 0x24]
call fcn.004049a4
mov dword [ebp - 0x16], eax
mov eax, 0x461c04
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x14
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461bee
lea eax, [ebp - 0x24]
call fcn.004044e4
ret
Function at 0x461c08
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404994
mov eax, dword [ebp - 8]
call fcn.00404994
xor eax, eax
push ebp
push 0x461cb9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], 1
lea eax, [ebp - 0x2c]
mov ecx, 0x461cd0
mov edx, dword [ebp - 4]
call fcn.004047f0
mov eax, dword [ebp - 0x2c]
call fcn.004049a4
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x30]
mov ecx, 0x461cd0
mov edx, dword [ebp - 8]
call fcn.004047f0
mov eax, dword [ebp - 0x30]
call fcn.004049a4
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x214
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461cc0
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404508
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404508
ret

Function at 0x461cd4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404994
mov eax, dword [ebp - 8]
call fcn.00404994
xor eax, eax
push ebp
push 0x461d8a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], 2
lea eax, [ebp - 0x2c]
mov ecx, 0x461da0
mov edx, dword [ebp - 4]
call fcn.004047f0
mov eax, dword [ebp - 0x2c]
call fcn.004049a4
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x30]
mov ecx, 0x461da0
mov edx, dword [ebp - 8]
call fcn.004047f0
mov eax, dword [ebp - 0x30]
call fcn.004049a4
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x10
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461d91
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404508
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404508
ret
Function at 0x461ec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404994
xor eax, eax
push ebp
push 0x461f88
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x209]
mov edx, dword [ebp - 4]
call fcn.00408f10
lea eax, [ebp - 0x250]
xor ecx, ecx
mov edx, 0x44
call fcn.00403034
mov dword [ebp - 0x250], 0x44
mov dword [ebp - 0x224], 1
mov word [ebp - 0x220], bx
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x209]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x461f51
or ebx, 0xffffffff
jmp 0x461f72
push 0xffffffffffffffff
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461f8f
lea eax, [ebp - 4]
call fcn.004044e4
ret
Function at 0x462524
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdbc
xor eax, eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x462771
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.00402a84
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00408b94
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 4]
mov ecx, 0x462784
call fcn.004047f0
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402e04
lea eax, [ebp - 0x1d0]
call fcn.00402ba0
call fcn.00402864
mov edx, 0x46279c
lea eax, [ebp - 0x1d0]
call fcn.00404bc0
call fcn.0040323c
call fcn.00402864
push 0x4627ac
lea edx, [ebp - 0x234]
xor eax, eax
call fcn.00402a84
push dword [ebp - 0x234]
push 0x4627cc
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.00404864
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x1d0]
call fcn.00404bc0
call fcn.0040323c
call fcn.00402864
push 0x4627d8
lea edx, [ebp - 0x23c]
xor eax, eax
call fcn.00402a84
push dword [ebp - 0x23c]
push 0x4627cc
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.00404864
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1d0]
call fcn.00404bc0
call fcn.0040323c
call fcn.00402864
push 0x4627e8
lea edx, [ebp - 0x244]
xor eax, eax
call fcn.00402a84
push dword [ebp - 0x244]
push 0x4627cc
push 0x4627fc
lea eax, [ebp - 0x240]
mov edx, 4
call fcn.00404864
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 0x1d0]
call fcn.00404bc0
call fcn.0040323c
call fcn.00402864
mov edx, 0x462810
lea eax, [ebp - 0x1d0]
call fcn.00404bc0
call fcn.0040323c
call fcn.00402864
lea eax, [ebp - 0x1d0]
call fcn.00402ecc
call fcn.00402864
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.00403034
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004049a4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x46274b
mov eax, dword [ebp - 0x1dc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462778
lea eax, [ebp - 0x244]
mov edx, 8
call fcn.00404508
lea eax, [ebp - 4]
call fcn.004044e4
ret
Function at 0x402ee8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404704
test esi, esi
jne 0x402f1f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004047f4
jmp 0x402f40
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d84
mov dword [esp], eax
test esi, esi
je 0x402f40
cmp dword [ebx], 0
je 0x402f40
dec esi
jmp 0x402f27
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b9020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403718
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036f8
xor eax, eax
push ebp
push 0x4036f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403734
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036f8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4b9020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b9020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4044fc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4bc04c], 0
je 0x40455d
cmp word [0x4bc220], 0xd7b2
jne 0x404525
cmp dword [0x4bc228], 0
jbe 0x404525
mov eax, 0x4bc21c
call dword [0x4bc238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b906c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404584
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b9030], 0
jne 0x404579
push 0
push 0x4b9064
push 0x4b906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4046b8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402b24
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4bc04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404680
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406920
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 0x406986
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.00404974
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403244
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406970
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40698d
lea eax, [ebp - 0x10]
call fcn.00404704
ret

Function at 0x40c610
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 0x40c649
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047f4
jmp 0x40c652
mov eax, ebx
mov edx, esi
call fcn.00404758
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40cd14
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cb7c
mov eax, dword [0x4bb32c]
cmp byte [eax], 0
je 0x40cd90
mov eax, dword [0x4bafc8]
call fcn.00403008
call fcn.00402cb0
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.004096f0
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 0x40cdd8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cdc6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4baf54]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4bc668]
call fcn.00405d70
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 0x40d6a0
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 0x40d776
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040479c
lea eax, [ebp - 8]
call fcn.00404c14
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404bc4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d760
mov eax, ebx
call fcn.00402b24
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d759
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.00404bc4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d743
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d788
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d743
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 0x40d760
mov eax, dword [ebp - 0x10]
call fcn.00402b54
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d77d
lea eax, [ebp - 8]
call fcn.00404704
ret

Function at 0x40dcdc
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 0x40dd40
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.00404974
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409158
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd47
lea eax, [ebp - 0xc]
call fcn.00404704
ret

Function at 0x40e538
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov eax, dword [0x4baffc]
cmp dword [eax], 0
je 0x40e56e
push 0xa
push 0x40e5c4
mov eax, dword [0x4baffc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x4baffc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_LoadResource
mov dword [esp], eax
jmp 0x40e5ba
xor eax, eax
mov dword [esp], eax
mov eax, dword [0x4bb3a4]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x40e5ba
mov ebx, dword [esp + 4]
push 0xa
push 0x40e5c4
mov esi, dword [ebx + 4]
push esi
call sub.kernel32.dll_FindResourceA
push eax
push esi
call sub.kernel32.dll_LoadResource
mov dword [esp], eax
cmp dword [esp], 0
jne 0x40e5ba
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x40e585
mov eax, dword [esp]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42362c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423484
dec esi
jne 0x42364e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4247a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x4bc88c
cmp dword [esi], 0
jne 0x42484e
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x4bc888]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4b95e4
mov ecx, 2
call fcn.00402d44
mov edx, 0x424780
mov eax, dword [ebp - 8]
add eax, 5
call fcn.004247a0
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.004247a0
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x424815
mov eax, dword [ebp - 8]
mov dword [0x4bc888], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425df4
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 0x425dfa
ret

Function at 0x428334
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 0x428385
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42836c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42835c
jmp 0x428385
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 0x42836d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4399dc
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 0x439928
call sub.user32.dll_EnumWindows
ret

Function at 0x439afc
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 0x439b79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043955c
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 0x439b21
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043915c
cmp dword [ebp - 4], 0
je 0x439b63
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404bc4
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 0x439b80
lea eax, [ebp - 4]
call fcn.00404704
ret

Function at 0x43cea8
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 [0x4bcaf8], 0
je 0x43cff7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4bb288]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43cff7
mov eax, dword [0x4bcafc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4bcaf8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43cfc6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4bcaf8]
call fcn.0041cc74
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43cfbe
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43cfbe
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43cfbe
mov eax, dword [ebp - 0x14]
call fcn.00445cbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43cfbe
push ebp
call fcn.0043ce64
pop ecx
test al, al
jne 0x43cfbe
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43cf7a
mov eax, dword [ebp - 0x14]
call fcn.004447ec
dec eax
jle 0x43cfbe
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.00403a1c
cmp byte [ebp - 1], 0
je 0x43cfbe
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43cfbe
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4bcafc]
call fcn.0043c630
inc edi
dec ebx
jne 0x43cf0d
mov eax, dword [0x4bcafc]
cmp dword [eax + 8], 0
jle 0x43cfde
mov eax, dword [0x4bcafc]
call fcn.0043c6c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43cff7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043cccc
pop ecx
test al, al
jne 0x43cff7
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