joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5703c2
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004b6500
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.00567ea0
movzx ecx, al
test ecx, ecx
je 0x43b90b
push 0x586404
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x43b91d
push 0x58640c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x586414
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b947
xor eax, eax
jmp 0x43ba7f
push 0x586434
mov eax, dword [ebp + 0xc]
push eax
push 0x586438
lea ecx, [ebp - 0x254]
push ecx
call fcn.0043d430
add esp, 0xc
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x298], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x298]
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.0042a0b0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.004017f0
mov ecx, dword [ebp + 0x10]
call fcn.0043d4c0
movzx edx, al
test edx, edx
jne 0x43ba44
push 0x58644c
mov eax, dword [ebp + 0x10]
push eax
push 0x586450
lea ecx, [ebp - 0x270]
push ecx
call fcn.0043d430
add esp, 0xc
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0042a0b0
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x238]
call fcn.00419460
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.004017f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.004017f0
push 0
lea ecx, [ebp - 0x238]
call fcn.00401830
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0043b770
add esp, 0xc
mov dword [ebp - 0x290], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.004017f0
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret

Function at 0x43bbe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x43bba0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x43da20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570516
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5e5e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 8], 0
je 0x43da58
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x43da5f
xor eax, eax
jmp 0x43db1a
push 0x5c
mov edx, dword [ebp + 8]
push edx
call fcn.004bf0c6
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43da7d
xor eax, eax
jmp 0x43db1a
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp + 8]
sar eax, 1
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004403b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00437570
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
je 0x43daba
cmp dword [ebp - 0x10], 5
jne 0x43dad5
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401980
mov eax, dword [ebp - 0x24]
jmp 0x43db1a
mov edx, dword [ebp - 0x1c]
add edx, 2
push edx
lea ecx, [ebp - 0x18]
call fcn.00401900
push str._:____
lea ecx, [ebp - 0x18]
call fcn.004403e0
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x20], 0xffffffff
sete al
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
call fcn.00401980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401980
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x43de10
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x540], ecx
xor eax, eax
mov word [ebp - 0x538], ax
push 0x206
push 0
lea ecx, [ebp - 0x536]
push ecx
call fcn.004b6500
add esp, 0xc
xor edx, edx
mov word [ebp - 0x320], dx
push 0x206
push 0
lea eax, [ebp - 0x31e]
push eax
call fcn.004b6500
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x320]
push edx
call fcn.004b5fa5
add esp, 8
lea eax, [ebp - 0x538]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x538]
push ecx
call fcn.00424430
add esp, 4
push 0x586a34
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x5ec024]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x330], eax
cmp dword [ebp - 0x330], 0
jne 0x43dec4
jmp 0x43e000
mov ecx, dword [ebp - 0x330]
push ecx
mov edx, dword [0x5ec024]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x330]
push ecx
mov edx, dword [0x5ec024]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x114], eax
push str.my7zData.7z
lea eax, [ebp - 0x538]
push eax
call fcn.004b5f77
add esp, 8
lea ecx, [ebp - 0x538]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43df3f
lea edx, [ebp - 0x538]
push edx
call fcn.004279e0
add esp, 4
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x538]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0xffffffff
je 0x43dfa8
mov dword [ebp - 0x53c], 0
push 0
lea ecx, [ebp - 0x53c]
push ecx
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x324]
push eax
mov ecx, dword [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x328]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004b6500
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x538]
push edx
call fcn.00424590
add esp, 8
push 1
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x320]
push ecx
call fcn.00436bf0
add esp, 0xc
lea edx, [ebp - 0x538]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret 8
Function at 0x43e100
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x48], ax
push 0x3e
push 0
lea ecx, [ebp - 0x46]
push ecx
call fcn.004b6500
add esp, 0xc
movzx edx, word [ebp + 8]
push edx
push str._c:_
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x43ef00
Capabilities:
Check if file exists
Copy file
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004b6500
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.004b6500
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Softlink
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.SLDefault.xml
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x5eba38
call fcn.00401830
push eax
lea edx, [ebp - 0x210]
push edx
call fcn.004b5fa5
add esp, 8
push str.Softlink.xml
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43efec
push 0
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x43fc60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
jne 0x43fc79
mov eax, 1
jmp 0x43fd82
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x586c58
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43fd7d
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
push 0x586cac
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43fcd4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x43fd82
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0046e810
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43fd73
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0x586ccc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43fd3f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004b5f6c
add esp, 4
mov eax, 1
jmp 0x43fd82
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004befee
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004b5f6c
add esp, 4
xor eax, eax
jmp 0x43fd82
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x440150
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570795
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], 1
push 0x5eba38
lea ecx, [ebp - 0x2c]
call fcn.004017b0
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00419460
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.004017b0
mov dword [ebp - 0x60], eax
call fcn.004416f0
add esp, 0x1c
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x44027c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp + 0x24]
push eax
call fcn.004017b0
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00419960
add esp, 0x20
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
push 0x586d30
lea ecx, [ebp - 0x48]
call fcn.004189d0
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x48]
call fcn.00419460
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x54], esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x48]
push eax
call fcn.004017b0
mov dword [ebp - 0x70], eax
push esi
call fcn.00419770
add esp, 0x20
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
call fcn.004418f0
add esp, 0x1c
push 0
lea ecx, [ebp - 0x48]
call fcn.00401830
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401830
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
movzx edx, byte [ebp + 0x40]
test edx, edx
je 0x440270
lea ecx, [ebp - 0x2c]
call fcn.00401830
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004017f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004017f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004017f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004017f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x4416f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5708d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5e5e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x44175a
mov eax, dword [ebp - 0x14]
and eax, 0x10
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004017f0
mov eax, dword [ebp - 0x1c]
jmp 0x4417d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
je 0x4417a3
cmp dword [ebp - 0x18], 3
je 0x4417a3
cmp dword [ebp - 0x18], 0x7b
je 0x4417a3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp + 8]
push edx
call fcn.004017b0
mov dword [ebp - 0x28], eax
call fcn.004417f0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4417a3
mov dword [ebp - 0x30], 1
jmp 0x4417aa
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004017f0
mov eax, dword [ebp - 0x20]
jmp 0x4417d3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4418f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570938
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x5e5e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401870
test eax, eax
ja 0x441947
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004017f0
mov eax, dword [ebp - 0x14]
jmp 0x441a56
lea ecx, [ebp + 8]
call fcn.00401870
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.00438820
movzx eax, word [eax]
cmp eax, 0x5c
jne 0x44198d
lea ecx, [ebp + 8]
call fcn.00401870
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.00438820
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp + 8]
call fcn.00401830
push eax
lea ecx, [ebp + 8]
call fcn.0041a5f0
lea ecx, [ebp + 8]
call fcn.00401870
cmp eax, 3
jb 0x4419bf
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp + 8]
push edx
call fcn.004017b0
mov dword [ebp - 0x2c], eax
call fcn.00441af0
add esp, 0x1c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4419da
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004017f0
mov eax, dword [ebp - 0x1c]
jmp 0x441a56
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x24], esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp + 8]
push eax
call fcn.004017b0
mov dword [ebp - 0x34], eax
push esi
call fcn.00441a70
add esp, 0x20
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
call fcn.004418f0
add esp, 0x1c
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x441a37
push 0
lea ecx, [ebp + 8]
call fcn.00401830
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x441a37
mov dword [ebp - 0x44], 1
jmp 0x441a3e
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004017f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5709a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5e5e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x441b45
mov eax, dword [ebp - 0x14]
and eax, 0x10
je 0x441b45
mov dword [ebp - 0x1c], 1
jmp 0x441b4c
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004017f0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x441bc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570a0f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004b6500
add esp, 0xc
push 0x104
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
call fcn.00401770
mov byte [ebp - 4], 1
push 0x586d6c
lea ecx, [ebp - 0x240]
call fcn.004189d0
push 0x586d68
lea ecx, [ebp + 8]
call fcn.00401830
push eax
call fcn.004b77a7
add esp, 8
test eax, eax
je 0x441d61
push 0x586d64
lea ecx, [ebp - 0x25c]
call fcn.00401770
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2bc]
push edx
lea eax, [ebp + 8]
push eax
push 0x586d64
lea ecx, [ebp - 0x278]
call fcn.00401770
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c4]
push edx
lea eax, [ebp - 0x294]
push eax
call fcn.00419480
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2cc]
push edx
lea eax, [ebp - 0x2b0]
push eax
call fcn.00419480
add esp, 0xc
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2d4]
push edx
lea ecx, [ebp + 8]
call fcn.00401810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b0]
call fcn.004017f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.004017f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.004017f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.004017f0
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x441d7b
push 0x586d5c
lea ecx, [ebp - 0x240]
call fcn.004189d0
jmp 0x441d8b
push str.__u
lea ecx, [ebp - 0x240]
call fcn.004189d0
push str.__s
lea ecx, [ebp - 0x240]
call fcn.004189d0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00419460
lea edx, [ebp - 0x240]
push edx
call fcn.00441e00
add esp, 4
mov byte [ebp - 0x2b1], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.004017f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004017f0
mov al, byte [ebp - 0x2b1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x441e00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570a4b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5e5e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004420e0
movzx eax, al
test eax, eax
je 0x441eb3
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
mov edx, dword [ebp + 8]
push edx
call fcn.004017b0
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
push eax
call fcn.00441f30
add esp, 0x20
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
call fcn.004048a0
push eax
call fcn.00442460
add esp, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00404950
cmp dword [ebp - 0x70], 0
je 0x441eb1
mov al, 1
jmp 0x441f1c
jmp 0x441f1a
push 0x44
push 0
lea edx, [ebp - 0x6c]
push edx
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00401830
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x441f1a
push 0xdbba0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x441f1c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret