joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466730
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x466763
push esi
call fcn.00474af0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46675c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4667e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4667d2
mov eax, dword [esi + 8]
test eax, eax
je 0x466787
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4667ce
cmp eax, 2
je 0x4667d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46677a
cmp eax, 3
je 0x4667ad
cmp eax, 1
jne 0x46677a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46677a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46677a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00466810
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4667f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00466810
add esp, 4
pop esi
ret

Function at 0x467090
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4670b1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4670b1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4670b1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x481940
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4819e3
test eax, eax
jbe 0x4819e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4819e3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x48198e
xor esi, esi
jmp 0x481994
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4819bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0041b680
add esi, eax
push esi
mov ebx, esi
call fcn.0041b680
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4819a0
pop ebp
test edi, edi
pop edi
jne 0x4819e3
test ebx, ebx
je 0x4819e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004a0020
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x481b05
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x481c1d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x481c1d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004c3d96
mov esi, eax
test esi, esi
je 0x481c1d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x481c1d
mov ecx, esi
call fcn.00481a90
cmp edi, eax
jge 0x481c1d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x481ba3
mov dword [esp + 0x34], 1
jmp 0x481bfe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x481c1d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00481090
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x48e6d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x48e71c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x48e71c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x48e706
push eax
call ebp
test ax, ax
jl 0x48e714
inc esi
add edi, 4
cmp esi, 6
jb 0x48e6f8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0048e3d0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x492480
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4924e0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4924e0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4924e0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4924e0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4924f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x493c70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x493cd6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x493cd6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x493cb7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x494060
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x494098
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x494d20
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x494d69
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4951e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d4ab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00494d90
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00494e10
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00494e10
lea ecx, [esi + 0xc]
call fcn.004c220a
lea ecx, [esi + 0x10]
call fcn.004c220a
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004963a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004963a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004963a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004c227f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004c227f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b8710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d6270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004ad608
mov eax, dword [0x5f78c8]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004ad53a
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004b9250
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4b87b7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b87ae
cmp al, 0xff
je 0x4b87ae
dec al
mov byte [ecx], al
jmp 0x4b87b7
push ecx
call fcn.004c1fe9
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4b87e8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b87df
cmp al, 0xff
je 0x4b87df
dec al
mov byte [ecx], al
jmp 0x4b87e8
push ecx
call fcn.004c1fe9
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4c4739
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c4771
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c2726
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c26fe
jmp 0x4c477d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c5e2e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c5e70
call fcn.004cc09f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c5e70
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c5e67
xor eax, eax
jmp 0x4c5e78
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c5e7e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4cc5cf
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4cc5fd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4cc61b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004cc535
jmp 0x4cc61b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4cc61b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004cc535
test edi, edi
mov eax, edi
jne 0x4cc605
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4013d0
Capabilities:
Accept command line arguments
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.VCRUNTIME140.dll_memset
xor al, al
mov dword [ebp - 0x210], 0
add esp, 0xc
mov byte [ebp - 0x211], al
mov byte [ebp - 0x212], al
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor ebx, ebx
mov edi, eax
mov dword [ebp - 0x218], edi
cmp dword [ebp - 0x210], ebx
jle 0x4015ab
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
nop dword [eax]
push 0x403238
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
jne 0x401472
push str._target
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x4014b6
inc ebx
cmp ebx, dword [ebp - 0x210]
jge 0x40160e
mov esi, dword [edi + ebx*4]
lea eax, [ebp - 0x20c]
push eax
mov ecx, 0x41
mov byte [ebp - 0x211], 1
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
push str.Target_process_name__ls_n
call fcn.00401050
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
mov edi, dword [ebp - 0x218]
push 0x403274
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
jne 0x4014d8
push str._module
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x401515
inc ebx
cmp ebx, dword [ebp - 0x210]
jge 0x40160e
mov esi, dword [edi + ebx*4]
push esi
push str.Library_module_name__ls_n
call fcn.00401050
mov ecx, 0x41
mov byte [0x4053f8], 1
mov edi, 0x4053fc
add esp, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov edi, dword [ebp - 0x218]
push 0x4032a8
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
jne 0x401537
push str._existing
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x40154b
push str.Loading_to_existing_process_n
call fcn.00401050
add esp, 4
mov byte [ebp - 0x212], 1
push str._hwid
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x401570
push str.Spoofing_HWID_n
call fcn.00401050
add esp, 4
mov byte [0x4053f9], 1
push str._regmon
push dword [edi + ebx*4]
call esi
add esp, 8
test eax, eax
je 0x401595
push str.Registry_Monitoring_n
call fcn.00401050
add esp, 4
mov byte [0x4053fa], 1
inc ebx
cmp ebx, dword [ebp - 0x210]
jl 0x401450
cmp byte [ebp - 0x211], 0
jne 0x4015e1
movups xmm0, xmmword [0x403328]
mov eax, dword [0x403340]
mov dword [ebp - 0x1f4], eax
mov ax, word [0x403344]
movups xmmword [ebp - 0x20c], xmm0
mov word [ebp - 0x1f0], ax
movq xmm0, qword [0x403338]
movq qword [ebp - 0x1fc], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dl, byte [ebp - 0x212]
lea ecx, [ebp - 0x20c]
call fcn.00401080
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401c22
mov esp, ebp
pop ebp
ret 0x10
push 0x40326c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x4015f9
Function at 0x401760
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4017a6
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401c22
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401804
push ebx
mov ebx, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x238]
call ebx
add esp, 8
test eax, eax
jne 0x4017f6
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x4017d0
jmp 0x401802
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop esi
call fcn.00401c22
mov esp, ebp
pop ebp
ret
Function at 0x401820
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x17c], edi
test esi, esi
je 0x4019be
test edi, edi
je 0x4019be
push 0x40
lea eax, [ebp - 0x174]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x174]
add esp, 0xc
push 0
push 0x40
push eax
push edi
push esi
call ebx
test eax, eax
je 0x4019be
mov eax, 0x5a4d
cmp word [ebp - 0x174], ax
jne 0x4019be
push 0xf8
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x12c]
push 0
push 0xf8
push eax
mov eax, dword [ebp - 0x138]
add eax, edi
push eax
push esi
call ebx
test eax, eax
je 0x4019be
cmp dword [ebp - 0x12c], 0x4550
jne 0x4019be
mov eax, dword [ebp - 0xb4]
xorps xmm0, xmm0
movq qword [ebp - 0x14], xmm0
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
test eax, eax
je 0x4019be
push 0
push 0x28
lea ecx, [ebp - 0x34]
add eax, edi
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x4019be
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, edi
push 7
mov dword [ebp - 0x180], eax
call fcn.00401c73
xor edi, edi
mov dword [ebp - 0x178], eax
add esp, 4
cmp dword [ebp - 0x1c], edi
jbe 0x4019b5
mov eax, dword [ebp - 0xc]
push 0
push 4
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x4019be
mov eax, dword [ebp - 0x130]
add eax, dword [ebp - 0x17c]
push 0
push 7
push dword [ebp - 0x178]
push eax
push esi
call ebx
test eax, eax
je 0x4019be
push dword [ebp - 0x178]
push 0x403230
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4019d1
mov eax, dword [ebp - 0xc]
inc edi
add eax, 4
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0x1c]
jb 0x401950
mov eax, dword [ebp - 0x178]
push eax
call fcn.00401c30
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00401c22
mov esp, ebp
pop ebp
ret
push 0
push 2
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x180]
lea eax, [eax + edi*2]
push eax
push esi
call ebx
test eax, eax
je 0x4019be
mov ecx, dword [ebp - 0x184]
lea eax, [ebp - 0xc]
push 0
push 4
push eax
movzx eax, word [ebp - 0x134]
mov dword [ebp - 0xc], 0
lea eax, [ecx + eax*4]
push eax
push esi
call ebx
test eax, eax
je 0x4019be
push dword [ebp - 0x178]
call fcn.00401c30
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, dword [ebp - 0xc]
xor ecx, ebp
add eax, dword [ebp - 0x17c]
pop edi
pop esi
pop ebx
call fcn.00401c22
mov esp, ebp
pop ebp
ret
Function at 0x402515
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402554
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402554
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402554
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402554
cmp dword [ecx + 0x74], 0xe
jbe 0x402554
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405968
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 0x4059ce
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.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40a900
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 0x40a939
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40a942
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40aff4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ae6c
mov eax, dword [0x452068]
cmp byte [eax], 0
je 0x40b070
mov eax, dword [0x451e8c]
call fcn.00402980
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.00408138
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 0x40b0b8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b0a6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00404e7c
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