joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4882a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d00
xor eax, eax
push ebp
push 0x4882f3
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0048830c
mov ebx, eax
push 5
mov eax, dword [ebp - 4]
call fcn.00404d10
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4882fa
lea eax, [ebp - 4]
call fcn.00404834
ret
Function at 0x489b08
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x489b10
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x489d4b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x489d64
mov eax, dword [esi + 0x94]
push dword [eax + 8]
push 0x489d70
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd0
mov edx, dword [ebp - 0xc]
lea eax, [esi + 0x10]
call fcn.00405100
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x10]
call fcn.00404ad8
mov eax, dword [ebp - 0x10]
call fcn.004095c8
test al, al
jne 0x489c11
push 0x489d64
mov eax, dword [esi + 0x94]
push dword [eax + 0xc]
push 0x489d70
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404bd0
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x10]
call fcn.00405100
lea eax, [ebp - 0x18]
mov edx, dword [esi + 0x10]
call fcn.00404ad8
mov eax, dword [ebp - 0x18]
call fcn.004095c8
test al, al
jne 0x489bff
lea eax, [ebp - 0x20]
mov ecx, 0x489d80
mov edx, dword [esi + 0x10]
call fcn.004051f8
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00404ad8
mov eax, dword [ebp - 0x1c]
call fcn.004095b8
test al, al
jne 0x489c21
mov eax, 0x489da8
call fcn.0042f49c
mov al, 1
call fcn.0047d2a4
push 0
call sub.kernel32.dll_ExitProcess_1
mov eax, dword [0x4ed504]
mov eax, dword [eax]
call fcn.0045b2dc
jmp 0x489c21
mov eax, dword [esi + 0x94]
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00489e3c
jmp 0x489c21
mov eax, dword [esi + 0x94]
mov edx, dword [eax + 8]
mov eax, esi
call fcn.00489e3c
lea eax, [ebp - 0x24]
mov ecx, 0x489de0
mov edx, dword [esi + 8]
call fcn.004051f8
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.00404ad8
lea eax, [ebp - 0x28]
mov ecx, 0x489e00
mov edx, dword [esi + 0x10]
call fcn.004051f8
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404ad8
mov eax, dword [ebp - 8]
call fcn.004095b8
test al, al
jne 0x489cbd
lea eax, [ebp - 0x30]
mov ecx, 0x489d80
mov edx, dword [esi + 8]
call fcn.004051f8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00404ad8
mov eax, dword [ebp - 0x2c]
call fcn.004095b8
test al, al
jne 0x489ca2
mov eax, 0x489da8
call fcn.0042f49c
mov al, 1
call fcn.0047d2a4
push 0
call sub.kernel32.dll_ExitProcess_1
lea eax, [ebp - 0x34]
mov ecx, 0x489d80
mov edx, dword [esi + 8]
call fcn.004051f8
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.00404ad8
mov eax, dword [ebp - 4]
call fcn.004095b8
test al, al
je 0x489cd1
mov eax, dword [ebp - 4]
call fcn.004095ec
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00404d10
push eax
mov eax, dword [ebp - 8]
call fcn.00404d10
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 4]
call fcn.004095b8
test al, al
jne 0x489d0e
mov eax, 0x489e1c
call fcn.0042f49c
mov al, 1
call fcn.0047d2a4
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489d52
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00404f74
lea eax, [ebp - 0x2c]
call fcn.00404834
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404f74
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404858
ret
Function at 0x489e3c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404d00
xor eax, eax
push ebp
push 0x489ea6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x489ebc
push dword [ebp - 4]
push 0x489ed0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404bd0
push 0
mov eax, dword [ebp - 8]
call fcn.00404d10
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489ead
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404858
ret
Function at 0x489edc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48a0b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 8]
mov edx, 0x64
call fcn.0047d30c
test al, al
je 0x489f75
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x48a0cc
call fcn.00409eb0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x48a0ec
call fcn.00409eb0
mov bl, 1
jmp 0x489fe1
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 0xc]
mov edx, 0x64
call fcn.0047d30c
test al, al
je 0x489fe1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x48a0cc
call fcn.00409eb0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x48a0ec
call fcn.00409eb0
mov bl, 1
test bl, bl
je 0x48a07b
mov eax, dword [ebp - 0x10]
call fcn.004095b8
test al, al
je 0x48a039
lea eax, [ebp - 0x2c]
mov ecx, 0x48a108
mov edx, dword [esi + 8]
call fcn.004051f8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00404a2c
mov eax, dword [ebp - 8]
call fcn.004095ec
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00404d10
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404d10
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x48a07b
lea eax, [ebp - 0x30]
mov ecx, 0x48a108
mov edx, dword [esi + 8]
call fcn.004051f8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.00404a2c
mov eax, dword [ebp - 8]
call fcn.004095ec
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00404d10
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d10
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x48a08b
mov edx, 0x48a120
mov eax, esi
call fcn.0048c718
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a0ba
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404f74
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404858
ret
Function at 0x48ccc4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x48cd2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x48cd19
mov eax, dword [ebx + 0x90]
mov eax, dword [eax + 0x1c]
xor edx, edx
call fcn.004052a4
je 0x48cd19
push 5
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x90]
mov edx, dword [edx + 0x1c]
call fcn.00404ad8
mov eax, dword [ebp - 4]
call fcn.00404d10
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cd36
lea eax, [ebp - 4]
call fcn.00404834
ret
Function at 0x4027cc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x41c008], 0x8088405
inc edx
mov dword [ebx + 0x41c008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402c54
Capabilities:
Query or enumerate registry value

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

Function at 0x403598
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41d044], 0
je 0x4035f9
cmp word [0x41d218], 0xd7b2
jne 0x4035c1
cmp dword [0x41d220], 0
jbe 0x4035c1
mov eax, 0x41d214
call dword [0x41d230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41c060
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 0x403620
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41c024], 0
jne 0x403615
push 0
push 0x41c058
push 0x41c060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4045d0
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 0x404800
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404653
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404800
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404653
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40481c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4046dc
xor eax, eax
push ebp
push 0x4046d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404418
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 0x4046ba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40483c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4046ba
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 0x4046dc
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 0x4047f6
cmp byte [ebp - 0xd], 0
jne 0x404723
cmp byte [ebp - 0x12], 0
je 0x4047f6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40473c
dec ebx
cmp byte [ebx], 0x2e
je 0x40474b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40473b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4047f6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404788
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 0x4047f6
cmp byte [ebp - 0xd], 0
je 0x4047f6
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 0x4047f6
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 0x4046dc
Capabilities:
Get geographical location

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 0x404800
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404653
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404800
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404653
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40481c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4046dc
xor eax, eax
push ebp
push 0x4046d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404418
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 0x4046ba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40483c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4046ba
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 0x4046dc
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 0x4047f6
cmp byte [ebp - 0xd], 0
jne 0x404723
cmp byte [ebp - 0x12], 0
je 0x4047f6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40473c
dec ebx
cmp byte [ebx], 0x2e
je 0x40474b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40473b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4047f6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404788
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 0x4047f6
cmp byte [ebp - 0xd], 0
je 0x4047f6
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 0x4047f6
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 0x404998
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 0x4049fe
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.00403998
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004027e8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4049e8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404a05
lea eax, [ebp - 0x10]
call fcn.00403734
ret

Function at 0x405a80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov esi, edx
mov ebx, eax
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x405b7b
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x405ad4
push 0x105
lea eax, [ebp - 0x10d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x10d]
mov eax, esi
call fcn.00403824
jmp 0x405b62
call sub.kernel32.dll_GetCommandLineA_1
mov dword [edi], eax
mov eax, dword [edi]
call fcn.00405a08
mov dword [edi], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi]
call fcn.00405a30
mov dword [edi], eax
test ebx, ebx
je 0x405b02
dec ebx
test ebx, ebx
jl 0x405b02
mov eax, dword [edi]
cmp eax, dword [ebp - 8]
jne 0x405adb
push esi
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 8]
call fcn.0040392c
mov eax, dword [ebp - 0x114]
mov ecx, dword [edi]
sub ecx, dword [ebp - 8]
mov edx, 1
call fcn.00403c24
mov eax, dword [esi]
call fcn.004039c4
cmp eax, 2
jl 0x405b62
mov eax, dword [esi]
cmp byte [eax], 0x22
jne 0x405b62
mov eax, dword [esi]
call fcn.004039c4
mov edx, dword [esi]
cmp byte [edx + eax - 1], 0x22
jne 0x405b62
push esi
mov eax, dword [esi]
call fcn.004039c4
mov ecx, eax
sub ecx, 2
mov eax, dword [esi]
mov edx, 2
call fcn.00403c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b82
lea eax, [ebp - 0x114]
call fcn.00403734
ret

Function at 0x405c58
Capabilities:
Create thread

Disassembly:
push ebx
mov eax, dword [0x41c7fc]
mov byte [eax], 1
mov edx, dword [0x4050f0]
xor eax, eax
call fcn.00407a34
mov ebx, eax
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1e]
push eax
push 4
push ebx
push 0x405c48
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x1a], eax
mov eax, ebx
pop ebx
ret

Function at 0x405d20
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x405d3b
mov byte [ebx + 0x18], 1
pop ebx
ret
cmp word [ebx + 0x2c], 0
je 0x405d4a
mov edx, ebx
mov eax, dword [ebx + 0x2e]
call dword [ebx + 0x2a]
pop ebx
ret

Function at 0x405d4c
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x19], 1
pop ebx
ret
Function at 0x4083e4
Capabilities:
Get file attributes

Disassembly:
call fcn.00405374
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x4083f8
dec eax
and al, 0x10
sete al
ret

Function at 0x4094c0
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x37], 0xef
test dl, dl
je 0x4094cc
or byte [eax + 0x37], 0x10
mov byte [eax + 0x52], dl
mov ecx, dword [eax + 0x28]
jecxz 0x4094e8
push eax
je 0x4094e9
call dword [0x41c120]
pop eax
push 5
push dword [eax + 0x28]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x174], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x41c120]
ret

Function at 0x40a8b4
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, eax
call fcn.0040a748
je 0x40a8e6
mov eax, ebx
push edx
call fcn.004073e4
pop edx
cmp eax, edx
je 0x40a8e6
test edx, edx
mov eax, ebx
jne 0x40a8d8
pop ebx
inc edx
jmp fcn.004073d4
mov byte [ebx + 0x49], dl
xor edx, edx
call fcn.004073d4
xchg ebx, eax
cmp eax, 0
pop ebx
jne fcn.0040a904
ret
Function at 0x40c98c
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 0x40c9c5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403824
jmp 0x40c9ce
mov eax, ebx
mov edx, esi
call fcn.00403788
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d080
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cef8
mov eax, dword [0x41c96c]
cmp byte [eax], 0
je 0x40d0fc
mov eax, dword [0x41c83c]
call fcn.00402748
call fcn.00402624
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.0040be80
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 0x40d144
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d132
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41c804]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x41d660]
call fcn.004043dc
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 0x40daf0
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 0x40db54
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.00403998
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040bd54
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db5b
lea eax, [ebp - 0xc]
call fcn.00403734
ret