Function at 0x459490
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x47c458
call fcn.00467ed8
sub esp, 0x158
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp byte [ebx + 0x54], 0
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
jne 0x459503
cmp dword [ebx + 0x18], edi
je 0x459503
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x49f73c
call esi
mov dword [ebp - 0x18], eax
push 0x49bbc0
call esi
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
mov eax, dword [ebx + 0x18]
mov byte [ebp - 4], 2
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x18]
call esi
jmp 0x459503
or dword [ebp - 4], 0xffffffff
push 1
push dword [ebp + 8]
lea ecx, [ebp - 0x68]
call fcn.00405e46
lea eax, [ebx + 0x1c]
push 0x49bba4
push eax
lea eax, [ebp - 0x164]
push eax
mov dword [ebp - 4], 4
call fcn.004076d0
add esp, 0xc
lea ecx, [ebp + 0xf]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00406617
push eax
lea ecx, [ebp - 0xec]
call fcn.0040573d
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 7
call fcn.00407d51
mov dword [ebp - 0x20], edi
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 4], 8
cmp esi, 0x26
jle 0x4596fb
lea eax, [ebp - 0x21]
push 1
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040562c
lea eax, [esi - 0x24]
push 0x24
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.00434752
push dword [0x47e4c4]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0xa
neg ecx
sbb ecx, ecx
push edi
and ecx, eax
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004079e1
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 9
call fcn.00407d51
add esi, 0xffffffdb
lea eax, [ebp - 0x13c]
push esi
push edi
push eax
lea ecx, [ebp - 0x68]
call fcn.00434752
push dword [0x47e4c4]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0xb
neg ecx
sbb ecx, ecx
push edi
and ecx, eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.004079e1
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 9
call fcn.00407d51
mov edi, 0x495918
push edi
call fcn.00468008
pop ecx
push eax
push edi
lea ecx, [ebp - 0xe8]
call fcn.00407983
push dword [0x47e4c4]
lea esi, [ebp - 0xc4]
neg esi
sbb esi, esi
lea eax, [ebp - 0xc0]
and esi, eax
push 0
push esi
lea ecx, [ebp - 0xe8]
call fcn.00408bae
lea eax, [ebp - 0x22]
push 1
push eax
lea ecx, [ebx + 0xe4]
call fcn.00406617
push eax
lea ecx, [ebp - 0x114]
call fcn.0040573d
push edi
mov byte [ebp - 4], 0xc
call fcn.00468008
pop ecx
push eax
push edi
lea ecx, [ebp - 0x110]
call fcn.00407983
push dword [0x47e4c4]
lea ecx, [ebp - 0x110]
push 0
push esi
call fcn.00408bae
lea ecx, [ebp - 0x110]
call fcn.0041307e
sub esp, 0x28
lea edx, [ebp - 0x11]
mov dword [ebp - 0x18], esp
mov ecx, esp
push 0
push edx
push eax
mov dword [ecx], 0x47e4b8
mov dword [ecx + 0x20], 0x47e4b0
call fcn.00405a16
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.0040d919
push eax
mov ecx, ebx
call fcn.00451981
lea ecx, [ebp - 0x114]
mov esi, eax
mov byte [ebp - 4], 9
call fcn.00407d51
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 8
call fcn.00407d51
xor edi, edi
jmp 0x459730
sub esp, 0x28
lea eax, [ebp - 0x11]
mov dword [ebp - 0x18], esp
mov ecx, esp
push edi
push eax
mov dword [ecx], 0x47e4b8
mov dword [ecx + 0x20], 0x47e4b0
call fcn.0040590e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.0040d919
push eax
mov ecx, ebx
call fcn.00451981
mov esi, eax
cmp esi, edi
jge 0x45974f
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x459745
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x643
jmp 0x459963
lea eax, [ebp - 0x11]
push 1
push eax
lea ecx, [ebp - 0x90]
call fcn.0040562c
mov esi, 0x104
lea eax, [ebp - 0x9c]
push esi
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
call fcn.00405844
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
call fcn.0040654b
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x68]
call fcn.0040654b
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x18], eax
call fcn.0040654b
push eax
push esi
push dword [ebp - 0x1c]
push 0x49f738
push dword [0x480e14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
call fcn.0040588a
mov word [ebp - 0x40], di
cmp dword [ebp - 0x84], edi
je 0x45982e
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x18], esp
mov word [eax], di
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c], esp
call fcn.00417411
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
call fcn.00417411
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x30], esp
call fcn.00417411
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0xfffffffffffffffe
call fcn.00450cc2
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x90]
jmp 0x45987a
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x28], esp
mov word [eax], di
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x30], esp
call fcn.00417411
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
call fcn.00417411
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
call fcn.00417411
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0xfffffffffffffffe
call fcn.00450cc2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x11
push eax
call fcn.0045a199
push eax
lea ecx, [ebp - 0x20]
call fcn.00430fd6
push eax
call fcn.004497cb
add esp, 0x5c
cmp eax, 0x80004004
mov dword [ebp - 0x1c], eax
jne 0x4598d6
mov eax, dword [ebx + 0x50]
mov byte [eax + 4], 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.00407d51
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x4598cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x642
jmp 0x459963
cmp dword [ebx + 0x50], edi
je 0x459913
mov eax, dword [ebp + 8]
mov esi, 0x49bb7c
add eax, 4
push esi
mov dword [ebp + 8], eax
call fcn.00468008
pop ecx
mov ecx, dword [ebp + 8]
push eax
push esi
push dword [ecx + 8]
push edi
call fcn.0045f39b
cmp eax, edi
jne 0x459913
cmp ebx, edi
je 0x459913
cmp word [ebx + 0x56], di
jne 0x459913
mov ebx, dword [ebx + 0x50]
mov byte [ebx + 0x78], 1
cmp dword [ebp - 0x1c], edi
jge 0x459936
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.00407d51
jmp 0x459734
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.00407d51
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x459963
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.00407d51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00407d51
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret