Function at 0x421ee0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4549bb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x46c664]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov edi, edx
push eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], ebx
call fcn.00421760
mov dword [ebp - 4], ebx
xor edx, edx
mov edi, 7
push 5
mov eax, str.Level
lea esi, [ebp - 0x48]
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.0040e990
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x2c], ax
push 5
mov eax, str.Trace
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.0040e990
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x88]
mov edx, 8
cmp dword [ecx + 0x14], edx
jb 0x421f9d
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edx
jae 0x421fa8
lea esi, [ebp - 0x48]
cmp dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x2c]
jae 0x421fb3
lea edx, [ebp - 0x2c]
push ecx
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
jb 0x421fd5
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], 8
jb 0x421ff6
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043266a
add esp, 4
xor edx, edx
lea eax, [esi - 1]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp eax, 2
ja 0x422012
mov ecx, dword [ebp - 0x84]
mov dword [ecx], esi
xor edx, edx
push 5
mov eax, str.Flush
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.0040e990
mov dword [ebp - 4], 3
xor eax, eax
mov word [ebp - 0x48], ax
push 5
mov eax, str.Trace
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.0040e990
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x84]
movzx eax, byte [ecx + 0x5d]
mov ecx, dword [ebp - 0x88]
mov esi, 8
cmp dword [ecx + 0x14], esi
jb 0x422071
mov edx, dword [ecx]
jmp 0x422073
mov edx, ecx
cmp dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x2c]
jae 0x42207e
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x42208a
lea ecx, [ebp - 0x48]
push edx
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
jb 0x4220ac
mov edx, dword [ebp - 0x48]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4220cd
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043266a
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp esi, ebx
je 0x4220e7
mov eax, dword [ebp - 0x84]
mov byte [eax + 0x5d], 1
xor ecx, ecx
push 9
mov eax, str.MaxBackup
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
call fcn.0040e990
mov dword [ebp - 4], 5
xor edx, edx
push 5
mov eax, str.Trace
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.0040e990
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 4]
mov edx, 8
cmp dword [ecx + 0x14], edx
jb 0x422143
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edx
jae 0x42214e
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x48]
jae 0x422159
lea edx, [ebp - 0x48]
push ecx
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 8
jb 0x42217b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043266a
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x42219c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043266a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp esi, 0xff
ja 0x4221b9
mov edx, dword [ebp - 0x84]
mov dword [edx + 4], esi
xor eax, eax
mov word [ebp - 0x80], ax
push ebx
mov eax, 0x45d498
lea esi, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
call fcn.0040e990
mov dword [ebp - 4], edi
xor ecx, ecx
push 9
mov eax, str.TargetDir
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
call fcn.0040e990
mov byte [ebp - 4], 8
xor edx, edx
push 5
mov eax, str.Trace
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.0040e990
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, esi
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0041c720
add esp, 0x14
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x84]
add esi, 0x40
mov edi, eax
call fcn.0040b350
mov byte [ebp - 4], 9
mov edi, 8
cmp dword [ebp - 0x50], edi
jb 0x422260
mov edx, dword [ebp - 0x64]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x34], edi
jb 0x422285
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043266a
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], edi
jb 0x4222aa
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043266a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c], edi
jb 0x4222ce
mov edx, dword [ebp - 0x80]
push edx
call fcn.0043266a
add esp, 4
xor eax, eax
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
cmp dword [eax + 0x50], ebx
je 0x42232c
mov ecx, esi
lea edx, [ebp - 0x64]
call fcn.0041b360
mov dword [ebp - 4], 0xb
mov edi, eax
call fcn.0040b350
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], 8
jb 0x422316
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0043266a
add esp, 4
mov eax, dword [ebp - 0x84]
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
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.00432675
mov esp, ebp
pop ebp
ret