joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cb3b5
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a62d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004fb612
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x4d41b8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x4d2a58
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [fcn.004a80e0]
push eax
mov ecx, edi
call fcn.00500fae
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005039bd
test eax, eax
je 0x4cb4d1
mov ecx, dword [esp + 0x3c]
call fcn.00500fdb
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004a85a4]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4cb495
push edi
mov ecx, esi
call fcn.004fe56e
mov ecx, esi
call fcn.004cb635
cmp dword [esp + 0x38], 1
jne 0x4cb4ca
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004fe701
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4cdef5
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4cdf28
push esi
call fcn.004d0fe5
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4cdf21
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 0x4cdfae
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4cdf97
mov eax, dword [esi + 8]
test eax, eax
je 0x4cdf4c
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 0x4cdf93
cmp eax, 2
je 0x4cdf97
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4cdf3f
cmp eax, 3
je 0x4cdf72
cmp eax, 1
jne 0x4cdf3f
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 0x4cdf3f
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4cdf3f
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004cdfd5
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4cdfbd
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004cdfd5
add esp, 4
pop esi
ret
Function at 0x4dcd05
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a6a50
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.004dc8b5
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004dc935
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004dc935
lea ecx, [esi + 0xc]
call fcn.004f9f31
lea ecx, [esi + 0x10]
call fcn.004f9f31
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004dded5
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004dded5
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004dded5
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004f9fa6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004f9fa6
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5d3129
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.005d31a8
jae 0x5d3135
xor ecx, ecx
call fcn.005d31a8
jae 0x5d315f
xor eax, eax
call fcn.005d31a8
jae 0x5d3170
mov al, 0x10
call fcn.005d31a8
adc al, al
jae 0x5d3151
jne 0x5d319d
stosb byte es:[edi], al
jmp 0x5d3136
call fcn.005d31b4
dec ecx
loop 0x5d317c
mov eax, ebp
call fcn.005d31b2
jmp 0x5d319e
lodsb al, byte [esi]
shr eax, 1
je 0x5d31c4
adc ecx, 2
mov ebp, eax
jmp 0x5d319e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.005d31b2
cmp eax, 0x7d00
jae 0x5d319c
cmp eax, 0x500
jae 0x5d319d
cmp eax, 0x7f
ja 0x5d319e
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5d3136
pop ebp
ret 8

Function at 0x430000
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
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
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
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x14df464b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6cc41157
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6a4c0c3e
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x74c04571
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4025a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push ebx
cmovae eax, dword [ebp + 0x20]
push esi
push edi
push dword [ebp + 0x30]
mov dword [ebp - 4], ecx
mov ecx, 0x432024
push eax
call fcn.00413e60
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x431a0c
push eax
call fcn.00413e60
mov esi, dword [0x432034]
xor ebx, ebx
mov edi, dword [0x432038]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x433200], bl
mov eax, ebx
mov ecx, 0x432024
cmovae ecx, dword [0x432024]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x433308], al
inc ebx
cmp ebx, 0x100
jl 0x4025f0
xor esi, esi
xor eax, eax
mov bl, byte [eax + 0x433200]
movzx ecx, byte [eax + 0x433308]
add esi, ecx
movzx edx, bl
add esi, edx
and esi, 0x800000ff
jns 0x402644
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [esi + 0x433200]
mov byte [eax + 0x433200], cl
inc eax
mov byte [esi + 0x433200], bl
cmp eax, 0x100
jl 0x402620
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.00402290
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402698
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40268e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026e3
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4026da
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4026d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026e3
push edx
push ecx
call fcn.0041541e
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041886c
int3
Function at 0x4026f0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], edi
test ebx, ebx
jne 0x40273e
push ebx
push 0x42e35b
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
call fcn.00413e60
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00414dac
mov esp, ebp
pop ebp
ret
mov eax, ebx
xor esi, esi
and eax, 3
jne 0x402755
cmp byte [ebx + edx - 1], 0x3d
je 0x402755
xor ecx, ecx
mov dword [ebp - 0x24], ecx
jmp 0x40276f
mov ecx, 1
mov dword [ebp - 0x24], ecx
cmp eax, 2
ja 0x40276d
cmp byte [ebx + edx - 2], 0x3d
jne 0x40276d
xor eax, eax
jmp 0x40276f
mov eax, ecx
sub ebx, ecx
mov dword [ebp - 0x30], eax
and ebx, 0xfffffffc
mov dword [ebp - 0x10], esi
mov ecx, ebx
mov dword [ebp - 0x3c], ebx
shr ecx, 2
push 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [ebp - 0x20]
add eax, dword [ebp - 0x24]
push eax
call fcn.00413d20
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x40282b
mov edx, dword [ebp - 0x28]
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0x2c]
add edx, 2
shr eax, 2
inc eax
mov dword [ebp - 0x34], eax
mov edi, eax
nop word [eax + eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov ecx, dword [eax*4 + 0x42ef50]
movzx eax, byte [edx - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x42ef50]
movzx eax, byte [edx - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x42ef50]
movzx eax, byte [edx - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x42ef50]
mov eax, ecx
sar eax, 0x10
mov byte [ebx + esi], al
mov eax, ecx
sar eax, 8
mov byte [ebx + esi + 1], al
mov byte [ebx + esi + 2], cl
add esi, 3
sub edi, 1
jne 0x4027d0
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
cmp dword [ebp - 0x24], 0
je 0x40287a
add ebx, dword [ebp - 0x28]
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
mov edx, dword [eax*4 + 0x42ef50]
shl edx, 6
or edx, dword [ecx*4 + 0x42ef50]
mov ecx, dword [ebp - 0x2c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [ebp - 0x30], 0
mov byte [ecx + esi], al
je 0x40287a
movzx eax, byte [ebx + 2]
sar edx, 8
mov eax, dword [eax*4 + 0x42ef50]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + esi + 1], al
movups xmm0, xmmword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov eax, edi
xor ecx, ebp
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [edi + 0x10], xmm0
pop edi
pop esi
pop ebx
call fcn.00414dac
mov esp, ebp
pop ebp
ret
Function at 0x402bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x404]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.00416030
add esp, 0xc
mov dword [ebp - 0x408], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x40c]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402c55
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x408]
push ecx
lea ecx, [ebp - 0x404]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x404]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402c80
sub ecx, edx
lea eax, [ebp - 0x404]
push ecx
push eax
mov ecx, edi
call fcn.00413e60
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402cc8
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402cbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d1c
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x402d0a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d1c
push edx
push ecx
call fcn.0041541e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00414dac
mov esp, ebp
pop ebp
ret
call fcn.0041886c
int3
Function at 0x402d30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 8]
push ecx
push 0xf003f
lea eax, [ebp + 8]
mov dword [ebp - 8], 0x80000001
cmovae eax, dword [ebp + 8]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402d97
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x20]
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 0x10
cmovae ecx, dword [ebp + 0x20]
inc eax
push eax
push edx
push 2
push 0
push ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402dd4
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402dca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e66
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x402e16
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402e0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e66
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x402e58
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402e4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e66
push edx
push ecx
call fcn.0041541e
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414dac
mov esp, ebp
pop ebp
ret
call fcn.0041886c
int3
Function at 0x403620
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x18], 1
jne 0x40363d
cmp byte [eax], 0x31
jne 0x40363d
mov cl, 1
jmp 0x40363f
xor cl, cl
xor edx, edx
mov eax, 5
test cl, cl
lea ecx, [ebp + 8]
push esi
cmove eax, edx
mov edx, str.runas
push eax
mov eax, 0x42e35b
cmovne eax, edx
push eax
call fcn.00413e60
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x433304], esi
cmp edx, 0x10
jb 0x4036cf
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4036c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403758
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x403711
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403707
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403758
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x403753
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403749
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403758
push edx
push ecx
call fcn.0041541e
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
call fcn.0041886c
int3
Function at 0x403890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
mov dword [0x433300], 0
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x433450]
cmp eax, dword [ecx + 4]
jle 0x40393b
push 0x433450
call fcn.00414ecc
add esp, 4
cmp dword [0x433450], 0xffffffff
jne 0x40393b
push 0x4283d0
mov dword [0x433418], 0
mov dword [0x43341c], 0xf
mov byte [0x433408], 0
mov dword [0x433430], 0
mov dword [0x433434], 0xf
mov byte [0x433420], 0
mov dword [0x433448], 0
mov dword [0x43344c], 0xf
mov byte [0x433438], 0
call fcn.00415409
push 0x433450
call fcn.00414e82
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x433408
push eax
call fcn.00413e60
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x433420
push eax
call fcn.00413e60
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x433438
push eax
call fcn.00413e60
push 0
push 0
push 0x433408
push 0x403760
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1f4
call esi
mov edx, dword [ebp + 0x1c]
mov esi, dword [0x433300]
cmp edx, 0x10
jb 0x4039df
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4039d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a68
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x403a21
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403a17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a68
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x403a63
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403a59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403a68
push edx
push ecx
call fcn.0041541e
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
call fcn.0041886c
int3
Function at 0x404720
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x15c]
movaps xmmword [ebp - 0x40], xmm0
push 0
push eax
movaps xmmword [ebp - 0x30], xmm0
call fcn.00416030
add esp, 0xc
mov dword [ebp - 0x160], 0x11c
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4047a1
mov eax, 0x64
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414dac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
sub esp, 0x18
mov ecx, esp
push 0x432414
call fcn.00413b00
lea ecx, [ebp - 0x190]
call fcn.00402ac0
mov esi, eax
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x4047c8
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push 0x431d84
call fcn.00413b00
lea ecx, [ebp - 0x178]
call fcn.00402ac0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4047ed
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x164]
mov esi, eax
cmp edx, 0x10
jb 0x404838
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40482e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4048f9
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
cmp edx, 0x10
jb 0x404889
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40487f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4048f9
push edx
push ecx
call fcn.0041541e
add esp, 8
mov dword [ebp - 0x180], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
push eax
test esi, esi
je 0x4048b0
call esi
jmp 0x4048b6
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x15c], 6
jb 0x4048e7
mov ax, word [ebp - 0x40]
cmp ax, 9
jne 0x4048e0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414dac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test ax, ax
jne 0x4048e7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00414dac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041886c
int3

Function at 0x404930
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x404938
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40494b
test al, 0x10
je 0x40494b
mov al, 1
ret
xor al, al
ret
Function at 0x404e30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x140], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404e80
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.00413e60
mov ecx, 3
mov dword [ebp - 0x118], 0
cmp dword [ebp - 0x130], ecx
lea eax, [ebp - 0x140]
mov dword [ebp - 0x114], 0xf
cmovb ecx, dword [ebp - 0x130]
cmp dword [ebp - 0x12c], 0x10
push ecx
cmovae eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x128]
push eax
mov byte [ebp - 0x128], 0
call fcn.00413e60
sub esp, 0x18
mov ecx, esp
push 0x431cf4
call fcn.00413b00
lea ecx, [ebp - 0x158]
call fcn.00402ac0
push eax
lea edx, [ebp - 0x128]
mov ecx, esi
call fcn.00413fb0
mov edx, dword [ebp - 0x114]
add esp, 0x1c
cmp edx, 0x10
jb 0x404f4f
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404f45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404fe7
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x404fa0
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404f96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404fe7
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x404fd6
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404fcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404fe7
push edx
push ecx
call fcn.0041541e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414dac
mov esp, ebp
pop ebp
ret
call fcn.0041886c
int3