joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452700
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x45271c
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x452715
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x80]
test eax, eax
je 0x452739
push eax
call fcn.0045137f
add esp, 4
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x7c]
lea esi, [edi + 0x68]
cmp eax, 8
jb 0x45274f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403100
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x452765
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x452780
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403100
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x452796
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4527b1
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403100
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4527c7
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4527e2
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00403100
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4527f8
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x452812
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.00403100
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x452831
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x453e80
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x453ebe
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 4
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x453ebe
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret
Function at 0x457b69
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
je 0x457c3b
call fcn.00454543
test al, al
je 0x457bc3
pop ebp
push ebx
push edx
pop esp
push edi
push eax
pop edx
pop edi
pop edi
push edi
pop esp
pop ebp
pop ebp
push edx
push edi
pop eax
pop eax
push ebp
push ebp
pop edi
push esp
pop ebp
pop esi
pop eax
pop eax
push ebp
pop ebx
push ebx
pop ebp
mov esi, dword [ebp - 8]
call fcn.0045483a
test al, al
je 0x457be0
pop ebp
push ecx
pop eax
push ebp
push ecx
push edx
push esp
pop ebx
push ebp
push ebx
pop esp
push ebp
pop eax
push esi
pop ebp
push ebx
push edi
pop ebx
pop eax
pop edi
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push 0
push eax
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004546e1
test al, al
je 0x457c2b
push ecx
push esi
pop eax
pop eax
pop esi
pop ecx
push eax
push edx
pop edx
push ebp
pop esp
push ebx
pop edi
push ebx
pop ebp
push edi
push ecx
pop eax
push eax
pop ebx
push edx
push ebp
push edi
push ecx
pop edi
push ecx
push esp
pop eax
pop esi
mov ebx, dword [ebp + 0x10]
cmp dword [ebp - 8], 0
je 0x457c3b
cmp ebx, dword [ebp - 4]
jne 0x457c3b
xor eax, eax
inc eax
jmp 0x457c3d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b612
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x45b691
push ebx
push edi
xor edi, edi
push str.958a208fcb7062e5cb0b4133fd0e8da3
mov dword [ebp + 8], edi
call fcn.0048ccb0
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x45b64e
mov cl, byte [edi + str.958a208fcb7062e5cb0b4133fd0e8da3]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x45b638
cmp ebx, 1
jle 0x45b685
cmp byte [esi], 0x37
jne 0x45b685
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x45b663
cmp al, 0x5a
jne 0x45b685
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.0044b500
test eax, eax
je 0x45b685
mov edx, dword [ebp + 8]
test edx, edx
je 0x45b685
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x45b68f
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x45b7c5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de938
mov eax, dword fs:[0]
push eax
mov eax, 0x122c
call fcn.00451480
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1238], esi
cmp dword [0x674a58], ebx
jne 0x45b8f4
call fcn.00454a62
test al, al
je 0x45b82c
push edx
push ecx
pop ecx
pop ecx
push ecx
push esp
push esi
pop ebp
pop ebp
push ebp
pop ecx
pop eax
push ecx
push eax
push edi
push eax
pop ebx
pop ebx
push esp
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0047be90
lea eax, [ebp - 0x218]
push str.C:LogResLog.dll
push eax
call fcn.0048d128
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45b8da
cmp dword [0x66f388], 8
lea ecx, [ebp - 0x1231]
mov eax, 0x66f374
cmovae eax, dword [0x66f374]
push eax
lea eax, [ebp - 0x1230]
push eax
call fcn.0045b705
mov edi, str.ResLog.dll
mov dword [ebp - 4], ebx
push edi
call fcn.0048cd3b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1230]
call fcn.00405290
cmp dword [ebp - 0x121c], 8
lea eax, [ebp - 0x1230]
cmovae eax, dword [ebp - 0x1230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0048d128
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1230]
call fcn.0041e4c0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x674a58], eax
test eax, eax
je 0x45b9d2
push ebx
push 0x5e266c
mov ecx, esi
call fcn.00403000
call fcn.00454543
test al, al
je 0x45b923
pop ecx
pop eax
pop edx
pop esi
pop ebx
push edi
push esi
push esi
pop edx
pop eax
pop esp
push ebx
pop ecx
pop ebx
pop ebp
pop edx
push ebx
pop eax
pop eax
pop ebp
push eax
pop ebp
push esi
xor ebx, ebx
call fcn.004544b9
test al, al
je 0x45b93d
pop esi
push edx
push edx
pop edi
pop esi
pop eax
pop esi
push edi
push esi
pop edx
pop edi
push ebx
pop esp
push edi
pop ecx
push eax
pop edx
call fcn.0045483a
test al, al
je 0x45b960
push edx
pop edi
push esp
push eax
push eax
pop esp
pop ebp
pop edi
pop eax
push edx
pop edx
push esi
push ecx
push eax
push edx
push ebp
pop edi
push ebx
pop edi
pop eax
push esi
pop edx
pop edx
pop esp
pop ebp
push edi
push 0x800
lea eax, [ebp - 0x1218]
push eax
push dword [ebp + 8]
push dword [0x674a58]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x45b9af
cmp word [ebp - 0x1218], 0
je 0x45b998
lea eax, [ebp - 0x1218]
push eax
call fcn.0048cd3b
pop ecx
mov ebx, eax
push ebx
lea ecx, [ebp - 0x1218]
push ecx
mov ecx, dword [ebp - 0x1238]
call fcn.00403000
mov al, 1
jmp 0x45b9d4
call fcn.004549d8
test al, al
je 0x45b9d2
push eax
push edi
pop edi
push ecx
pop ebx
push edi
pop edi
pop eax
pop esp
pop eax
pop edx
push eax
pop ebp
pop esp
pop ecx
push esi
pop edx
pop ebx
push edi
pop ebx
push eax
pop ecx
push ebx
pop edi
push esi
push eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045132d
mov esp, ebp
pop ebp
ret
Function at 0x45bbeb
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.00451480
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2008], eax
call fcn.0045b9f0
test eax, eax
je 0x45bdb4
xor ebx, ebx
push ebx
call fcn.0047f82c
mov dword [ebp - 0x2018], eax
lea eax, [ebp - 0x2018]
push eax
mov dword [ebp - 0x2014], edx
call fcn.0048861f
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x10]
push edi
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x2004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0045b6e7
add esp, 0x28
call fcn.004549d8
test al, al
je 0x45bc9c
push eax
push edi
pop edi
push ecx
pop ebx
push edi
pop edi
pop eax
pop esp
pop eax
pop edx
push eax
pop ebp
pop esp
pop ecx
push esi
pop edx
pop ebx
push edi
pop ebx
push eax
pop ecx
push ebx
pop edi
push esi
push eax
xor ebx, ebx
mov esi, dword [ebp - 0x2008]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
inc edi
test eax, eax
cmovne ebx, edi
call fcn.00454a62
test al, al
je 0x45bcd0
push ecx
push ebp
push eax
pop esp
pop ecx
push edx
pop esp
pop ebp
pop ecx
push esp
push ebx
push edx
pop edi
pop esp
pop ebp
pop edx
push edx
push ecx
pop ecx
xor edi, edi
inc edi
push 0x5e91b8
push esi
call fcn.0048915a
mov esi, eax
mov dword [ebp - 0x2010], esi
pop ecx
pop ecx
test esi, esi
je 0x45bdb4
test ebx, ebx
jne 0x45bd0e
push esi
push 2
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x200c], 0xfeff
push edi
push eax
call fcn.0048d090
add esp, 0x10
call fcn.00454543
test al, al
je 0x45bd3a
pop ebp
push ebx
push edx
pop esp
push edi
push eax
pop edx
pop edi
pop edi
push edi
pop esp
pop ebp
pop ebp
push edx
push edi
pop eax
pop eax
push ebp
push ebp
pop edi
push esp
pop ebp
pop esi
pop eax
pop eax
push ebp
pop ebx
push ebx
pop ebp
mov esi, dword [ebp - 0x2010]
call fcn.0045483a
test al, al
je 0x45bd57
pop ebp
push ecx
pop eax
push ebp
push ecx
push edx
push esp
pop ebx
push ebp
push ebx
pop esp
push ebp
pop eax
push esi
pop ebp
push ebx
push edi
pop ebx
pop eax
pop edi
lea eax, [ebp - 0x2004]
push eax
call fcn.0048cd3b
push esi
add eax, eax
push eax
lea eax, [ebp - 0x2004]
push 1
push eax
call fcn.0048d090
push esi
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xd
push 1
push eax
call fcn.0048d090
push esi
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xa
push 1
push eax
call fcn.0048d090
push esi
call fcn.00488f58
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045132d
mov esp, ebp
pop ebp
ret
Function at 0x45d368
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x5ded0b
call fcn.005d260e
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00470bcd
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.00470c01
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x45d3a1
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d411
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5e28c4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x45d3de
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45d411
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.00470be0
call fcn.005d25d7
ret 8
Function at 0x45d934
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5dedcf
call fcn.005d260e
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00470bcd
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00470c01
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x45d974
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d9d6
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5e28c4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x45d9b1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45d9d6
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00470be0
call fcn.005d25d7
ret 8

Function at 0x45d9f2
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x5dedfb
call fcn.005d2642
mov esi, ecx
mov ebx, 0x5e2804
lea eax, [ebp - 0x230]
push ebx
push str.InstallTime
push str.AppInfo
push eax
call fcn.0045de9b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push ebx
call fcn.00427b60
test eax, eax
jne 0x45daa2
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0047be90
lea eax, [esi + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x45da56
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
push str.InstallTime
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x45da82
xor eax, eax
jmp 0x45da8f
lea eax, [ebp - 0x218]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403000
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0047f759
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.0041e4c0
mov eax, esi
call fcn.005d25ec
ret
Function at 0x45db39
Capabilities:
Read .ini file

Disassembly:
push 0x864
mov eax, 0x5dee44
call fcn.005d2642
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cdq
push edx
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.00458583
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x858]
call fcn.00403710
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0047be90
lea ecx, [ebx + 0xd4]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x45dba3
mov ecx, dword [ecx]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push ecx
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x830], 0
xor eax, eax
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
cmp word [ebp - 0x810], ax
je 0x45dbfd
lea eax, [ebp - 0x810]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.00403000
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x840]
call fcn.00457f80
test eax, eax
jne 0x45dc6d
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov ecx, ebx
cmovae eax, dword [ebp - 0x828]
push eax
push edi
push esi
lea eax, [ebp - 0x870]
push eax
call fcn.0045de9b
push eax
lea ecx, [ebp - 0x858]
call fcn.00403950
xor ebx, ebx
lea ecx, [ebp - 0x870]
push ebx
push 1
call fcn.0041e4c0
jmp 0x45dc84
push 0xffffffffffffffff
xor ebx, ebx
lea eax, [ebp - 0x840]
push ebx
push eax
lea ecx, [ebp - 0x858]
call fcn.00402ee0
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.0047f759
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x840]
mov esi, eax
call fcn.0041e4c0
push ebx
push 1
lea ecx, [ebp - 0x858]
call fcn.0041e4c0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0041e4c0
mov eax, esi
call fcn.005d25ec
ret 0xc
Function at 0x45dcd5
Capabilities:
Read .ini file

Disassembly:
push 0x844
mov eax, 0x5dee99
call fcn.005d2642
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x828]
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
and dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x850], esi
mov dword [ebp - 0x844], eax
call fcn.00403740
lea eax, [ebp - 0x828]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00403710
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0x84c], 1
jne 0x45ddae
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0047be90
lea eax, [ebx + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x45dd64
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x844]
push dword [ebp - 0x848]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x810], 0
jne 0x45dd92
xor eax, eax
jmp 0x45dd9f
lea eax, [ebp - 0x810]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00403000
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.00457f80
test eax, eax
jne 0x45ddf2
push edi
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
mov ecx, ebx
push dword [ebp - 0x848]
push eax
call fcn.0045de9b
push eax
mov ecx, esi
call fcn.00403950
push 0
push 1
lea ecx, [ebp - 0x840]
call fcn.0041e4c0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.0041e4c0
mov eax, esi
call fcn.005d25ec
ret 0x14

Function at 0x45deef
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x5e0958
call fcn.005d2642
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x45df1a
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x45dff8
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x5e266c
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00403000
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.0047be90
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x5e27dc
push eax
call fcn.00407930
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x45dfad
call fcn.0045de0b
jmp 0x45dfb2
call fcn.0045dec5
push eax
lea ecx, [ebp - 0x828]
call fcn.00403950
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.0041e4c0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.0047f759
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.0041e4c0
mov eax, esi
call fcn.005d25ec
ret 0xc
Function at 0x45e002
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5deee3
call fcn.005d2642
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0047be90
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x45e05f
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00403740
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x45e0a5
mov eax, dword [esi]
jmp 0x45e0a7
mov eax, esi
push ebx
push eax
call fcn.0048d0e8
pop ecx
pop ecx
test eax, eax
jne 0x45e0f3
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x45e0d7
call fcn.0045de0b
jmp 0x45e0dc
call fcn.0045dec5
push eax
mov ecx, esi
call fcn.00403950
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.0041e4c0
mov eax, esi
call fcn.005d25ec
ret 0x10
Function at 0x45eca5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.0047be90
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x45ecde
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5e7e08
push eax
call fcn.00407930
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45ed16
lea eax, [ebp - 0x20c]
push eax
call fcn.0045fcde
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0047be90
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5e60d0
push eax
call fcn.00407930
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x45ed55
mov eax, esi
jmp 0x45ed62
lea eax, [ebp - 0x414]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00403000
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0047be90
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5e60d0
push eax
call fcn.00407930
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x45edb4
mov eax, esi
jmp 0x45edc1
lea eax, [ebp - 0x61c]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00403000
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0047be90
lea eax, [ebp - 0xa44]
push 0x5e2820
push eax
call fcn.0046076c
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x45ee02
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5e49cc
push eax
call fcn.00407930
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.0041e4c0
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45ee43
lea eax, [ebp - 0x824]
push eax
call fcn.0045fcde
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0047be90
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5e60d0
push eax
call fcn.00407930
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x45ee8d
lea eax, [ebp - 0xa2c]
push eax
call fcn.0048cd3b
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00403000
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045132d
mov esp, ebp
pop ebp
ret