joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4163b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00448210
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x4163ef
xor eax, eax
jmp 0x416460
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
jmp 0x416416
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x41645b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 0xc]
jne 0x416436
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
movsx eax, byte [edx + eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
jmp 0x4163fe
mov eax, 1
add esp, 0x10
cmp ebp, esp
call fcn.00449040
mov esp, ebp
pop ebp
ret 8

Function at 0x437b20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov esi, esp
push 0
push str.._Log
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.00449040
mov eax, dword [ebp + 0x10]
push eax
call fcn.0044a620
add esp, 4
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
mov esi, esp
push ecx
push str.AgentServer__d
push 0x4dd668
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00449040
call fcn.00437ca0
test eax, eax
jne 0x437b98
xor eax, eax
jmp 0x437c44
call fcn.00437e10
test eax, eax
jne 0x437ba8
xor eax, eax
jmp 0x437c44
push 0x50bc
call fcn.00446400
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x437bcb
mov ecx, dword [ebp - 0xc]
call fcn.00437fa0
mov dword [ebp - 0x18], eax
jmp 0x437bd2
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [0x4dd6bc], eax
movzx ecx, word [ebp - 4]
push ecx
mov ecx, dword [0x4dd6bc]
call fcn.00438410
mov ecx, dword [0x4dd6bc]
call fcn.00439160
mov edx, dword [0x4dd6bc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x437c2c
mov esi, esp
push 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx]
call eax
cmp esi, esp
call fcn.00449040
mov dword [ebp - 0x1c], eax
jmp 0x437c33
mov dword [ebp - 0x1c], 0
mov dword [0x4dd6bc], 0
call fcn.00437c60
xor eax, eax
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.00449040
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10001790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100230f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx - 0xb]
mov dword [ebp - 0x20c], eax
cmp ebx, eax
mov al, byte [ebp - 0x205]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x21c], edi
mov byte [ebp - 0x205], al
jbe 0x1000196d
mov ecx, dword [ebp - 0x20c]
add ebx, 0xffffff69
mov dword [ebp - 0x218], ebx
cmp ebx, 0x17
ja case.0x10001803.2
movzx eax, byte [ebx + 0x100019e0]
jmp dword [eax*4 + 0x100019b4]
push esi
mov dword [ebp + 0x18], eax
fdiv st(1)
mov dword [ebp + 0x1c], eax
lea esi, [ebp + 0x18]
jmp 0x10001952
mov byte [ebp - 0x205], 1
jmp case.0x10001803.2
mov eax, dword [esi]
test eax, eax
je 0x1000199e
push edx
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x20c]
test eax, eax
mov edx, dword [ebp - 0x210]
sete byte [ebp - 0x205]
jmp case.0x10001803.2
cmp al, 0xbf
or eax, 0x5ddd25b2
fcomp st(1)
retf 0xf3d8
call fcn.10002550
mov dword [ebp - 0x220], eax
test eax, eax
je 0x1000199e
push 0
push 0
push 0
push 0x66
push esi
push eax
push 0
call fcn.10001310
mov ecx, dword [ebp - 0x20c]
add esp, 0x1c
mov edx, dword [ebp - 0x210]
jmp case.0x10001803.2
push dword [ebp - 0x220]
call fcn.1000ab94
mov ecx, dword [ebp - 0x20c]
add esp, 4
mov edx, dword [ebp - 0x210]
jmp case.0x10001803.2
leave
adc ebp, ecx
sub dword [ebx - 0x75], edx
inc dword [ebx + 0x8b2cec]
fld qword [ebp + 8]
mov ecx, dword [eax + 0x2c]
fst qword [ebp - 0x28]
mov edx, dword [eax + 0x30]
fld qword [ebp + 0x10]
fld qword [ebp + 0x18]
mov dword [ebp - 8], ecx
mov ebx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x21c]
jmp 0x10001946
fild dword [ebp - 8]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
xor eax, eax
fxch st(4)
jmp case.0x10001803.2
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x24]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
dec ebx
mov dword [ebp - 0x218], ebx
lea eax, [ebx + 0x97]
cmp eax, ecx
ja 0x100017f3
push dword [sym.imp.ole32.dll_StgGetIFillLockBytesOnILockBytes]
lea eax, [ebp - 0x204]
push str.StgGetIFillLockBytesOnILockBytes__p_n
push eax
call fcn.1000aae0
add esp, 0xc
mov al, byte [ebp - 0x205]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab99
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ab99
mov esp, ebp
pop ebp
ret
Function at 0x1000181b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100230f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx - 0xb]
mov dword [ebp - 0x20c], eax
cmp ebx, eax
mov al, byte [ebp - 0x205]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x21c], edi
mov byte [ebp - 0x205], al
jbe 0x1000196d
mov ecx, dword [ebp - 0x20c]
add ebx, 0xffffff69
mov dword [ebp - 0x218], ebx
cmp ebx, 0x17
ja case.0x10001803.2
movzx eax, byte [ebx + 0x100019e0]
jmp dword [eax*4 + 0x100019b4]
push esi
mov dword [ebp + 0x18], eax
fdiv st(1)
mov dword [ebp + 0x1c], eax
lea esi, [ebp + 0x18]
jmp 0x10001952
mov byte [ebp - 0x205], 1
jmp case.0x10001803.2
mov eax, dword [esi]
test eax, eax
je 0x1000199e
push edx
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x20c]
test eax, eax
mov edx, dword [ebp - 0x210]
sete byte [ebp - 0x205]
jmp case.0x10001803.2
cmp al, 0xbf
or eax, 0x5ddd25b2
fcomp st(1)
retf 0xf3d8
call fcn.10002550
mov dword [ebp - 0x220], eax
test eax, eax
je 0x1000199e
push 0
push 0
push 0
push 0x66
push esi
push eax
push 0
call fcn.10001310
mov ecx, dword [ebp - 0x20c]
add esp, 0x1c
mov edx, dword [ebp - 0x210]
jmp case.0x10001803.2
push dword [ebp - 0x220]
call fcn.1000ab94
mov ecx, dword [ebp - 0x20c]
add esp, 4
mov edx, dword [ebp - 0x210]
jmp case.0x10001803.2
leave
adc ebp, ecx
sub dword [ebx - 0x75], edx
inc dword [ebx + 0x8b2cec]
fld qword [ebp + 8]
mov ecx, dword [eax + 0x2c]
fst qword [ebp - 0x28]
mov edx, dword [eax + 0x30]
fld qword [ebp + 0x10]
fld qword [ebp + 0x18]
mov dword [ebp - 8], ecx
mov ebx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x21c]
jmp 0x10001946
fild dword [ebp - 8]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
xor eax, eax
fxch st(4)
jmp case.0x10001803.2
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x24]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
dec ebx
mov dword [ebp - 0x218], ebx
lea eax, [ebx + 0x97]
cmp eax, ecx
ja 0x100017f3
push dword [sym.imp.ole32.dll_StgGetIFillLockBytesOnILockBytes]
lea eax, [ebp - 0x204]
push str.StgGetIFillLockBytesOnILockBytes__p_n
push eax
call fcn.1000aae0
add esp, 0xc
mov al, byte [ebp - 0x205]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab99
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ab99
mov esp, ebp
pop ebp
ret
Function at 0x10001894
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100230f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx - 0xb]
mov dword [ebp - 0x20c], eax
cmp ebx, eax
mov al, byte [ebp - 0x205]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x21c], edi
mov byte [ebp - 0x205], al
jbe 0x1000196d
mov ecx, dword [ebp - 0x20c]
add ebx, 0xffffff69
mov dword [ebp - 0x218], ebx
cmp ebx, 0x17
ja case.0x10001803.2
movzx eax, byte [ebx + 0x100019e0]
jmp dword [eax*4 + 0x100019b4]
push esi
mov dword [ebp + 0x18], eax
fdiv st(1)
mov dword [ebp + 0x1c], eax
lea esi, [ebp + 0x18]
jmp 0x10001952
mov byte [ebp - 0x205], 1
jmp case.0x10001803.2
mov eax, dword [esi]
test eax, eax
je 0x1000199e
push edx
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x20c]
test eax, eax
mov edx, dword [ebp - 0x210]
sete byte [ebp - 0x205]
jmp case.0x10001803.2
cmp al, 0xbf
or eax, 0x5ddd25b2
fcomp st(1)
retf 0xf3d8
call fcn.10002550
mov dword [ebp - 0x220], eax
test eax, eax
je 0x1000199e
push 0
push 0
push 0
push 0x66
push esi
push eax
push 0
call fcn.10001310
mov ecx, dword [ebp - 0x20c]
add esp, 0x1c
mov edx, dword [ebp - 0x210]
jmp case.0x10001803.2
push dword [ebp - 0x220]
call fcn.1000ab94
mov ecx, dword [ebp - 0x20c]
add esp, 4
mov edx, dword [ebp - 0x210]
jmp case.0x10001803.2
leave
adc ebp, ecx
sub dword [ebx - 0x75], edx
inc dword [ebx + 0x8b2cec]
fld qword [ebp + 8]
mov ecx, dword [eax + 0x2c]
fst qword [ebp - 0x28]
mov edx, dword [eax + 0x30]
fld qword [ebp + 0x10]
fld qword [ebp + 0x18]
mov dword [ebp - 8], ecx
mov ebx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x21c]
jmp 0x10001946
fild dword [ebp - 8]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
xor eax, eax
fxch st(4)
jmp case.0x10001803.2
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x24]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
dec ebx
mov dword [ebp - 0x218], ebx
lea eax, [ebx + 0x97]
cmp eax, ecx
ja 0x100017f3
push dword [sym.imp.ole32.dll_StgGetIFillLockBytesOnILockBytes]
lea eax, [ebp - 0x204]
push str.StgGetIFillLockBytesOnILockBytes__p_n
push eax
call fcn.1000aae0
add esp, 0xc
mov al, byte [ebp - 0x205]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab99
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ab99
mov esp, ebp
pop ebp
ret
Function at 0x100018cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100230f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx - 0xb]
mov dword [ebp - 0x20c], eax
cmp ebx, eax
mov al, byte [ebp - 0x205]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x21c], edi
mov byte [ebp - 0x205], al
jbe 0x1000196d
mov ecx, dword [ebp - 0x20c]
add ebx, 0xffffff69
mov dword [ebp - 0x218], ebx
cmp ebx, 0x17
ja case.0x10001803.2
movzx eax, byte [ebx + 0x100019e0]
jmp dword [eax*4 + 0x100019b4]
push esi
mov dword [ebp + 0x18], eax
fdiv st(1)
mov dword [ebp + 0x1c], eax
lea esi, [ebp + 0x18]
jmp 0x10001952
mov byte [ebp - 0x205], 1
jmp case.0x10001803.2
mov eax, dword [esi]
test eax, eax
je 0x1000199e
push edx
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x20c]
test eax, eax
mov edx, dword [ebp - 0x210]
sete byte [ebp - 0x205]
jmp case.0x10001803.2
cmp al, 0xbf
or eax, 0x5ddd25b2
fcomp st(1)
retf 0xf3d8
call fcn.10002550
mov dword [ebp - 0x220], eax
test eax, eax
je 0x1000199e
push 0
push 0
push 0
push 0x66
push esi
push eax
push 0
call fcn.10001310
mov ecx, dword [ebp - 0x20c]
add esp, 0x1c
mov edx, dword [ebp - 0x210]
jmp case.0x10001803.2
push dword [ebp - 0x220]
call fcn.1000ab94
mov ecx, dword [ebp - 0x20c]
add esp, 4
mov edx, dword [ebp - 0x210]
jmp case.0x10001803.2
leave
adc ebp, ecx
sub dword [ebx - 0x75], edx
inc dword [ebx + 0x8b2cec]
fld qword [ebp + 8]
mov ecx, dword [eax + 0x2c]
fst qword [ebp - 0x28]
mov edx, dword [eax + 0x30]
fld qword [ebp + 0x10]
fld qword [ebp + 0x18]
mov dword [ebp - 8], ecx
mov ebx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x21c]
jmp 0x10001946
fild dword [ebp - 8]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
xor eax, eax
fxch st(4)
jmp case.0x10001803.2
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x24]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
dec ebx
mov dword [ebp - 0x218], ebx
lea eax, [ebx + 0x97]
cmp eax, ecx
ja 0x100017f3
push dword [sym.imp.ole32.dll_StgGetIFillLockBytesOnILockBytes]
lea eax, [ebp - 0x204]
push str.StgGetIFillLockBytesOnILockBytes__p_n
push eax
call fcn.1000aae0
add esp, 0xc
mov al, byte [ebp - 0x205]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ab99
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ab99
mov esp, ebp
pop ebp
ret
Function at 0x1000a970
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10001dd0

Function at 0x1000a9c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10001c30
Function at 0x401037
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
mov eax, dword [0x80d378]
push ebx
mov dword [ebp - 0x30], eax
mov eax, dword [0x80d37c]
push esi
mov esi, dword [edx + 4]
xor ebx, ebx
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
call fcn.00401030
mov eax, dword [0x80d380]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x80d384]
add edi, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, dword [ebp - 0xc]
shl eax, 4
cmp dword [0x1e071a4], 0xc
mov dword [ebp - 4], eax
jne 0x4010c2
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x434]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [0x1e071a4]
cmp eax, 0xfa9
jne 0x4010de
mov dword [0x1e071a0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010f5
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [ebp + 8]
mov dword [0x1e070f4], ebx
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1e0719c], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x14]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
lea eax, [edi + esi]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add edi, 0x61c88647
dec dword [ebp - 0x20]
jne 0x40108b
mov eax, dword [ebp - 0xc]
pop edi
mov dword [edx + 4], esi
pop esi
mov dword [edx], eax
pop ebx
leave
ret 4
Function at 0x404c41
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80c6d0]
jne 0x404c4b
repz ret
jmp fcn.00408c8f

Function at 0x409eed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3c
and dword [ebp - 4], 0
cmp dword [0x81f9d8], 0
mov ebx, eax
jne 0x409f9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a04f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a04f
push eax
call fcn.00404cca
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x81f9d8], eax
call esi
push eax
call fcn.00404cca
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x81f9dc], eax
call esi
push eax
call fcn.00404cca
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81f9e0], eax
call esi
push eax
call fcn.00404cca
pop ecx
mov dword [0x81f9e8], eax
test eax, eax
je 0x409f9e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cca
pop ecx
mov dword [0x81f9e4], eax
mov eax, dword [0x81f9e4]
cmp eax, ebx
je 0x409ff6
cmp dword [0x81f9e8], ebx
je 0x409ff6
push eax
call fcn.00404d45
push dword [0x81f9e8]
mov esi, eax
call fcn.00404d45
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409ff6
test edi, edi
je 0x409ff6
call esi
test eax, eax
je 0x409fed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409fed
test byte [ebp - 0xc], 1
jne 0x409ff6
or dword [ebp + 0x10], 0x200000
jmp 0x40a02f
mov eax, dword [0x81f9dc]
cmp eax, ebx
je 0x40a02f
push eax
call fcn.00404d45
pop ecx
test eax, eax
je 0x40a02f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a02f
mov eax, dword [0x81f9e0]
cmp eax, ebx
je 0x40a02f
push eax
call fcn.00404d45
pop ecx
test eax, eax
je 0x40a02f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81f9d8]
call fcn.00404d45
pop ecx
test eax, eax
je 0x40a04f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a051
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x50006a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004f058e
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x5000a2
xor eax, eax
jmp 0x5000ce
cmp esi, dword [ebp - 4]
je 0x5000cb
cmp dword [ebp + 0xc], 0
je 0x5000cb
push dword [edi + 0x9c]
call fcn.004ffc78
push dword [edi + 0x9c]
mov esi, eax
call fcn.004f8e75
pop ecx
pop ecx
cmp esi, eax
je 0x50009e
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x402450
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x402475
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, 0x4030a8
sub ecx, 0x4030a4
sar ecx, 2
push ecx
push 0x4030a4
call fcn.00402560
add esp, 8
mov edx, 0x4030a0
sub edx, 0x40309c
sar edx, 2
push edx
push 0x40309c
call fcn.00402560
add esp, 8
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x4024cf
movzx ecx, word [ebp - 0x18]
mov dword [ebp - 0x54], ecx
jmp 0x4024d6
mov dword [ebp - 0x54], 0xa
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x50]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x40368c]
push ecx
mov edx, dword [0x403688]
push edx
call fcn.004025a0
add esp, 8
mov eax, dword [0x403688]
push eax
call fcn.00402420
add esp, 4
mov ecx, 0x4030b0
sub ecx, 0x4030ac
sar ecx, 2
push ecx
push 0x4030ac
call fcn.00402560
add esp, 8
mov edx, 0x4030b8
sub edx, 0x4030b4
sar edx, 2
push edx
push 0x4030b4
call fcn.00402560
add esp, 8
call fcn.004025d0
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402490
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff4
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x18], 0x44
call esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4024e5
mov eax, dword [eax]
jmp 0x4024e9
push 0xfffffffffffffff5
call esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4024f9
mov eax, dword [eax]
jmp 0x4024fd
push 0xfffffffffffffff6
call esi
mov esi, dword [esp + 0x60]
xorps xmm0, xmm0
or dword [esp + 0x40], 0x100
mov dword [esp + 0x4c], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push esi
push dword [esp + 0x80]
movups xmmword [esp + 0x2c], xmm0
push 0x425768
call fcn.004025c0
add esp, 0xc
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402560
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
pop esi
add esp, 0x54
ret
call fcn.00401000
push eax
push esi
push dword [esp + 0x64]
call fcn.004025a0
add esp, 8
push eax
push str.Could_not_create_child_process__s:__s_n
call fcn.004010a0
int3