joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492fd4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49308c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00492ed4
mov eax, dword [ebp - 0x18]
movzx edx, word [eax]
lea eax, [ebp - 0x14]
call fcn.00406b3c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0x4930a4
call fcn.00406e8c
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20a
push 0
mov eax, dword [ebp - 4]
call fcn.00406a5c
push eax
call sub.kernel32.dll_GetVolumeInformationW
lea edx, [ebp - 0x1c]
movzx eax, word [ebp - 0x10]
call fcn.00492eac
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, ax
call fcn.00492eac
mov edx, dword [ebp - 0x20]
mov eax, ebx
pop ecx
call fcn.00406e8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493093
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004069c8
lea eax, [ebp - 4]
call fcn.004069c0
ret

Function at 0x4930ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004069b8
mov eax, dword [ebp - 8]
call fcn.004069b8
xor eax, eax
push ebp
push 0x49316b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push 0x20119
push 0
mov eax, dword [ebp - 4]
call fcn.00406a5c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x493150
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x200
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406a5c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x493147
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00406bb8
mov bl, 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 0x493172
lea eax, [ebp - 8]
mov edx, 2
call fcn.004069c8
ret
Function at 0x49317c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004069b8
mov eax, dword [ebp - 8]
call fcn.004069b8
mov eax, dword [ebp + 8]
call fcn.004069b8
xor eax, eax
push ebp
push 0x493258
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20106
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406a5c
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExW
test eax, eax
jne 0x493235
mov eax, dword [ebp + 8]
test eax, eax
je 0x4931f7
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4931f7
lea eax, [ebp + 8]
mov edx, dword [ebp + 8]
call fcn.004063ac
mov esi, eax
test esi, esi
je 0x493202
sub esi, 4
mov esi, dword [esi]
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp + 8]
call fcn.00406a5c
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00406a5c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
jne 0x493235
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49325f
lea eax, [ebp - 8]
mov edx, 2
call fcn.004069c8
lea eax, [ebp + 8]
call fcn.004069c0
ret

Function at 0x493498
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x493523
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x49353c
call fcn.004069d0
lea eax, [ebp - 4]
push eax
mov ecx, 0x493594
mov edx, 0x4935c0
mov eax, 0x80000002
call fcn.004930ac
test al, al
je 0x4934e6
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004069d0
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4934f7
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x49350d
mov eax, ebx
mov edx, 0x493650
call fcn.00406dcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49352a
lea eax, [ebp - 4]
call fcn.004069c0
ret

Function at 0x49394c
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, eax
push 0x80
mov eax, ebx
call fcn.00406a5c
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesW
push esi
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00406a5c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x493b19
test al, 0x10
jne 0x493b1d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b004]
jne 0x401010
repz ret
jmp fcn.00401734

Function at 0x407785
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.00404e66
and dword [ebp - 4], 0
cmp dword [0x41d17c], 0
mov ebx, eax
jne 0x407836
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4078e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4078e7
push eax
call fcn.00404df4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41d17c], eax
call esi
push eax
call fcn.00404df4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41d180], eax
call esi
push eax
call fcn.00404df4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41d184], eax
call esi
push eax
call fcn.00404df4
pop ecx
mov dword [0x41d18c], eax
test eax, eax
je 0x407836
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404df4
pop ecx
mov dword [0x41d188], eax
mov eax, dword [0x41d188]
cmp eax, ebx
je 0x40788e
cmp dword [0x41d18c], ebx
je 0x40788e
push eax
call fcn.00404e6f
push dword [0x41d18c]
mov esi, eax
call fcn.00404e6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40788e
test edi, edi
je 0x40788e
call esi
test eax, eax
je 0x407885
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407885
test byte [ebp - 0xc], 1
jne 0x40788e
or dword [ebp + 0x10], 0x200000
jmp 0x4078c7
mov eax, dword [0x41d180]
cmp eax, ebx
je 0x4078c7
push eax
call fcn.00404e6f
pop ecx
test eax, eax
je 0x4078c7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4078c7
mov eax, dword [0x41d184]
cmp eax, ebx
je 0x4078c7
push eax
call fcn.00404e6f
pop ecx
test eax, eax
je 0x4078c7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41d17c]
call fcn.00404e6f
pop ecx
test eax, eax
je 0x4078e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4078e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404960
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x462014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x4630bc
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00418170
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x462a8c
push eax
call fcn.00418170
mov esi, dword [0x4630cc]
xor ebx, ebx
mov edi, dword [0x4630d0]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x466360], bl
mov eax, ebx
mov ecx, 0x4630bc
cmovae ecx, dword [0x4630bc]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x466470], al
inc ebx
cmp ebx, 0x100
jl 0x4049e0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x466360]
movzx eax, byte [esi + 0x466470]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x404a34
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x466360]
mov byte [esi + 0x466360], al
inc esi
mov byte [edi + 0x466360], dl
cmp esi, 0x100
jl 0x404a10
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00404650
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x404a89
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404a7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404adf
push edx
push ecx
call fcn.0041d7d5
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 0x404acb
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404ac1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404adf
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00436dda
int3
Function at 0x405c60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449020
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x462014]
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.00434260
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 0x405d10
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 0x405d36
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00418170
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405d7e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405d74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ddd
push edx
push ecx
call fcn.0041d7d5
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 0x405dc0
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405db6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ddd
push edx
push ecx
call fcn.0041d7d5
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.0041d163
mov esp, ebp
pop ebp
ret
call fcn.00436dda
int3
Function at 0x405df0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x462014]
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], connect
cmovae eax, dword [ebp + 8]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405e57
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 0x405e94
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405e8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405f26
push edx
push ecx
call fcn.0041d7d5
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 0x405ed6
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405ecc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405f26
push edx
push ecx
call fcn.0041d7d5
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 0x405f18
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405f0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405f26
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d163
mov esp, ebp
pop ebp
ret
call fcn.00436dda
int3
Function at 0x407280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4491f8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x462014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 1
push 0x458de8
call fcn.004195e0
add esp, 8
xor edx, edx
test al, al
mov ecx, 5
cmove ecx, edx
mov edx, str.runas
push ecx
mov ecx, 0x45816b
cmovne ecx, edx
push ecx
lea ecx, [ebp + 8]
call fcn.00418170
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 [0x46852c], esi
cmp edx, 0x10
jb 0x407356
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40734c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073ec
push edx
push ecx
call fcn.0041d7d5
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 0x407398
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40738e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073ec
push edx
push ecx
call fcn.0041d7d5
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 0x4073da
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4073d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073ec
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00436dda
int3
Function at 0x407560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4491f8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x462014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
mov dword [0x466460], 0
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x468650]
cmp eax, dword [ecx + 4]
jle 0x407631
push 0x468650
call fcn.0041d283
add esp, 4
cmp dword [0x468650], 0xffffffff
jne 0x407631
push 0x44f510
mov dword [0x468618], 0
mov dword [0x46861c], 0xf
mov byte [0x468608], 0
mov dword [0x468630], 0
mov dword [0x468634], 0xf
mov byte [0x468620], 0
mov dword [0x468648], 0
mov dword [0x46864c], 0xf
mov byte [0x468638], 0
call fcn.0041d7c0
push 0x468650
call fcn.0041d239
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x468608
push eax
call fcn.00418170
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x468620
push eax
call fcn.00418170
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x468638
push eax
call fcn.00418170
push 0
push 0
push 0x468608
push 0x407400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1f4
call esi
mov edx, dword [ebp + 0x1c]
mov esi, dword [0x466460]
cmp edx, 0x10
jb 0x4076d5
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4076cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40776b
push edx
push ecx
call fcn.0041d7d5
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 0x407717
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40770d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40776b
push edx
push ecx
call fcn.0041d7d5
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 0x407759
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40774f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40776b
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00436dda
int3
Function at 0x407ab0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449350
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x462014]
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.00406d40
cmp dword [eax + 0x14], 0x10
jb 0x407af3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x407b2e
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407b24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ce8
push edx
push ecx
call fcn.0041d7d5
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x34], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4629cc
call fcn.00417ab0
lea ecx, [ebp - 0x64]
call fcn.00405b20
add esp, 0x18
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, esp
push 0x462d8c
call fcn.00417ab0
lea ecx, [ebp - 0x30]
call fcn.00405b20
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00418490
add esp, 4
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00418390
sub esp, 0x14
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x463074
call fcn.00417ab0
mov ecx, esi
call fcn.00405b20
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.00418170
mov byte [ebp - 4], 3
call fcn.00407280
mov edx, dword [ebp - 0x38]
add esp, 0x48
cmp edx, 0x10
jb 0x407c16
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407c0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ced
push edx
push ecx
call fcn.0041d7d5
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 0x407c5c
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407c52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ced
push edx
push ecx
call fcn.0041d7d5
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 0x407c9e
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407c94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ced
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x407cce
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407cc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407cf2
push edx
push ecx
call fcn.0041d7d5
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.0041d163
mov esp, ebp
pop ebp
ret
call fcn.00436dda
call fcn.00436dda
call fcn.00436dda
int3
Function at 0x4082b0
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 0x44940b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x17c
mov eax, dword [0x462014]
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.00434260
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 0x40833d
mov eax, 0x64
jmp 0x40847f
sub esp, 0x18
mov ecx, esp
push 0x463508
call fcn.00417ab0
lea ecx, [ebp - 0x18c]
call fcn.00405b20
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x408369
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push 0x462e4c
call fcn.00417ab0
lea ecx, [ebp - 0x174]
call fcn.00405b20
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40838f
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 0x4083d9
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4083cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40849c
push edx
push ecx
call fcn.0041d7d5
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 0x408431
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40849c
push edx
push ecx
call fcn.0041d7d5
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 0x408458
call esi
jmp 0x40845e
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x154], 6
jb 0x40847f
mov ax, word [ebp - 0x38]
cmp ax, 9
jne 0x408478
mov eax, 1
jmp 0x40847f
test ax, ax
jne 0x40847f
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.0041d163
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00436dda
int3

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

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x4086e8
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4086fb
test al, 0x10
je 0x4086fb
mov al, 1
ret
xor al, al
ret