joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422953
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x43e086
call fcn.0043c250
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0xc]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
lea eax, [esi + 0xc]
push eax
call fcn.0040388d
and dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.00422b76
mov eax, dword [esi + 0x24]
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x24], eax
mov al, byte [esi + 0x28]
mov byte [ebx + 0x28], al
mov al, byte [esi + 0x29]
mov byte [ebx + 0x29], al
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
lea eax, [esi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00422ade
mov eax, dword [esi + 0x3c]
add esi, 0x44
mov dword [ebx + 0x3c], eax
mov eax, dword [esi - 4]
lea edi, [ebx + 0x44]
mov dword [ebx + 0x40], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4229e6
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43e0b9
call fcn.0043c250
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0041d478
mov al, byte [edi + 8]
and dword [ebp - 4], 0
mov byte [esi + 8], al
mov al, byte [edi + 9]
mov byte [esi + 9], al
mov al, byte [edi + 0xa]
mov byte [esi + 0xa], al
mov al, byte [edi + 0xb]
mov byte [esi + 0xb], al
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00403171
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00403171
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00403171
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00403171
mov eax, dword [edi + 0x40]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42b16a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43eaf1
call fcn.0043c250
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.0040388d
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040388d
mov eax, dword [edi + 0x28]
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0040388d
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.0040388d
mov al, byte [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
mov al, byte [edi + 0x4b]
mov byte [esi + 0x4b], al
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov al, byte [edi + 0x4d]
mov byte [esi + 0x4d], al
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x430111
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x43f182
call fcn.0043c250
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x443de0
mov dword [esi + 4], 0x44212c
mov dword [esi + 8], 0x442160
mov dword [esi + 0xc], str.Too_long_switch:
mov dword [esi + 0x10], 0x443dcc
mov dword [esi + 0x14], 0x443dbc
mov dword [esi + 0x18], 0x442150
mov dword [esi + 0x1c], 0x442140
mov dword [esi + 0x20], 0x443db4
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.00403775
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00403775
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 6
call fcn.00403775
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
or dword [esi + 0xa8], 0xffffffff
mov byte [ebp - 4], 8
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xac], ebx
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov byte [esi + 0xb2], bl
mov byte [esi + 0xb3], bl
mov byte [esi + 0xb4], bl
mov byte [esi + 0xb5], bl
mov byte [esi + 0xb6], bl
mov byte [esi + 0xb7], bl
mov dword [esi + 0xb8], ebx
mov dword [esi], 0x443d88
mov dword [esi + 4], 0x443d74
mov dword [esi + 8], 0x443d5c
mov dword [esi + 0xc], 0x443d40
mov dword [esi + 0x10], 0x443d2c
mov dword [esi + 0x14], 0x443d1c
mov dword [esi + 0x18], 0x443d0c
mov dword [esi + 0x1c], 0x443cfc
mov dword [esi + 0x20], 0x443cf4
call fcn.0040fe56
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x43011d
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x43f182
call fcn.0043c250
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x443de0
mov dword [esi + 4], 0x44212c
mov dword [esi + 8], 0x442160
mov dword [esi + 0xc], str.Too_long_switch:
mov dword [esi + 0x10], 0x443dcc
mov dword [esi + 0x14], 0x443dbc
mov dword [esi + 0x18], 0x442150
mov dword [esi + 0x1c], 0x442140
mov dword [esi + 0x20], 0x443db4
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.00403775
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00403775
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 6
call fcn.00403775
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
or dword [esi + 0xa8], 0xffffffff
mov byte [ebp - 4], 8
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xac], ebx
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov byte [esi + 0xb2], bl
mov byte [esi + 0xb3], bl
mov byte [esi + 0xb4], bl
mov byte [esi + 0xb5], bl
mov byte [esi + 0xb6], bl
mov byte [esi + 0xb7], bl
mov dword [esi + 0xb8], ebx
mov dword [esi], 0x443d88
mov dword [esi + 4], 0x443d74
mov dword [esi + 8], 0x443d5c
mov dword [esi + 0xc], 0x443d40
mov dword [esi + 0x10], 0x443d2c
mov dword [esi + 0x14], 0x443d1c
mov dword [esi + 0x18], 0x443d0c
mov dword [esi + 0x1c], 0x443cfc
mov dword [esi + 0x20], 0x443cf4
call fcn.0040fe56
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x437ef5
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43f9d2
call fcn.0043c250
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], str.anti_folder
mov dword [esi + 4], 0x445c74
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00403775
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi], 0x445c58
mov dword [esi + 4], 0x445c40
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x437f01
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43f9d2
call fcn.0043c250
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], str.anti_folder
mov dword [esi + 4], 0x445c74
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00403775
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi], 0x445c58
mov dword [esi + 4], 0x445c40
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x431072
nop
nop
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3e2123a3
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0xcb564a9
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432fd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402480
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8060c8]
jne 0x40248a
repz ret
jmp fcn.00405f6e

Function at 0x405b94
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.00402f09
and dword [ebp - 4], 0
cmp dword [0x807a28], 0
mov ebx, eax
jne 0x405c45
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405cf6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405cf6
push eax
call fcn.00402e97
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x807a28], eax
call esi
push eax
call fcn.00402e97
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x807a2c], eax
call esi
push eax
call fcn.00402e97
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x807a30], eax
call esi
push eax
call fcn.00402e97
pop ecx
mov dword [0x807a38], eax
test eax, eax
je 0x405c45
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e97
pop ecx
mov dword [0x807a34], eax
mov eax, dword [0x807a34]
cmp eax, ebx
je 0x405c9d
cmp dword [0x807a38], ebx
je 0x405c9d
push eax
call fcn.00402f12
push dword [0x807a38]
mov esi, eax
call fcn.00402f12
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c9d
test edi, edi
je 0x405c9d
call esi
test eax, eax
je 0x405c94
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c94
test byte [ebp - 0xc], 1
jne 0x405c9d
or dword [ebp + 0x10], 0x200000
jmp 0x405cd6
mov eax, dword [0x807a2c]
cmp eax, ebx
je 0x405cd6
push eax
call fcn.00402f12
pop ecx
test eax, eax
je 0x405cd6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405cd6
mov eax, dword [0x807a30]
cmp eax, ebx
je 0x405cd6
push eax
call fcn.00402f12
pop ecx
test eax, eax
je 0x405cd6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x807a28]
call fcn.00402f12
pop ecx
test eax, eax
je 0x405cf6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405cf8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xe3c5144
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5aaf22ca
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401014
Capabilities:
Terminate process

Disassembly:
jmp 0x4017a2
push 0x14
push 0x405700
call fcn.0040106e
push 1
call fcn.00401168
pop ecx
test al, al
je 0x4016ba
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040118b
mov byte [ebp - 0x24], al
mov eax, dword [0x406160]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4016ba
test eax, eax
jne 0x4015d8
mov dword [0x406160], ecx
push 0x404618
push 0x40430c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4015bb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4016aa
push 0x404208
push section..rdata
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x406160], 2
jmp 0x4015dd
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004010b9
pop ecx
call fcn.0040102d
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40160e
push esi
call fcn.00401091
pop ecx
test al, al
je 0x40160e
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [section..00cfg]
call esi
call fcn.0040101e
mov esi, eax
cmp dword [esi], edi
je 0x40162c
push esi
call fcn.00401091
pop ecx
test al, al
je 0x40162c
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call fcn.00401181
add esp, 0xc
mov esi, eax
call fcn.00401195
test al, al
je 0x4016c1
test bl, bl
jne 0x40165f
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.004010be
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4016aa
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004010e1
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.004011db
jmp 0x40154e

Function at 0x401195
Capabilities:
Parse pe header

Disassembly:
jmp 0x401f0e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401f4d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401f4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401f4d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401f4d
cmp dword [ecx + 0x74], 0xe
jbe 0x401f4d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x429008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x423bd0
push 0x84
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.00402255
push str.net451
lea ecx, [ebp - 8]
call fcn.00401e44
test eax, eax
jne 0x40109e
inc esi
jmp 0x401130
push str.net452
lea ecx, [ebp - 8]
call fcn.00401e44
test eax, eax
jne 0x4010b3
push 2
jmp 0x40112f
push str.net46
lea ecx, [ebp - 8]
call fcn.00401e44
test eax, eax
jne 0x4010c8
push 3
jmp 0x40112f
push str.net461
lea ecx, [ebp - 8]
call fcn.00401e44
test eax, eax
jne 0x4010dd
push 4
jmp 0x40112f
push str.net462
lea ecx, [ebp - 8]
call fcn.00401e44
test eax, eax
jne 0x4010f2
push 5
jmp 0x40112f
push str.net47
lea ecx, [ebp - 8]
call fcn.00401e44
test eax, eax
jne 0x401107
push 6
jmp 0x40112f
push str.net471
lea ecx, [ebp - 8]
call fcn.00401e44
test eax, eax
jne 0x40111c
push 7
jmp 0x40112f
push str.net472
lea ecx, [ebp - 8]
call fcn.00401e44
test eax, eax
jne 0x401130
push 8
pop esi
lea ecx, [ebp - 8]
call fcn.00401e7b
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040a35c
leave
ret
Function at 0x409517
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x41d73f
call fcn.0041cb7c
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], esi
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
call fcn.0040bfc0
add esp, 0xc
mov dword [ebp - 0x424], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x4095a0
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x4095a0
call fcn.00401c25
mov esi, eax
jmp 0x4096a3
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4095c3
call fcn.00401c25
jmp 0x409696
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x4095b9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x4095f6
mov esi, 0x8007000e
jmp 0x409698
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x4096c6
jb 0x409611
cmp eax, 0xffffffff
ja 0x4096c6
cmp eax, 0x400
jbe 0x409626
push eax
lea ecx, [ebp - 0x424]
call fcn.00407ee7
jmp 0x409648
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x409648
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
je 0x4095ec
push ebx
push dword [ebp - 0x424]
push ebx
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4095b9
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.004093c2
mov esi, eax
test edi, edi
je 0x4096a3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4096bc
lea ecx, [ebp - 0x424]
call fcn.00407ed2
mov eax, esi
call fcn.0041cac9
ret 0x10
push 0x80070216
call fcn.00402183
int3

Function at 0x4160a9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00415d57
Function at 0x40a18b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x423014]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
mov edx, ecx
mov dword [ebp - 0x50], edx
push edi
test esi, esi
jne 0x40a1b0
push 0x57
jmp 0x40a223
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
push 0x1c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push eax
push esi
push edx
call dword [0x42516c]
test eax, eax
je 0x40a229
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push 0
push 0x40
push eax
push esi
push edi
call dword [0x425164]
test eax, eax
je 0x40a229
mov eax, 0x5a4d
cmp word [ebp - 0x4c], ax
jne 0x40a21e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x60]
ja 0x40a21e
cmp eax, 0x40
jb 0x40a21e
push 0
push 0xf8
push ebx
add eax, esi
push eax
push edi
call dword [0x425164]
test eax, eax
je 0x40a229
cmp dword [ebx], 0x4550
jne 0x40a21e
xor eax, eax
inc eax
jmp 0x40a22b
push 0xc1
call dword [0x425030]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b962
leave
ret 4