joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480230
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48042b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 0x20e]
xor ecx, ecx
mov edx, 0xff
call fcn.00403ab0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push esi
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48040d
xor esi, esi
push esi
mov esi, 0x480440
lea edi, [ebp - 0x20e]
mov ecx, 0x3f
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
push esi
mov esi, 0x480440
lea edi, [ebp - 0x10f]
mov ecx, 0x3f
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov dword [ebp - 0x10], 0xff
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x10f]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyA
mov ebx, eax
cmp ebx, 0x103
je 0x4803fb
test ebx, ebx
jne 0x4803f3
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x10f]
mov ecx, 0xff
call fcn.004055fc
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
mov edx, 0x480548
call fcn.004056a4
mov eax, dword [ebp - 0x214]
call fcn.0040581c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20e]
push eax
push 0
push 0
push 0x480580
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
cmp byte [ebp - 0x20d], 0x3a
jne 0x4803f2
cmp byte [ebp - 0x20c], 0x5c
jne 0x4803f2
lea eax, [ebp - 0x220]
lea edx, [ebp - 0x20e]
mov ecx, 0xff
call fcn.004055fc
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
call fcn.004230dc
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x224]
mov edx, edi
call fcn.00405584
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 1]
mov eax, dword [0x5a7d68]
call fcn.00480064
lea eax, [ebp - 0x228]
mov edx, edi
call fcn.00405584
mov edx, dword [ebp - 0x228]
mov eax, dword [0x5a7d78]
call fcn.00424250
cmp byte [ebp - 1], 0
je 0x4803fb
inc esi
test ebx, ebx
je 0x4802a6
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480432
lea eax, [ebp - 0x228]
mov edx, 6
call fcn.004053b0
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402590
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x43900c]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
mov eax, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
push edi
test eax, eax
jne 0x4025eb
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push 0x43436b
mov byte [esi], al
call fcn.00415c00
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00416e02
mov esp, ebp
pop ebp
ret
mov ecx, eax
xor edi, edi
and ecx, 3
jne 0x402605
cmp byte [eax + edx - 1], 0x3d
je 0x402605
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jmp 0x402627
mov dword [esp + 0x18], 1
cmp ecx, 2
ja 0x40261f
cmp byte [eax + edx - 2], 0x3d
jne 0x40261f
mov dword [esp + 0x20], edi
jmp 0x402627
mov dword [esp + 0x20], 1
sub eax, dword [esp + 0x18]
and eax, 0xfffffffc
mov dword [esp + 0x40], edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr ecx, 2
push 0
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [esp + 0x34]
add eax, dword [esp + 0x1c]
push eax
call fcn.00415ac0
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x4026f5
mov esi, dword [esp + 0x2c]
lea eax, [edx - 1]
shr eax, 2
add esi, 2
inc eax
mov dword [esp + 0x28], eax
nop dword [eax]
movzx eax, byte [esi - 2]
lea esi, [esi + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax*4 + 0x434f68]
movzx eax, byte [esi - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x434f68]
movzx eax, byte [esi - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x434f68]
movzx eax, byte [esi - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x434f68]
mov eax, ecx
sar eax, 0x10
mov byte [edx + edi], al
mov eax, ecx
sar eax, 8
mov byte [edx + edi + 1], al
mov eax, edx
mov byte [eax + edi + 2], cl
add edi, 3
sub dword [esp + 0x28], 1
jne 0x402690
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0x402752
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x24], eax
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
mov edx, dword [eax*4 + 0x434f68]
shl edx, 6
or edx, dword [ecx*4 + 0x434f68]
mov ecx, dword [esp + 0x1c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [esp + 0x20], 0
mov byte [ecx + edi], al
je 0x402752
mov eax, dword [esp + 0x24]
sar edx, 8
movzx eax, byte [eax + 2]
mov eax, dword [eax*4 + 0x434f68]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + edi + 1], al
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.00416e02
mov esp, ebp
pop ebp
ret
Function at 0x402b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429170
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x43900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x414], edi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004184c0
add esp, 0xc
mov dword [ebp - 0x414], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x418]
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 0x402bb0
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402bd6
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00415c00
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x402c1e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c7d
push edx
push ecx
call fcn.00417475
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 0x402c60
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c7d
push edx
push ecx
call fcn.00417475
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416e02
mov esp, ebp
pop ebp
ret
call fcn.0041c0c8
int3
Function at 0x402c90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43900c]
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 0x402cf7
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 0x402d34
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dc6
push edx
push ecx
call fcn.00417475
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 0x402d76
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dc6
push edx
push ecx
call fcn.00417475
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 0x402db8
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402dae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dc6
push edx
push ecx
call fcn.00417475
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416e02
mov esp, ebp
pop ebp
ret
call fcn.0041c0c8
int3
Function at 0x403790
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429278
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x43900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x18], 1
jne 0x4037e3
movzx eax, byte [eax]
cmp al, 0x31
jne 0x4037d6
xor eax, eax
jmp 0x4037db
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4037e3
mov cl, 1
jmp 0x4037e5
xor cl, cl
xor edx, edx
mov eax, 5
test cl, cl
lea ecx, [ebp + 8]
cmove eax, edx
mov edx, str.runas
push eax
mov eax, 0x43436b
cmovne eax, edx
push eax
call fcn.00415c00
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]
cmp eax, 0x2a
sete bl
cmp edx, 0x10
jb 0x403872
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403868
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403908
push edx
push ecx
call fcn.00417475
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 0x4038b4
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4038aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403908
push edx
push ecx
call fcn.00417475
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 0x4038f6
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4038ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403908
push edx
push ecx
call fcn.00417475
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041c0c8
int3
Function at 0x403a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429278
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x43900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov eax, dword fs:[0x2c]
mov byte [0x43b308], 0
mov ecx, dword [eax]
mov eax, dword [0x43d758]
cmp eax, dword [ecx + 4]
jle 0x403b34
push 0x43d758
call fcn.00416f22
add esp, 4
cmp dword [0x43d758], 0xffffffff
jne 0x403b34
push 0x42e600
mov dword [0x43d718], 0
mov dword [0x43d71c], 0xf
mov byte [0x43d708], 0
mov dword [0x43d730], 0
mov dword [0x43d734], 0xf
mov byte [0x43d720], 0
mov dword [0x43d748], 0
mov dword [0x43d74c], 0xf
mov byte [0x43d738], 0
call fcn.00417460
push 0x43d758
call fcn.00416ed8
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x43d708
push eax
call fcn.00415c00
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x43d720
push eax
call fcn.00415c00
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x43d738
push eax
call fcn.00415c00
push 0
push 0
push 0x43d708
push 0x403910
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 0x1c]
mov bl, byte [0x43b308]
cmp edx, 0x10
jb 0x403bdc
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403bd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c72
push edx
push ecx
call fcn.00417475
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 0x403c1e
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403c14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c72
push edx
push ecx
call fcn.00417475
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 0x403c60
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403c56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c72
push edx
push ecx
call fcn.00417475
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041c0c8
int3
Function at 0x403fb0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4293d0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x43900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004033c0
cmp dword [eax + 0x14], 0x10
jb 0x403ff3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40402e
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404024
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041e8
push edx
push ecx
call fcn.00417475
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x34], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x439994
call fcn.004158a0
lea ecx, [ebp - 0x64]
call fcn.004029c0
add esp, 0x18
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, esp
push 0x439cdc
call fcn.004158a0
lea ecx, [ebp - 0x30]
call fcn.004029c0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00415e50
add esp, 4
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00415d50
sub esp, 0x14
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x439fdc
call fcn.004158a0
mov ecx, esi
call fcn.004029c0
mov ecx, esp
mov byte [ebp - 4], 5
push 1
push str.0123456789
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00415c00
mov byte [ebp - 4], 3
call fcn.00403790
mov edx, dword [ebp - 0x38]
add esp, 0x48
cmp edx, 0x10
jb 0x404116
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40410c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041ed
push edx
push ecx
call fcn.00417475
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x40415c
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404152
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041ed
push edx
push ecx
call fcn.00417475
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40419e
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404194
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041ed
push edx
push ecx
call fcn.00417475
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4041ce
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4041c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041f2
push edx
push ecx
call fcn.00417475
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416e02
mov esp, ebp
pop ebp
ret
call fcn.0041c0c8
call fcn.0041c0c8
call fcn.0041c0c8
int3
Function at 0x4049a0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42948b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x17c
mov eax, dword [0x43900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x154]
push 0
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.004184c0
add esp, 0xc
mov dword [ebp - 0x158], 0x11c
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x404a2d
mov eax, 0x64
jmp 0x404b6f
sub esp, 0x18
mov ecx, esp
push 0x43a3fc
call fcn.004158a0
lea ecx, [ebp - 0x18c]
call fcn.004029c0
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x404a59
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push 0x439d9c
call fcn.004158a0
lea ecx, [ebp - 0x174]
call fcn.004029c0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x404a7f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x160]
mov esi, eax
cmp edx, 0x10
jb 0x404ac9
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b8c
push edx
push ecx
call fcn.00417475
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
cmp edx, 0x10
jb 0x404b21
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404b17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b8c
push edx
push ecx
call fcn.00417475
add esp, 8
mov dword [ebp - 0x17c], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
push eax
test esi, esi
je 0x404b48
call esi
jmp 0x404b4e
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x154], 6
jb 0x404b6f
mov ax, word [ebp - 0x38]
cmp ax, 9
jne 0x404b68
mov eax, 1
jmp 0x404b6f
test ax, ax
jne 0x404b6f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00416e02
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041c0c8
int3
Function at 0x405430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4295e1
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x43900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x414], esi
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 0x18
mov ecx, esp
push 0x439d0c
call fcn.004158a0
lea ecx, [ebp - 0x45c]
call fcn.004029c0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x434], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4054c7
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x444]
call fcn.00415c00
mov byte [ebp - 4], 1
lea eax, [ebp - 0x444]
mov ecx, 3
mov dword [ebp - 0x41c], 0
cmp dword [ebp - 0x434], ecx
mov dword [ebp - 0x418], 0xf
cmovb ecx, dword [ebp - 0x434]
cmp dword [ebp - 0x430], 0x10
push ecx
cmovae eax, dword [ebp - 0x444]
lea ecx, [ebp - 0x42c]
push eax
mov byte [ebp - 0x42c], 0
call fcn.00415c00
push edi
lea edx, [ebp - 0x42c]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00415d50
mov edx, dword [ebp - 0x418]
add esp, 4
cmp edx, 0x10
jb 0x405584
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40557a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405628
push edx
push ecx
call fcn.00417475
add esp, 8
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
cmp edx, 0x10
jb 0x4055d5
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4055cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405628
push edx
push ecx
call fcn.00417475
add esp, 8
mov edx, dword [ebp - 0x448]
cmp edx, 0x10
jb 0x40560b
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405601
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405628
push edx
push ecx
call fcn.00417475
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416e02
mov esp, ebp
pop ebp
ret
call fcn.0041c0c8
int3