Function at 0x456710
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x489c07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x604
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ecx, [esi + 8]
call fcn.0042faed
push eax
mov eax, dword [esp + 0x628]
push 0
push 0x4a62f8
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, eax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x19d]
mov byte [esp + 0x19c], 0
mov byte [esp + 0xe4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xe5]
mov byte [esp + 0x22c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x22d]
cmp edx, 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], 1
stosb byte es:[edi], al
jl 0x45705e
lea ecx, [esp + 0x40]
mov dword [esp + 0xc8], ecx
jmp 0x4567cc
mov esi, dword [esp + 0x14]
push 0x40
call fcn.004675be
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
mov dword [esp + 0x61c], 0
je 0x4567fb
lea edx, [esp + 0x21]
push 1
push edx
mov ecx, ebp
call fcn.0045d270
jmp 0x4567fd
xor ebp, ebp
lea eax, [esp + 0x19c]
push 0x4a62f0
push eax
mov dword [esp + 0x624], 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x22c]
push 0xa
push ecx
push edx
call fcn.0046977a
add esp, 0xc
push eax
lea eax, [esp + 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x30]
push 0x104
push ecx
mov ecx, ebp
call fcn.0045d7a0
mov edi, eax
mov ecx, dword [edi]
mov dword [esp + 0x61c], 1
call fcn.0042faed
mov ebx, eax
mov dword [edi + 8], ebx
lea edi, [esi + 8]
mov ecx, edi
call fcn.0042faed
push eax
mov eax, dword [esp + 0x628]
push 0x104
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x1a8]
push 0x4aa144
push edx
push eax
call ebx
mov al, byte [esp + 0x34]
mov dword [esp + 0x61c], 0xffffffff
test al, al
je 0x4568e6
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x4568c7
mov dword [esp + 0x18], 0x4aa140
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00467494
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esp + 0x14]
push edx
lea ecx, [eax + 4]
call fcn.0040651d
mov eax, dword [esp + 0x38]
test eax, eax
je 0x456967
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x20]
push 1
push ecx
push edx
lea ecx, [esp + 0x154]
mov dword [esp + 0x1c], eax
call fcn.00402d70
mov edx, dword [0x48b6b0]
lea eax, [esp + 0x148]
neg eax
sbb eax, eax
lea ecx, [esp + 0x14c]
and eax, ecx
push edx
push 0
push eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x628], 2
lea ecx, [eax + 4]
call fcn.00405b19
lea ecx, [esp + 0x148]
mov dword [esp + 0x61c], 0xffffffff
call fcn.00402438
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [esp + 0x19c]
lea eax, [esp + 0xe4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0xe4]
push 0x4a62c8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.0042faed
mov ecx, dword [esp + 0x624]
push eax
lea edx, [esp + 0x230]
push 0x3e8
push edx
lea eax, [esp + 0xf0]
push 0x4aa144
push eax
push ecx
call ebx
lea eax, [ebp + 0x30]
lea ecx, [ebp + 0x2c]
push eax
push ecx
sub esp, 0x28
mov dword [ecx], 0
mov dword [eax], 0
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x52]
push 1
lea eax, [esp + 0x260]
push edx
push eax
call fcn.0045ba30
mov ecx, esi
call fcn.00459690
lea ecx, [esp + 0x19c]
lea ebx, [ebp + 0x38]
lea edx, [esp + 0xe4]
push ecx
push edx
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0xe4]
push 0x4a62ec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.0042faed
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x4aa144
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea edx, [esp + 0x2f]
sub esp, 0x28
lea eax, [esp + 0x258]
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
push edx
push eax
mov dword [ebx], 0
call fcn.0045ba30
mov ecx, esi
call fcn.00459cd0
lea ecx, [esp + 0x19c]
lea edx, [esp + 0xe4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4a62e0
lea eax, [esp + 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, edi
call fcn.0042faed
push eax
mov eax, dword [esp + 0x628]
lea ecx, [esp + 0x230]
push 0x3e8
push ecx
lea edx, [esp + 0xf0]
push 0x4aa144
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x34]
lea edx, [esp + 0x1f]
push eax
sub esp, 0x28
mov dword [eax], 0x808080
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
lea eax, [esp + 0x25c]
push edx
push eax
call fcn.0045ba30
mov ecx, esi
call fcn.00459920
mov ecx, dword [ebx]
lea edx, [esp + 0x22c]
push ecx
push 0x4a62dc
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
mov edi, 0x48b6d0
je 0x456b2f
mov edi, eax
mov eax, dword [0x48b674]
mov dword [esp + 0x6c], 0x48b670
mov dword [esp + 0x8c], 0x48b668
lea esi, [esp + eax + 0x6c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
test edi, edi
mov dword [esp + 0x61c], 3
mov eax, edi
jne 0x456b69
mov eax, 0x4aa140
lea ecx, [esp + 0x23]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.0045d140
lea ecx, [esp + 0x80]
mov byte [esp + 0x61c], 4
call fcn.0045cda0
push 0
lea ecx, [esp + 0x90]
mov byte [esp + 0x620], 5
call fcn.0045cde0
mov edx, dword [0x48b674]
mov dword [esp + 0x61c], 6
mov dword [esp + 0x40], 0x48b670
mov dword [esp + 0x60], 0x48b668
lea esi, [esp + edx + 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea eax, [esp + 0x1d]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x620], 7
call fcn.0045d000
lea ecx, [esp + 0x54]
mov byte [esp + 0x61c], 8
call fcn.0045cda0
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x620], 9
call fcn.0045cde0
lea ecx, [esp + 0x40]
mov byte [esp + 0x61c], 0xb
test ecx, ecx
je 0x456c52
lea edx, [esp + 0x22c]
test edx, edx
je 0x456c37
lea edi, [esp + 0x22c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x456c39
xor ecx, ecx
lea eax, [esp + 0x2a]
push 1
push eax
push ecx
lea ecx, [esp + 0x238]
push ecx
lea ecx, [esp + 0x50]
call fcn.0045ce10
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x40]
lea eax, [esp + eax + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [0x48b680]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
lea edx, [esp + 0x44]
and eax, edx
push ecx
push 0
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x628], 0xc
call fcn.0040c468
lea eax, [esp + 0x40]
lea edx, [esp + 0x60]
neg eax
sbb eax, eax
mov byte [esp + 0x61c], 6
and eax, edx
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x40]
neg esi
sbb esi, esi
lea edx, [esp + 0x54]
and esi, edx
mov eax, dword [esi]
push eax
call fcn.00439080
mov eax, dword [esi + 8]
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00401245
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x40]
lea eax, [esp + ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [edx + 0x40]
call fcn.0045f310
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x44]
cmp ecx, eax
jne 0x456fa8
push 0xc
call fcn.004675be
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x61c], 0xd
je 0x456db3
push 0x30
call fcn.004675be
mov edi, eax
mov ecx, 0xc
xor eax, eax
mov dword [esi], edi
rep stosd dword es:[edi], eax
push 0x48
call fcn.004675be
mov edi, eax
mov ecx, 0x12
xor eax, eax
mov dword [esi + 4], edi
rep stosd dword es:[edi], eax
push 0x18
call fcn.004675be
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x61c], 0xe
je 0x456da3
mov ecx, eax
call fcn.00457080
mov edi, eax
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x456db5
xor edi, edi
mov ecx, 6
xor eax, eax
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
jmp 0x456db5
xor esi, esi
mov dword [ebp + 0x3c], esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x456dc4
mov edi, 0x48b6d0
mov ecx, dword [0x48b6cc]
mov dword [esp + 0x9c], 0x48b6c8
mov dword [esp + 0xbc], 0x48b6c0
lea esi, [esp + ecx + 0x9c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
test edi, edi
mov byte [esp + 0x61c], 0xf
mov eax, edi
jne 0x456e02
mov eax, 0x4aa140
lea edx, [esp + 0x1e]
lea ecx, [esp + 0xa0]
push edx
push eax
call fcn.0045d6d0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x61c], 0x10
call fcn.0045cda0
push 0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x620], 0x11
call fcn.0045cde0
lea eax, [esp + 0x9c]
push 1
push eax
lea ecx, [esp + 0x178]
mov byte [esp + 0x624], 0x12
call fcn.00403d4e
mov dword [esp + 0x198], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x170]
lea edx, [esp + 0xcc]
push ecx
push edx
lea ecx, [eax + 0x30]
mov byte [esp + 0x624], 0x13
call fcn.0045efe0
mov esi, dword [eax]
lea ecx, [esp + 0x170]
mov byte [esp + 0x61c], 0x12
call fcn.00402438
mov edi, dword [esi + 0x34]
lea eax, [esp + 0x9c]
lea ecx, [esp + 0xbc]
neg eax
sbb eax, eax
mov byte [esp + 0x61c], 0x14
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x9c]
neg esi
sbb esi, esi
lea eax, [esp + 0xb0]
and esi, eax
mov eax, dword [esi]
push eax
call fcn.00439080
mov ecx, dword [esi + 8]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x9c]
lea edx, [esp + 0xa0]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00403edb
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x61c], 6
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x9c]
lea eax, [esp + ecx + 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
push ebp
push ebx
lea eax, [ebp + 0x34]
mov ecx, dword [ebp + 0x3c]
push eax
call fcn.00455440
lea edx, [esp + 0x10]
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x208]
mov dword [esp + 0x18], 0
call fcn.0045f410
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xd4]
push eax
push ecx
lea ecx, [edx + 0x40]
mov byte [esp + 0x624], 0x15
call fcn.0045f1d0
mov esi, dword [eax]
lea ecx, [esp + 0x200]
mov byte [esp + 0x61c], 6
call fcn.00401093
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x34], eax
jmp 0x456fae
mov ecx, dword [ecx + 0x34]
mov dword [ebp + 0x3c], ecx
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x628]
lea edx, [esp + 0x94]
lea eax, [esp + 0xdc]
push edx
push eax
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], 0
call fcn.0045e780
mov eax, dword [eax]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x61c], 0xffffffff
mov dword [eax + 0x10], ebp
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x6c]
mov dword [esi], eax
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x80]
and ecx, eax
call fcn.00402e22
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x70]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00401245
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
mov dword [esp + 0x24], edi
jle 0x4567c8
mov ecx, dword [esp + 0x614]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x610
ret 8