Function at 0x450460
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x104c
call fcn.004bdb50
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp edi, ebx
mov esi, ecx
je 0x4506b2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4506b2
push edi
lea eax, [ebp - 0x14]
push 0x5762bc
push eax
mov dword [ebp - 4], ebx
call fcn.004e20cc
mov ecx, dword [0x55cb38]
mov edx, dword [0x55cb3c]
mov eax, dword [0x55cb40]
mov dword [ebp - 0x40], ecx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [0x55cb24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov edx, dword [0x55cb10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [0x55cb28]
mov dword [ebp - 0x20], ecx
mov ecx, dword [0x55cb18]
mov dword [ebp - 0x5c], edx
mov edx, dword [0x55cb1c]
mov dword [ebp - 0x28], eax
mov eax, dword [0x55cb14]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov edx, dword [esi + 0x6a4]
xor ecx, ecx
mov dword [ebp - 0x58], eax
mov ax, word [0x55cb20]
mov dword [ebp - 0x4a], ecx
mov dword [0x55f158], edx
mov byte [ebp - 4], 1
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x46], ecx
xor edi, edi
mov dword [esi + 0x6a4], ebx
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], ebx
je 0x45069b
lea eax, [ebp - 0x36]
push 0xa
push eax
push edi
call fcn.004bdd5d
lea ecx, [ebp - 0x26]
push 0xa
push ecx
push edi
call fcn.004bdd5d
lea edx, [ebp - 0x4c]
push 0xa
push edx
push edi
call fcn.004bdd5d
mov eax, dword [ebp - 0x14]
add esp, 0x24
lea ecx, [ebp - 0x40]
inc edi
push eax
push 1
push ecx
push 0x55cb04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
je 0x450546
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x105c]
push edx
push 0x800
push eax
lea ecx, [ebp - 0x2c]
push ebx
push ecx
push 0x55cb04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x450546
lea edx, [ebp - 0x105c]
lea ecx, [ebp + 8]
push edx
call fcn.004e1e9b
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 2
call fcn.004e1b94
mov ecx, esi
call fcn.00466ef0
cmp eax, ebx
je 0x4505f5
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004e1e27
jmp 0x450546
cmp edi, 1
jne 0x45060a
push ebx
push ebx
push ebx
push edi
push ebx
mov ecx, esi
call fcn.004476b0
mov ebx, eax
jmp 0x45062c
mov ecx, dword [esi + 0x690]
push ebx
mov dword [ebp - 0x1c], ecx
mov ecx, esi
mov dword [esi + 0x690], ebx
call fcn.00469310
mov edx, dword [ebp - 0x1c]
mov ebx, eax
mov dword [esi + 0x690], edx
test ebx, ebx
je 0x450688
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x450688
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
push eax
push 0xffffffffffffffff
push ecx
push 0x55cb04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0xffffffff
je 0x450660
mov ecx, dword [ebx + 0xf8]
push eax
call fcn.00480020
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0xf8]
push 0
push 0
push 0
push 0
push 0
push 0
push edx
call fcn.00483c60
push 0xbb8
call fcn.00429c70
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004e1e27
xor ebx, ebx
jmp 0x450546
mov eax, dword [0x55f158]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x6a4], eax
mov byte [ebp - 4], 0
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4