joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bf30
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x440], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 4]
push eax
push 9
push 0
push 0x597798
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43bf8d
xor eax, eax
jmp 0x43c0bc
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x224], 0
jmp 0x43bfce
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x43c0af
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43c0aa
mov dword [ebp - 0x230], 0x104
mov word [ebp - 0x438], 0
push 0x206
push 0
lea ecx, [ebp - 0x436]
push ecx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x228], 1
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x228]
push ecx
push 0
push 0x597804
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x43c0a0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x438]
push ecx
call fcn.00419910
add esp, 8
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x43c0a0
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43bfbf
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4
Function at 0x43e500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a856
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x220], 0
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0049e690
add esp, 0xc
push 0
push 0x19
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43e603
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x23c]
call fcn.00401600
mov dword [ebp - 4], 0
push 0x597c28
lea ecx, [ebp - 0x23c]
call fcn.00403850
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00401670
push eax
mov ecx, dword [ebp - 0x264]
call fcn.0043e980
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x43e5f1
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.00401640
mov eax, dword [ebp - 0x25c]
jmp 0x43e6ab
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.00401640
push 0
push 0x10
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43e6a9
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x258]
call fcn.00401600
mov dword [ebp - 4], 1
push 0x597c2c
lea ecx, [ebp - 0x258]
call fcn.00403850
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00401670
push eax
mov ecx, dword [ebp - 0x264]
call fcn.0043e980
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x43e697
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00401640
mov eax, dword [ebp - 0x260]
jmp 0x43e6ab
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00401640
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4
Function at 0x43fe60
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ab34
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x864], ecx
mov word [ebp - 0x854], 0
push 0x206
push 0
lea eax, [ebp - 0x852]
push eax
call fcn.0049e690
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x854]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x854]
push edx
lea ecx, [ebp - 0x648]
call fcn.00401600
mov dword [ebp - 4], 0
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x648]
call fcn.00403850
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x648]
call fcn.00403850
push str..lnk
lea ecx, [ebp - 0x648]
call fcn.00403850
lea ecx, [ebp - 0x648]
call fcn.00401670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ff48
mov dword [ebp - 0x858], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x648]
call fcn.00401640
mov eax, dword [ebp - 0x858]
jmp 0x440072
mov word [ebp - 0x424], 0
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x62c], 0
push 0x206
push 0
lea edx, [ebp - 0x62a]
push edx
call fcn.0049e690
add esp, 0xc
lea ecx, [ebp - 0x648]
call fcn.00401670
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0049eb52
add esp, 8
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x424]
push edx
mov ecx, dword [ebp - 0x864]
call fcn.0043f970
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0049e690
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x62c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x21c]
push eax
call fcn.0049e752
add esp, 4
test eax, eax
jne 0x44001b
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.0049eb52
add esp, 8
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440050
mov dword [ebp - 0x85c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x648]
call fcn.00401640
mov eax, dword [ebp - 0x85c]
jmp 0x440072
mov dword [ebp - 0x860], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x648]
call fcn.00401640
mov eax, dword [ebp - 0x860]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4
Function at 0x4408b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
movzx eax, byte [0x5ff408]
test eax, eax
je 0x4408de
mov al, byte [0x5ff408]
jmp 0x44095f
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0049e690
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44095a
lea eax, [ebp - 0x210]
push eax
call fcn.004a1a95
add esp, 4
push str.config_systemprofile
lea ecx, [ebp - 0x210]
push ecx
call fcn.00419910
add esp, 8
test eax, eax
jne 0x440953
push str.cocuments_and_settingslocalService
lea edx, [ebp - 0x210]
push edx
call fcn.00419910
add esp, 8
test eax, eax
je 0x44095a
mov byte [0x5ff408], 1
mov al, byte [0x5ff408]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret

Function at 0x440ae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0049e690
add esp, 0xc
push 0
push 0x17
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x440b69
push 0x598078
lea edx, [ebp - 0x210]
push edx
call fcn.0049eb28
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00440b80
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4
Function at 0x4412c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58acb1
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5f44b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0x104
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
call fcn.00437c40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00437e70
test eax, eax
je 0x4413d6
lea eax, [ebp - 0x38]
push eax
push 0xf013f
push 0
push 0x59809c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x44135b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00437c60
jmp 0x441490
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4413a3
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00437c60
jmp 0x441490
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x441481
lea edx, [ebp - 0x38]
push edx
push 0xf003f
push 0
push 0x5980b0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x44140e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00437c60
jmp 0x441490
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x441453
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00437c60
jmp 0x441490
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00437c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x446800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x446840
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x44684c
mov al, 1
jmp 0x4469ef
mov dword [ebp - 0x10], 8
call fcn.00447190
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00447190
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00447170
add esp, 8
movzx eax, al
test eax, eax
je 0x44688f
xor al, al
jmp 0x4469ef
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00446210
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0042ace0
mov ecx, eax
call fcn.0042b080
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004037a0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042ace0
mov ecx, eax
call fcn.0042b080
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00446d60
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x44690a
cmp dword [ebp - 0x6c], 1
je 0x446911
cmp dword [ebp - 0x6c], 3
je 0x4469ab
jmp 0x4469c3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042ace0
mov ecx, eax
call fcn.0042b080
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x446974
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042ace0
mov ecx, eax
call fcn.0042b080
push eax
call fcn.004a3cf4
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x446974
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x61]
jmp 0x4469ef
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x446997
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x62]
jmp 0x4469ef
cmp dword [ebp - 0x38], 0
jne 0x4469a9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0042bba0
jmp 0x4469db
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x63]
jmp 0x4469ef
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x64]
jmp 0x4469ef
jmp 0x4468a2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x4490d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b72a
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x449108
xor al, al
jmp 0x4492db
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0049e690
add esp, 0xc
push 0x598fd0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.00448f20
add esp, 4
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x498]
mov dword [ebp - 0x49c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x49c]
call fcn.00401670
push eax
push 0x598fdc
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0049e5b6
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00401640
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4491f2
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x45c]
push ecx
call fcn.00439630
add esp, 8
mov dword [ebp - 0x4a0], eax
mov edx, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a4], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x4a4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004036b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.00401640
mov al, 1
jmp 0x4492db
mov word [ebp - 0x424], 0
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.0049e690
add esp, 0xc
push 0x598fec
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x478]
push eax
call fcn.00448f20
add esp, 4
mov dword [ebp - 0x4a8], eax
mov ecx, dword [ebp - 0x4a8]
mov dword [ebp - 0x4ac], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x4ac]
call fcn.00401670
push eax
push 0x598ffc
lea edx, [ebp - 0x424]
push edx
call fcn.0049e5b6
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.00401640
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4492d9
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x494]
push edx
call fcn.00439630
add esp, 8
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x4b0]
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x4b4]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004036b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x494]
call fcn.00401640
mov al, 1
jmp 0x4492db
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x449300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b762
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x59900c
mov eax, dword [ebp + 8]
push eax
call fcn.004a06ea
add esp, 8
test eax, eax
jne 0x449347
mov eax, 1
jmp 0x44941b
lea ecx, [ebp - 0x2c]
call fcn.00403660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004490d0
add esp, 8
movzx eax, al
test eax, eax
jne 0x44938b
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401640
mov eax, dword [ebp - 0x50]
jmp 0x44941b
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00422e80
add esp, 4
lea edx, [ebp - 0x48]
push edx
call fcn.00449000
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00401670
push eax
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401670
push eax
push 0x599020
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4493f6
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401640
mov eax, dword [ebp - 0x54]
jmp 0x44941b
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401640
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x44d220
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0xa10], 0
push 0x206
push 0
lea eax, [ebp - 0xa0e]
push eax
call fcn.0049e690
add esp, 0xc
push 0x5991f8
lea ecx, [ebp - 0xa10]
push ecx
call fcn.0049eb52
add esp, 8
mov word [ebp - 0x600], 0
push 0x206
push 0
lea edx, [ebp - 0x5fe]
push edx
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x808], 0
push 0x206
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.0049e690
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x808]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x808]
push edx
call fcn.00407130
add esp, 8
mov word [eax], 0
mov dword [ebp - 0xc24], 0x1f4
mov word [ebp - 0x3f0], 0
push 0x3e6
push 0
lea eax, [ebp - 0x3ee]
push eax
call fcn.0049e690
add esp, 0xc
lea ecx, [ebp - 0xa10]
push ecx
push 0x599208
lea edx, [ebp - 0xc18]
push edx
call fcn.0049e5b6
add esp, 0xc
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44d328
jmp 0x44d4b0
lea ecx, [ebp - 0x808]
push ecx
call fcn.0049e752
add esp, 4
lea edx, [ebp + eax*2 - 0x806]
push edx
lea eax, [ebp - 0x600]
push eax
call fcn.0049eb52
add esp, 8
lea ecx, [ebp - 0x600]
push ecx
lea edx, [ebp - 0xa10]
push edx
push 0x599220
lea eax, [ebp - 0xc18]
push eax
call fcn.0049e5b6
add esp, 0x10
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xc1c], ecx
mov edx, dword [ebp - 0xc1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc24]
sub ecx, 1
push ecx
lea edx, [ebp - 0x3f0]
push edx
call fcn.004a3f21
add esp, 0x10
mov eax, dword [ebp - 0xc24]
mov word [ebp + eax*2 - 0x3f2], 0
mov dword [ebp - 0xc20], 0
lea ecx, [ebp - 0xc18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44d3d2
mov dword [ebp - 0xc20], 1
push 0x599234
lea edx, [ebp - 0xc18]
push edx
call fcn.004a3e3c
add esp, 8
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x44d4b0
cmp dword [ebp - 0xc20], 0
jne 0x44d425
mov word [ebp - 0xc30], 0xfeff
mov eax, dword [ebp - 0x3f4]
push eax
push 2
push 1
lea ecx, [ebp - 0xc30]
push ecx
call fcn.004a3cf4
add esp, 0x10
lea edx, [ebp - 0x3f0]
push edx
call fcn.0049e752
add esp, 4
mov dword [ebp - 0xc28], eax
mov eax, dword [ebp - 0x3f4]
push eax
mov ecx, dword [ebp - 0xc28]
shl ecx, 1
push ecx
push 1
lea edx, [ebp - 0x3f0]
push edx
call fcn.004a3cf4
add esp, 0x10
mov word [ebp - 0xc2c], 0xd
mov eax, dword [ebp - 0x3f4]
push eax
push 2
push 1
lea ecx, [ebp - 0xc2c]
push ecx
call fcn.004a3cf4
add esp, 0x10
mov word [ebp - 0xc2c], 0xa
mov edx, dword [ebp - 0x3f4]
push edx
push 2
push 1
lea eax, [ebp - 0xc2c]
push eax
call fcn.004a3cf4
add esp, 0x10
mov ecx, dword [ebp - 0x3f4]
push ecx
call fcn.004a3b19
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x44e6b0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x64c], ecx
mov word [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x222], eax
mov dword [ebp - 0x21e], eax
mov dword [ebp - 0x21a], eax
mov dword [ebp - 0x216], eax
mov word [ebp - 0x212], ax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0049e690
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5993e0
call fcn.0049e752
add esp, 4
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.004a5ebb
add esp, 0xc
mov word [ebp - 0x648], 0
push 0x206
push 0
lea edx, [ebp - 0x646]
push edx
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x440], 0
push 0x206
push 0
lea eax, [ebp - 0x43e]
push eax
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
push 0x104
lea ecx, [ebp - 0x440]
push ecx
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x234]
push ecx
push 0x104
lea edx, [ebp - 0x648]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x44e807
mov ecx, dword [ebp - 0x234]
push ecx
push str._08X
mov edx, dword [ebp + 8]
push edx
call fcn.0049e5b6
add esp, 0xc
jmp 0x44e818
push 0x5993f4
mov eax, dword [ebp + 8]
push eax
call fcn.0049eb52
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4