Function at 0x424790
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471ce0
mov eax, dword fs:[0]
push eax
sub esp, 0xbbc
mov eax, dword [0x496534]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x29c
lea eax, [ebp - 0x4d4]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0044f210
xor eax, eax
xorps xmm0, xmm0
push 0x208
push eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x978]
push eax
movq qword [ebp - 0x1e], xmm0
call fcn.0044f210
push 0x80
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.0044f210
xor eax, eax
xorps xmm0, xmm0
push 0x29c
push eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x770]
push eax
movq qword [ebp - 0x2a], xmm0
call fcn.0044f210
add esp, 0x30
lea eax, [ebp - 0x770]
push 0x14e
push eax
push dword [0x49c3ec]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x424afa
push 5
lea eax, [ebp - 0x2c]
push eax
push 0x40
lea eax, [ebp - 0x238]
push eax
push 0x104
lea eax, [ebp - 0x978]
push eax
push 5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x770]
push eax
call fcn.004563a3
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x978]
push 0x487d7c
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4d4]
push str._s_s_s
push eax
call edi
add esp, 0x38
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x4d4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x424afa
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x1b0]
push str._s_s
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x4d4]
add esp, 0x10
push eax
push 0x40
lea eax, [ebp - 0xac]
push eax
push 0x486438
lea eax, [ebp - 0x1b0]
push eax
push str.DEBUG
call esi
lea ecx, [ebp - 0xac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424917
sub ecx, edx
sar ecx, 1
jne 0x424967
lea eax, [ebp - 0x4d4]
push eax
push 0x40
lea eax, [ebp - 0xac]
push eax
push 0x486438
push str.DEFAULT
push str.DEBUG
call esi
lea ecx, [ebp - 0xac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424952
sub ecx, edx
sar ecx, 1
je 0x424afa
lea eax, [ebp - 0x4d4]
push eax
push 0x40
lea eax, [ebp - 0x12c]
push eax
push 0x486438
push str.DEBUG
lea eax, [ebp - 0xac]
push eax
call esi
lea eax, [ebp - 0x12c]
push 0x4868d4
push eax
call fcn.00451d34
add esp, 8
test eax, eax
jne 0x424afa
lea eax, [ebp - 0x4d4]
mov byte [0x49c3f7], 1
push eax
push 0x40
lea eax, [ebp - 0x12c]
push eax
push 0x486438
push 0x487dc0
lea eax, [ebp - 0xac]
push eax
call esi
lea eax, [ebp - 0x12c]
push 0x4868d4
push eax
call fcn.00451d34
add esp, 8
test eax, eax
jne 0x424a80
lea eax, [ebp - 0x4d4]
mov byte [0x49c3f6], 1
push eax
push 0x45
lea eax, [ebp - 0x1b8]
push eax
push 0x486438
push str.LOGFILE
lea eax, [ebp - 0xac]
push eax
call esi
lea ecx, [ebp - 0x1b8]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424a20
sub ecx, edx
sar ecx, 1
je 0x424a4e
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x770]
push 0x14e
push eax
call fcn.00451ea9
add esp, 0xc
jmp 0x424a6f
push str.UtilDbg.txt
lea eax, [ebp - 0x978]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x770]
push str._s_s_s
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x770]
mov ecx, 0x49c9fc
push eax
call fcn.004055f0
lea eax, [ebp - 0x4d4]
push eax
push 0x40
lea eax, [ebp - 0x12c]
push eax
push 0x486438
push str.OUTPUTDBGSTR
lea eax, [ebp - 0xac]
push eax
call esi
lea eax, [ebp - 0x12c]
push 0x4868d4
push eax
call fcn.00451d34
movzx ecx, byte [0x49c3f5]
add esp, 8
test eax, eax
mov edx, 1
lea eax, [ebp - 0x4d4]
cmove ecx, edx
push eax
push edx
push str.LEVEL
lea eax, [ebp - 0xac]
mov byte [0x49c3f5], cl
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [0x49748c]
cmp eax, 1
cmovg ecx, eax
mov dword [0x49748c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044ae75
mov esp, ebp
pop ebp
ret