joyce8/EMBER2024-capa huggingface dataset:
Function at 0x139ee
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [0x20550]
and dword [ebp - 4], 0
push esi
mov esi, dword [0x2054c]
push edi
mov edi, dword [0x20554]
add eax, edi
add eax, dword [0x20548]
xor ecx, esi
xor edx, esi
add eax, esi
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [esi]
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov dword [ebp - 8], 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
add dword [ebp - 4], eax
dec dword [ebp - 8]
mov esi, edx
shl esi, 4
add esi, dword [ebp + 0xc]
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0xc]
xor esi, edi
mov edi, dword [ebp - 4]
add edi, edx
xor esi, edi
add ecx, esi
mov esi, ecx
shl esi, 4
add esi, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor esi, edi
mov edi, dword [ebp - 4]
add edi, ecx
xor esi, edi
add edx, esi
cmp dword [ebp - 8], 0
ja 0x13a44
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
leave
ret 8

Function at 0x13a9a
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov ecx, dword [0x20554]
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x20550]
add ecx, eax
mov eax, dword [ebp + 0xc]
add ecx, dword [0x2054c]
push edi
mov edi, dword [eax + 0xc]
add ecx, dword [0x20548]
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 8]
mov dword [ebp + 0xc], edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov edx, ecx
mov dword [ebp - 8], 0x20
shl edx, 5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp + 0xc]
dec dword [ebp - 8]
shr edi, 5
add edi, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp - 4]
add edi, edx
xor eax, edi
sub esi, eax
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x10]
mov edi, esi
shr edi, 5
add edi, dword [ebp - 0x14]
xor eax, edi
lea edi, [edx + esi]
xor eax, edi
sub dword [ebp - 4], eax
sub edx, ecx
cmp dword [ebp - 8], 0
ja 0x13aee
mov eax, dword [0x2054c]
xor eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [0x2054c]
xor eax, esi
pop edi
mov dword [ecx + 4], eax
pop esi
leave
ret 8

Function at 0x27d3e
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00027d05
pop ebp
jmp fcn.000125bc
Function at 0x404ea8
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ecx
push 0x401328
push 2
call fcn.0040cd89
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x408b81
Capabilities:
Execute command

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x40e2a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x41291c]
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408ba2
sub ecx, esi
mov esi, 0x100
cmp ecx, esi
jb 0x408bc1
push 0x2f
push 2
call fcn.0040b547
pop ecx
pop ecx
jmp 0x408c07
push esi
lea eax, [ebp - 0x104]
push eax
push 0x4033fc
push edx
call dword [sym.imp.msvcrt.dll_sscanf_s]
add esp, 0x10
cmp eax, 1
jne 0x408c07
lea eax, [ebp - 0x104]
push eax
push 0x403408
lea eax, [ebp - 0x204]
push esi
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_system]
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040c870
leave
ret
Function at 0x409229
Capabilities:
Terminate process

Disassembly:
push 0x2d
push 2
call fcn.0040b547
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x40a0b9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x40e2a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40355c
call dword [sym.imp.msvcrt.dll_getenv]
pop ecx
test eax, eax
je 0x40a16b
push esi
push edi
push eax
mov edi, 0x101
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_strcpy_s]
push 0x403564
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_strcat_s]
lea eax, [ebp - 0x108]
push 0x403574
push eax
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 0x20
test esi, esi
je 0x40a169
jmp 0x40a14b
lea eax, [ebp - 0x108]
push 0xa
push eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
test eax, eax
je 0x40a140
mov byte [eax], 0
lea ecx, [ebp - 0x108]
call fcn.0040982a
push esi
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x40a128
push esi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c870
leave
ret

Function at 0x40a65d
Capabilities:
Create udp socket

Disassembly:
push 0
push 2
push ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x40a670
xor eax, eax
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
inc eax
ret
Function at 0x40bbec
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, 0x400
push ebx
push esi
push edi
push eax
mov eax, dword fs:[0x30]
mov edi, edx
push 0
mov ebx, ecx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
jne 0x40bc22
mov eax, 0xc0000017
jmp 0x40bdb2
mov eax, 0x400
push eax
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0x4000000
mov eax, 0x400
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x40bc62
mov edi, 0xc0000017
jmp 0x40bd9e
mov ecx, edi
mov eax, 0x400
mov word [ebp - 0x1e], ax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bc70
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edi
push eax
lea eax, [ebp - 0x10]
sub ecx, edx
push eax
mov word [ebp - 0x20], cx
call dword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea eax, [ebp - 8]
push eax
mov eax, 0x400
push eax
push esi
push 1
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov edi, eax
test edi, edi
jns 0x40bcc2
push dword [ebp - 0xc]
mov ecx, dword fs:[0x30]
push 0
push dword [ecx + 0x18]
jmp 0x40bd98
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov dword [ecx], eax
cmp eax, 4
je 0x40bd7f
cmp eax, 3
je 0x40bd7f
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov word [ebp - 0x18], cx
cmp eax, 2
jne 0x40bcfb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, 0x400
mov word [ebp - 0x16], ax
jmp 0x40bd1b
push dword [ebp - 0xc]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, 0x3200
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x16], cx
mov ax, word [esi + 0xc]
mov word [ebp - 0x28], ax
mov ax, word [esi + 0xc]
mov word [ebp - 0x26], ax
mov eax, dword [esi + 8]
add eax, esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
mov eax, dword [ebp + 0xc]
cmp dword [eax], 2
jne 0x40bd9e
mov eax, 0x3200
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40bd6c
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x40bd7a
mov ecx, 0x3200
cmp eax, ecx
jb 0x40bd7a
mov edi, 0xc0000023
push dword [ebp - 0x14]
jmp 0x40bd8d
mov eax, dword [esi + 8]
push dword [ebp - 0xc]
mov ecx, dword [esi + eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword fs:[0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40c012
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], ecx
xor esi, esi
xor edi, edi
mov eax, ecx
cmp ebx, 2
jae 0x40c032
xor eax, eax
jmp 0x40c0e5
mov edx, dword [ebp + 8]
push 3
pop ecx
movzx eax, byte [eax]
dec ebx
shl esi, 8
add esi, eax
mov eax, dword [ebp - 4]
inc eax
inc edi
mov dword [ebp - 4], eax
cmp edi, ecx
jne 0x40c094
mov eax, esi
shr eax, 0x12
push 0x3f
pop edi
and eax, edi
mov al, byte [eax + 0x403e60]
mov byte [edx], al
mov eax, esi
shr eax, 0xc
and eax, edi
mov al, byte [eax + 0x403e60]
mov byte [edx + 1], al
mov eax, esi
shr eax, 6
and esi, edi
and eax, edi
mov al, byte [eax + 0x403e60]
mov byte [edx + 2], al
mov al, byte [esi + 0x403e60]
xor esi, esi
mov byte [edx + 3], al
add edx, 4
mov eax, dword [ebp - 4]
xor edi, edi
test ebx, ebx
jne 0x40c038
test edi, edi
je 0x40c0e3
sub ecx, edi
shl ecx, 3
shl esi, cl
mov eax, esi
shr eax, 0x12
and eax, 0x3f
mov al, byte [eax + 0x403e60]
mov byte [edx], al
mov eax, esi
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + 0x403e60]
mov byte [edx + 1], al
cmp edi, 2
jne 0x40c0d7
shr esi, 6
and esi, 0x3f
mov al, byte [esi + 0x403e60]
jmp 0x40c0d9
mov al, 0x3d
mov byte [edx + 2], al
mov byte [edx + 3], 0x3d
add edx, 4
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40ca24
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40ce68
call fcn.0040cce8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40ca84
cmp eax, 0xffffffff
je 0x40ca84
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40ca7d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40ca7d
cmp edx, 0x10000000
jae 0x40ca7d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40ca7a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40caf0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40cb2e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40cb26
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40cb30
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40cb16
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40cc00
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x40cc31
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40cc31
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x40cc31
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1036333
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x103a02c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x103637a
cmp dword [ebp - 0x108], 2
jne 0x103637a
cmp dword [ebp - 0x114], 5
jb 0x103637a
xor eax, eax
inc eax
jmp 0x103637c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01006c81
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x6fe93bae
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x108a6a4f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x405eb6
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52e030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push edi
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x405f3d
test ecx, ecx
je 0x405f3d
and dword [ebp - 0x10], 0
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
xor esi, esi
push 0
inc esi
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ecx
or edi, 0xffffffff
call dword [sym.imp.DNSAPI.dll_DnsQuery_W]
test eax, eax
jne 0x405f3a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x405f36
cmp word [eax + 8], si
je 0x405f29
mov eax, dword [eax]
test eax, eax
jne 0x405f1b
jmp 0x405f2c
mov edi, dword [eax + 0x18]
push esi
push dword [ebp - 0x10]
call dword [sym.imp.DNSAPI.dll_DnsFree]
mov eax, edi
jmp 0x405f3d
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00475360
leave
ret
Function at 0x406240
Capabilities:
Read .ini file

Disassembly:
push 0x9c
mov eax, 0x4e9b41
call fcn.00475ad5
lea ebx, [ebp - 0x80]
call fcn.0045a1ea
and dword [ebp - 4], 0
push str.net_option.ini
lea esi, [ebp - 0x48]
call fcn.00402b82
mov byte [ebp - 4], 1
mov eax, esi
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, ebx
push eax
call fcn.0043221c
mov byte [ebp - 4], 3
push 1
xor edi, edi
call fcn.00402efe
lea eax, [ebp - 0x9c]
push eax
lea esi, [ebp - 0x2c]
call fcn.00402b5c
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4062a9
mov eax, esi
push eax
push 1
push str.NameserverEnable
push 0x506070
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne byte [ebp - 0x9d]
cmp byte [ebp - 0x9d], 0
je 0x406407
xor ecx, ecx
push 2
mov esi, 0x400
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00473a72
mov edi, eax
pop ecx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], edi
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40630c
lea eax, [ebp - 0x2c]
push eax
push esi
push edi
push str.59.151.41.21
push str.Nameserver1
push 0x5060b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x406379
push eax
mov ecx, edi
lea eax, [ebp - 0x48]
call fcn.004066f1
mov byte [ebp - 4], 6
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0045940b
pop ecx
pop ecx
mov byte [ebp - 4], 7
mov ebx, eax
mov eax, 0x530d20
call fcn.00406742
mov byte [ebp - 4], 6
push 1
xor edi, edi
lea esi, [ebp - 0x64]
call fcn.00402dc7
mov byte [ebp - 4], 5
push 1
lea esi, [ebp - 0x48]
call fcn.00402efe
mov esi, 0x400
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x406385
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0xa4]
push str.61.142.208.212
push str.Nameserver2
push str.Option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4063f6
mov ecx, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x48]
call fcn.004066f1
mov byte [ebp - 4], 8
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0045940b
pop ecx
pop ecx
mov byte [ebp - 4], 9
mov ebx, eax
mov eax, 0x530d3c
call fcn.00406742
mov byte [ebp - 4], 8
push 1
xor edi, edi
lea esi, [ebp - 0x64]
call fcn.00402dc7
mov byte [ebp - 4], 5
push 1
lea esi, [ebp - 0x48]
call fcn.00402efe
mov byte [ebp - 4], 4
push dword [ebp - 0xa4]
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
pop ecx
mov byte [ebp - 4], 3
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00402efe
mov byte [ebp - 4], 0
push 1
lea esi, [ebp - 0x9c]
call fcn.00402efe
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp - 0x80]
call fcn.00402efe
mov al, byte [ebp - 0x9d]
call fcn.00475b58
ret
Function at 0x4088df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4e8c11
call fcn.00475b0b
mov eax, dword [ebp + 8]
mov esi, edx
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, ebx
jne 0x408937
call fcn.00407b30
mov esi, eax
jmp 0x408a0c
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x408950
call fcn.00407b30
jmp 0x4089fe
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x408946
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40898a
mov esi, 0x8007000e
jmp 0x408a00
mov byte [ebp - 4], 2
lea esi, [ebp - 0x418]
call fcn.004117f7
mov dword [ebp - 4], 1
jmp 0x4089b7
cmp dword [ebp - 0x418], ebx
je 0x408983
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x408946
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.004094a0
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x408a28
lea eax, [ebp - 0x418]
call fcn.00412a67
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00475b67
ret 0xc
Function at 0x428535
Capabilities:
Create thread

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [esp + 0xc], edi
jbe 0x428550
call fcn.0043d8c8
cmp dword [eax], 1
jl 0x428550
mov edi, 0x10000
jmp 0x428554
mov dword [esp + 0xc], edi
push 8
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
push 0
mov esi, eax
mov eax, dword [esp + 0x14]
push edi
push esi
push 0x428519
push dword [esp + 0x1c]
mov dword [esi], eax
test ebx, ebx
setne al
push 0
mov byte [esi + 4], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x428592
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
pop ecx
xor al, al
jmp 0x4285a3
test ebx, ebx
je 0x42859a
mov dword [ebx], eax
jmp 0x4285a1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
ret

Function at 0x42b61a
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x284
mov eax, dword [0x52e030]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x42b738
cmp byte [0x53622f], bl
je 0x42b738
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 8]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
pop ecx
pop ecx
cmp eax, ebx
je 0x42b67a
xor ecx, ecx
mov word [eax + 2], cx
push str.debug_message.exe
lea eax, [ebp - 8]
push edi
push eax
call dword [sym.imp.MSVCR100.dll_wcscat_s]
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x42b69a
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
jmp 0x42b69d
mov dword [ebp - 0x2c], esi
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
lea esi, [ebp - 0x24]
mov dword [ebp - 0x28], eax
call fcn.004404ff
cmp dword [ebp - 0x14], ebx
je 0x42b72b
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x10], 8
mov dword [ebp - 0x80], esi
jae 0x42b6d3
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42b70d
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x3c]
call esi
jmp 0x42b72b
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x42b719
lea eax, [ebp - 0x24]
push 0x40010
push str.Fatal_error
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
xor edi, edi
lea esi, [ebp - 0x24]
call fcn.00402efe
pop edi
mov ecx, dword [ebp + 0x200]
pop esi
xor ecx, ebp
pop ebx
call fcn.00475360
add ebp, 0x204
leave
ret