Function at 0x4576d9
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4799a4
call fcn.00465b54
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 0x45774c
cmp dword [ebx + 0x18], edi
je 0x45774c
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x49b2bc
call esi
mov dword [ebp - 0x18], eax
push 0x497858
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 0x45774c
or dword [ebp - 4], 0xffffffff
push 1
push dword [ebp + 8]
lea ecx, [ebp - 0x68]
call fcn.00405cea
lea eax, [ebx + 0x1c]
push 0x49783c
push eax
lea eax, [ebp - 0x164]
push eax
mov dword [ebp - 4], 4
call fcn.00407747
add esp, 0xc
lea ecx, [ebp + 0xf]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040650f
push eax
lea ecx, [ebp - 0xec]
call fcn.0040565e
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 7
call fcn.00407f77
mov dword [ebp - 0x20], edi
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 4], 8
cmp esi, 0x26
jle 0x457944
lea eax, [ebp - 0x21]
push 1
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040554d
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.00432c75
push dword [0x47b4c4]
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.00406fad
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 9
call fcn.00407f77
add esi, 0xffffffdb
lea eax, [ebp - 0x13c]
push esi
push edi
push eax
lea ecx, [ebp - 0x68]
call fcn.00432c75
push dword [0x47b4c4]
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.00406fad
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 9
call fcn.00407f77
mov edi, 0x4918d8
push edi
call fcn.00465bad
pop ecx
push eax
push edi
lea ecx, [ebp - 0xe8]
call fcn.00406f4f
push dword [0x47b4c4]
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.00408822
lea eax, [ebp - 0x22]
push 1
push eax
lea ecx, [ebx + 0xe4]
call fcn.0040650f
push eax
lea ecx, [ebp - 0x114]
call fcn.0040565e
push edi
mov byte [ebp - 4], 0xc
call fcn.00465bad
pop ecx
push eax
push edi
lea ecx, [ebp - 0x110]
call fcn.00406f4f
push dword [0x47b4c4]
lea ecx, [ebp - 0x110]
push 0
push esi
call fcn.00408822
lea ecx, [ebp - 0x110]
call fcn.00443ba7
sub esp, 0x28
lea edx, [ebp - 0x11]
mov dword [ebp - 0x18], esp
mov ecx, esp
push 0
push edx
push eax
mov dword [ecx], 0x47b4b8
mov dword [ecx + 0x20], 0x47b4b0
call fcn.00405917
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.00458547
push eax
mov ecx, ebx
call fcn.0044fd27
lea ecx, [ebp - 0x114]
mov esi, eax
mov byte [ebp - 4], 9
call fcn.00407f77
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 8
call fcn.00407f77
xor edi, edi
jmp 0x457979
sub esp, 0x28
lea eax, [ebp - 0x11]
mov dword [ebp - 0x18], esp
mov ecx, esp
push edi
push eax
mov dword [ecx], 0x47b4b8
mov dword [ecx + 0x20], 0x47b4b0
call fcn.0040580f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00458547
push eax
mov ecx, ebx
call fcn.0044fd27
mov esi, eax
cmp esi, edi
jge 0x457998
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x45798e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x643
jmp 0x457bac
lea eax, [ebp - 0x11]
push 1
push eax
lea ecx, [ebp - 0x90]
call fcn.0040554d
mov esi, 0x104
lea eax, [ebp - 0x9c]
push esi
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
call fcn.0040574d
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
call fcn.00406443
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x68]
call fcn.00406443
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x18], eax
call fcn.00406443
push eax
push esi
push dword [ebp - 0x1c]
push 0x49b2b8
push dword [0x47db84]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
call fcn.0040578b
mov word [ebp - 0x40], di
cmp dword [ebp - 0x84], edi
je 0x457a77
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.00416db3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
call fcn.00416db3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x30], esp
call fcn.00416db3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0xfffffffffffffffe
call fcn.0044f069
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x90]
jmp 0x457ac3
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.00416db3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
call fcn.00416db3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
call fcn.00416db3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0xfffffffffffffffe
call fcn.0044f069
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x11
push eax
call fcn.004583df
push eax
lea ecx, [ebp - 0x20]
call fcn.00437b10
push eax
call fcn.00447c40
add esp, 0x5c
cmp eax, 0x80004004
mov dword [ebp - 0x1c], eax
jne 0x457b1f
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.00407f77
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x457b15
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x642
jmp 0x457bac
cmp dword [ebx + 0x50], edi
je 0x457b5c
mov eax, dword [ebp + 8]
mov esi, 0x497814
add eax, 4
push esi
mov dword [ebp + 8], eax
call fcn.00465bad
pop ecx
mov ecx, dword [ebp + 8]
push eax
push esi
push dword [ecx + 8]
push edi
call fcn.0045d440
cmp eax, edi
jne 0x457b5c
cmp ebx, edi
je 0x457b5c
cmp word [ebx + 0x56], di
jne 0x457b5c
mov ebx, dword [ebx + 0x50]
mov byte [ebx + 0x78], 1
cmp dword [ebp - 0x1c], edi
jge 0x457b7f
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.00407f77
jmp 0x45797d
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.00407f77
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x457bac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.00407f77
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00407f77
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret