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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e34e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x48e30a
mov eax, dword [ebp - 4]
call fcn.0048fb10
cmp ebx, eax
jge 0x48e30a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.0048490c
mov edx, dword [0x4862c8]
call fcn.004046e0
mov esi, eax
mov eax, esi
call fcn.0048718c
test al, al
je 0x48e300
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x48e2f4
xor eax, eax
push ebp
push 0x48e2ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048e720
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041c454
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00405b30
mov eax, dword [ebp - 8]
call fcn.00405900
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048e4e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e338
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x48e2ec
mov eax, dword [ebp - 4]
call fcn.0048e7a4
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040ae1c
jmp 0x48e338
mov eax, dword [ebp - 8]
call fcn.00405410
jmp 0x48e338
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.0040a208
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x417638]
call fcn.0040dde0
call fcn.00404da4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e355
lea eax, [ebp - 0x54]
call fcn.00405410
ret
Function at 0x4981cc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405890
xor eax, eax
push ebp
push 0x49830d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4982dd
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004058a0
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a42c
test al, al
jne 0x49824d
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403880
lea eax, [ebp - 0x1d0]
call fcn.0040361c
call fcn.004030b8
push dword [0x5a3e9c]
push 0x498324
push dword [0x5a3ea0]
push 0x498324
push dword [0x5a3ea4]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.004057a4
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.0049c224
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405bc0
call fcn.00403f78
call fcn.004030b8
lea eax, [ebp - 0x1d0]
call fcn.00403948
call fcn.004030b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4982e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498314
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405434
lea eax, [ebp - 4]
call fcn.00405410
ret
Function at 0x4997d4
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.00405890
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x49993c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00499044
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.00499064
mov ebx, eax
jmp 0x49990e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405680
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a9c0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004096e8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004096e8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405838
je 0x4998ee
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405680
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004096e8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004096e8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405838
jne 0x499903
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.00499084
mov ebx, eax
test ebx, ebx
jne 0x49984f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499943
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00405434
lea eax, [ebp - 4]
call fcn.00405410
ret
Function at 0x499ceb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x499d45
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x499d40
mov eax, dword [edi + 0x20]
lea edx, [ebx + eax]
mov eax, dword [edx + esi*4]
add eax, ebx
push dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x499d3f
mov edx, dword [edi + 0x24]
lea ecx, [ebx + edx]
mov ax, word [ecx + esi*2]
movzx edx, ax
mov ecx, dword [edi + 0x1c]
lea eax, [ebx + ecx]
mov eax, dword [eax + edx*4]
add eax, ebx
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [edi + 0x18]
jb 0x499d0c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x49ae28
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405890
xor eax, eax
push ebp
push 0x49af02
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x49af18
mov edx, dword [ebp - 4]
call fcn.00405728
mov eax, dword [ebp - 8]
call fcn.004058a0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x49ae72.0
jmp dword [eax*4 + 0x49ae79]
mov eax, ebx
mov edx, 0x49af24
call fcn.00405464
jmp 0x49aee7
mov eax, ebx
mov edx, 0x49af38
call fcn.00405464
jmp 0x49aee7
mov eax, ebx
mov edx, 0x49af48
call fcn.00405464
jmp 0x49aee7
mov eax, ebx
mov edx, 0x49af5c
call fcn.00405464
jmp 0x49aee7
mov eax, ebx
mov edx, 0x49af6c
call fcn.00405464
jmp 0x49aee7
mov eax, ebx
mov edx, 0x49af80
call fcn.00405464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49af09
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405434
ret
Function at 0x49cfe8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405890
mov eax, dword [ebp - 8]
call fcn.00405890
xor eax, eax
push ebp
push 0x49d1b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x49d17a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x418010]
call fcn.0041c908
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49d080
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040a42c
test al, al
je 0x49d076
mov eax, dword [ebp - 8]
call fcn.004058a0
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00405608
mov eax, dword [ebp - 0x1c]
call fcn.004058a0
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d08a
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.004058a0
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x418010]
call fcn.0041c908
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x49d169
push dword fs:[eax]
mov dword fs:[eax], esp
mov cx, 2
mov edx, 0xfffffffc
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041c680
mov edx, dword [ebp - 0x14]
add edx, 8
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041c680
mov edx, dword [ebp - 0x14]
add edx, 8
add edx, dword [ebp - 0x18]
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0041c6f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d170
mov eax, dword [ebp - 0x10]
call fcn.00404530
mov eax, dword [ebp - 0xc]
call fcn.00404530
ret
Function at 0x40ffd9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40ffe8
pop dword [ebp - 0x4c]
mov eax, 0x430a6510
sub eax, 0x42c96528
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3ca34
push 0
mov eax, 0x609aa8a0
sub eax, 0x60585688
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x941bfac0
add ecx, 0x6be44872
xor edi, edi
add edi, eax
mov ebx, 0x8a1239b2
sub ebx, 0x89cee5b2
add ebx, dword [ebp - 0x4c]
mov edx, 0xd16b4893
add edx, 0xe5cb2090
add dword [ebp - 0x44], eax
mov esi, dword [ebx]
mov dword [ebp - 0x3c], 0x5d71300c
sub esi, edx
mov dword [ebp - 0x14], 0x3194ace9
mov dword [edi], esi
xor dword [ebp - 0x34], edx
add edi, 4
add ebx, 0xe9092ed8
add ebx, 0x16f6d12c
loop 0x410049
add eax, 0xff9b
xor ebx, ebx
add ebx, eax
add eax, 0x4e21b45c
add eax, 0xb1de4ba9
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4029e4
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.00403f98
test esi, esi
jne 0x402a1a
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.00404088
jmp 0x402a38
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004028f8
mov edi, eax
test esi, esi
je 0x402a38
cmp dword [ebx], 0
je 0x402a38
dec esi
jmp 0x402a21
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030c0
Capabilities:
Query or enumerate registry value

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

Function at 0x403e1c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x469048], 0
je 0x403e7d
cmp word [0x46921c], 0xd7b2
jne 0x403e45
cmp dword [0x469224], 0
jbe 0x403e45
mov eax, 0x469218
call dword [0x469234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46706c
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 0x403ea4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x467030], 0
jne 0x403e99
push 0
push 0x467064
push 0x46706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405b20
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 0x405b86
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.00404208
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c84
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b70
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b8d
lea eax, [ebp - 0x10]
call fcn.00403f98
ret

Function at 0x40abd8
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 0x40ac11
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404088
jmp 0x40ac1a
mov eax, ebx
mov edx, esi
call fcn.00403fec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b2cc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b144
mov eax, dword [0x46896c]
cmp byte [eax], 0
je 0x40b348
mov eax, dword [0x468780]
call fcn.00402af0
call fcn.00402824
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.0040844c
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 0x40b390
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b37e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x468730]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x469664]
call fcn.00405034
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 0x40bbe4
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 0x40bcba
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404030
lea eax, [ebp - 8]
call fcn.004044a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404458
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bca4
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bc9d
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.00404458
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bc87
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bccc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bc87
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 0x40bca4
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcc1
lea eax, [ebp - 8]
call fcn.00403f98
ret

Function at 0x40c1c4
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 0x40c228
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.00404208
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407f60
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c22f
lea eax, [ebp - 0xc]
call fcn.00403f98
ret

Function at 0x41a31c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x469884
cmp dword [edi], 0
jne 0x41a398
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x469880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4673ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a2f4
lea eax, [esi + 5]
call fcn.0041a314
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a314
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 0x41a36d
mov dword [0x469880], 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 0x41b91c
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 0x41b922
ret
Function at 0x41ddb8
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 0x41de09
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ddf0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dde0
jmp 0x41de09
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 0x41ddf1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c138
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 0x42c084
call sub.user32.dll_EnumWindows
ret

Function at 0x42c258
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 0x42c2d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042bcb8
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 0x42c27d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042b8b8
cmp dword [ebp - 4], 0
je 0x42c2bf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404458
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 0x42c2dc
lea eax, [ebp - 4]
call fcn.00403f98
ret

Function at 0x42f420
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 [0x469b54], 0
je 0x42f56f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46890c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42f56f
mov eax, dword [0x469b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x469b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f53e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x469b54]
call fcn.004138d4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f536
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f536
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f536
mov eax, dword [ebp - 0x14]
call fcn.00438030
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f536
push ebp
call fcn.0042f3dc
pop ecx
test al, al
jne 0x42f536
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f4f2
mov eax, dword [ebp - 0x14]
call fcn.00436b60
dec eax
jle 0x42f536
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.00403444
cmp byte [ebp - 1], 0
je 0x42f536
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f536
mov edx, dword [ebp - 0x14]
mov eax, dword [0x469b58]
call fcn.0042eba8
inc edi
dec ebx
jne 0x42f485
mov eax, dword [0x469b58]
cmp dword [eax + 8], 0
jle 0x42f556
mov eax, dword [0x469b58]
call fcn.0042ec38
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f56f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f244
pop ecx
test al, al
jne 0x42f56f
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