Function at 0x404530
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x444a88
mov eax, dword fs:[0]
push eax
mov eax, 0x2180
call fcn.0041e890
mov eax, dword [0x4521d0]
xor eax, esp
mov dword [esp + 0x217c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4521d0]
xor eax, esp
push eax
lea eax, [esp + 0x2194]
mov dword fs:[0], eax
mov eax, dword [esp + 0x21b0]
mov esi, dword [esp + 0x21a4]
mov edi, dword [esp + 0x21a8]
mov ebp, dword [esp + 0x21ac]
xor ebx, ebx
push 0x1ffe
lea ecx, [esp + 0x196]
push ebx
push ecx
mov dword [esp + 0x3c], eax
mov word [esp + 0x19c], bx
call fcn.0041d8e0
add esp, 0xc
cmp esi, ebx
je 0x404964
cmp edi, ebx
je 0x404964
cmp ebp, ebx
je 0x404964
call dword [0x4521bc]
push ebp
push 0x1000
lea edx, [esp + 0x198]
push edx
push 0x447614
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x190], bx
je 0x404964
mov edi, 7
lea eax, [esp + 0x190]
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], ebx
mov word [esp + 0x178], bx
lea edx, [eax + 2]
jmp 0x404620
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404620
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x17c]
call fcn.00402e60
mov dword [esp + 0x219c], ebx
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov word [esp + 0x140], bx
mov dword [esp + 0x170], 0xf
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
cmp dword [esp + 0x188], ebx
mov byte [esp + 0x219c], 2
mov ebp, 8
je 0x4048b8
mov dword [esp + 0x34], 0x5c
lea esp, [esp]
push 1
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x180]
call fcn.00401da0
mov edi, eax
cmp edi, 0xffffffff
je 0x404714
push edi
push ebx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x180]
call fcn.004033a0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x148]
mov byte [esp + 0x21a8], 3
call fcn.00402d70
cmp dword [esp + 0x2c], ebp
mov byte [esp + 0x219c], 2
jb 0x404701
mov eax, dword [esp + 0x18]
push eax
call fcn.0041d698
add esp, 4
lea ecx, [edi + 1]
push ecx
push ebx
lea ecx, [esp + 0x17c]
call fcn.00402280
jmp 0x40472b
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x17c]
push edx
lea ecx, [esp + 0x148]
call fcn.00402d70
cmp dword [esp + 0x154], ebp
mov esi, dword [esp + 0x140]
jae 0x404742
lea esi, [esp + 0x140]
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], eax
call dword [0x4521bc]
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.00402370
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x38]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x21a8], 4
call fcn.004194c0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x164]
mov byte [esp + 0x21a8], 5
call fcn.00403010
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x4047ad
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041d698
add esp, 4
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x3c]
cmp eax, edx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0x219c], 2
je 0x4047da
push eax
call fcn.0041dee2
add esp, 4
cmp dword [esp + 0x170], esi
mov esi, dword [esp + 0x15c]
jae 0x4047f1
lea esi, [esp + 0x15c]
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], eax
call dword [0x4521bc]
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.00402440
mov esi, 7
lea eax, [esp + 0x3c]
mov byte [esp + 0x219c], 6
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edx, [eax + 2]
jmp 0x404830
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404830
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402e60
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x21a0], 7
call fcn.00404480
cmp dword [esp + 0x2c], ebp
jb 0x404877
mov eax, dword [esp + 0x18]
push eax
call fcn.0041d698
add esp, 4
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
mov byte [esp + 0x219c], 2
je 0x4048a1
push eax
call fcn.0041dee2
add esp, 4
cmp edi, 0xffffffff
je 0x4048b3
cmp dword [esp + 0x188], ebx
jne 0x4046a0
mov edi, 7
cmp dword [esp + 0x170], 0x10
mov esi, 1
jb 0x4048d7
mov edx, dword [esp + 0x15c]
push edx
call fcn.0041d698
add esp, 4
cmp dword [esp + 0x154], ebp
mov dword [esp + 0x170], 0xf
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
jb 0x404909
mov eax, dword [esp + 0x140]
push eax
call fcn.0041d698
add esp, 4
cmp dword [esp + 0x18c], ebp
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov word [esp + 0x140], bx
jb 0x404938
mov ecx, dword [esp + 0x178]
push ecx
call fcn.0041d698
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x217c]
xor ecx, esp
call fcn.0041d8d0
add esp, 0x218c
ret 0x10
xor eax, eax
jmp 0x40493a