joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b418
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49b4ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x454]
mov edx, dword [eax]
call dword [edx + 0xd4]
test al, al
je 0x49b46b
lea eax, [ebp - 8]
mov ecx, 0x49b4c4
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x410]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x49b492
lea eax, [ebp - 4]
mov ecx, 0x49b4c4
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov eax, dword [ebp - 4]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b4b4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
ret

Function at 0x49b504
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49b5b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x420]
mov edx, dword [eax]
call dword [edx + 0xd4]
test al, al
je 0x49b557
lea eax, [ebp - 8]
mov ecx, 0x49b5c8
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x410]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x49b57e
lea eax, [ebp - 4]
mov ecx, 0x49b5c8
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov eax, dword [ebp - 4]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebx + 0x420]
mov edx, dword [eax]
call dword [edx + 0xd4]
mov edx, eax
mov eax, dword [ebx + 0x3cc]
call fcn.00440340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b5bb
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
ret

Function at 0x49b608
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49b69d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x474]
mov edx, dword [eax]
call dword [edx + 0xd4]
test al, al
je 0x49b65b
lea eax, [ebp - 8]
mov ecx, 0x49b6b4
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x410]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x49b682
lea eax, [ebp - 4]
mov ecx, 0x49b6b4
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov eax, dword [ebp - 4]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b6a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
ret
Function at 0x49b6f8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49b78d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x468]
mov edx, dword [eax]
call dword [edx + 0xd4]
test al, al
je 0x49b74b
lea eax, [ebp - 8]
mov ecx, 0x49b7a4
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x410]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x49b772
lea eax, [ebp - 4]
mov ecx, 0x49b7a4
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov eax, dword [ebp - 4]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b794
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
ret

Function at 0x49b7e4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49b879
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x47c]
mov edx, dword [eax]
call dword [edx + 0xd4]
test al, al
je 0x49b837
lea eax, [ebp - 8]
mov ecx, 0x49b890
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x410]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x49b85e
lea eax, [ebp - 4]
mov ecx, 0x49b890
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov eax, dword [ebp - 4]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b880
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
ret

Function at 0x49b8d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49b965
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x464]
mov edx, dword [eax]
call dword [edx + 0xd4]
test al, al
je 0x49b923
lea eax, [ebp - 8]
mov ecx, 0x49b97c
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x410]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x49b94a
lea eax, [ebp - 4]
mov ecx, 0x49b97c
mov edx, dword [ebx + 0x541]
call fcn.00404ae8
mov eax, dword [ebp - 4]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b96c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
ret
Function at 0x49bc34
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c8c
xor eax, eax
push ebp
push 0x49bdb5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.004638f0
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00463910
mov ebx, eax
jmp 0x49bd81
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404a30
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409360
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408628
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408628
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404be8
je 0x49bd58
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404a30
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408628
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408628
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404be8
jne 0x49bd72
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00463930
mov ebx, eax
test ebx, ebx
jne 0x49bcb3
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bdbc
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004047e4
lea eax, [ebp - 4]
call fcn.004047c0
ret
Function at 0x402a5c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403fe8
test esi, esi
jne 0x402a92
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004040d8
jmp 0x402ab0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402970
mov edi, eax
test esi, esi
je 0x402ab0
cmp dword [ebx], 0
je 0x402ab0
dec esi
jmp 0x402a99
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x462020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403198
xor eax, eax
push ebp
push 0x403191
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 0x4031d4
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 0x403198
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x462020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x462020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46a04c], 0
je 0x403ecd
cmp word [0x46a220], 0xd7b2
jne 0x403e95
cmp dword [0x46a228], 0
jbe 0x403e95
mov eax, 0x46a21c
call dword [0x46a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46206c
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 0x403ef4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x462030], 0
jne 0x403ee9
push 0
push 0x462064
push 0x46206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4054cc
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4056fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40554f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4056fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40554f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405718
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4055d8
xor eax, eax
push ebp
push 0x4055d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405314
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4055b6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405738
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4055b6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4055d8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4056f2
cmp byte [ebp - 0xd], 0
jne 0x40561f
cmp byte [ebp - 0x12], 0
je 0x4056f2
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405638
dec ebx
cmp byte [ebx], 0x2e
je 0x405647
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405637
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4056f2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405684
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4056f2
cmp byte [ebp - 0xd], 0
je 0x4056f2
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4056f2
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405de0
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 0x405e46
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.00404258
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ce4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e30
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e4d
lea eax, [ebp - 0x10]
call fcn.00403fe8
ret

Function at 0x40ade8
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 0x40ae21
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040d8
jmp 0x40ae2a
mov eax, ebx
mov edx, esi
call fcn.0040403c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b4dc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b354
mov eax, dword [0x469e38]
cmp byte [eax], 0
je 0x40b558
mov eax, dword [0x469ba8]
call fcn.00402b50
call fcn.0040289c
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.00408628
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 0x40b5a0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b58e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x469b3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46a668]
call fcn.004052d8
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 0x40be3c
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 0x40bf12
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404080
lea eax, [ebp - 8]
call fcn.004044f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044a8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40befc
mov eax, ebx
call fcn.00402734
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bef5
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.004044a8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bedf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bf24
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bedf
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 0x40befc
mov eax, dword [ebp - 0x10]
call fcn.00402754
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf19
lea eax, [ebp - 8]
call fcn.00403fe8
ret

Function at 0x40c404
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 0x40c468
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.00404258
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408198
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c46f
lea eax, [ebp - 0xc]
call fcn.00403fe8
ret

Function at 0x41d76c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46a888
cmp dword [edi], 0
jne 0x41d7e8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46a884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4623fc
mov ecx, 2
call fcn.00402930
mov edx, 0x41d744
lea eax, [esi + 5]
call fcn.0041d764
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d764
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 0x41d7bd
mov dword [0x46a884], 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 0x41ea1c
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 0x41ea22
ret
Function at 0x420ed8
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 0x420f29
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420f10
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420f00
jmp 0x420f29
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 0x420f11
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422428
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
je 0x422465
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
je 0x422a7d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x20], 0
je 0x422a7d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
jne 0x422488
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x422a7d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x422a7d
test ch, dh
invalid
add byte [eax], al
mov eax, dword [ebp - 4]

Function at 0x43031c
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 0x430268
call sub.user32.dll_EnumWindows
ret

Function at 0x43043c
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 0x4304b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042fe9c
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 0x430461
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042fa9c
cmp dword [ebp - 4], 0
je 0x4304a3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004044a8
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 0x4304c0
lea eax, [ebp - 4]
call fcn.00403fe8
ret
Function at 0x433370
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 [0x46ab58], 0
je 0x4334bf
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x469db4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4334bf
mov eax, dword [0x46ab5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46ab58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43348e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46ab58]
call fcn.00416d3c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x433486
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x433486
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x433486
mov eax, dword [ebp - 0x14]
call fcn.0043bffc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x433486
push ebp
call fcn.0043332c
pop ecx
test al, al
jne 0x433486
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x433442
mov eax, dword [ebp - 0x14]
call fcn.0043ab2c
dec eax
jle 0x433486
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.004034ac
cmp byte [ebp - 1], 0
je 0x433486
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x433486
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46ab5c]
call fcn.00432af8
inc edi
dec ebx
jne 0x4333d5
mov eax, dword [0x46ab5c]
cmp dword [eax + 8], 0
jle 0x4334a6
mov eax, dword [0x46ab5c]
call fcn.00432b88
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4334bf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433194
pop ecx
test al, al
jne 0x4334bf
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