Function at 0x419eb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5061f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1080
call fcn.004bdb50
push ebx
push ebp
push esi
push edi
mov ecx, dword [0x55cb3c]
mov eax, dword [0x55cb38]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x55cb2c]
mov edx, dword [0x55cb40]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x26], ecx
mov dword [esp + 0x6c], eax
mov ax, word [0x55cb34]
mov dword [esp + 0x2a], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x64], edx
mov edx, dword [0x55cb30]
mov word [esp + 0x24], ax
mov eax, dword [0x55cb28]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x55cb18]
mov dword [esp + 0x20], edx
mov edx, dword [0x55cb24]
mov dword [esp + 0x34], eax
mov eax, dword [0x55cb14]
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [0x55cb10]
mov dword [esp + 0x44], eax
mov ax, word [0x55cb20]
mov dword [esp + 0x52], ecx
mov dword [esp + 0x40], edx
mov edx, dword [0x55cb1c]
mov word [esp + 0x50], ax
mov eax, dword [0x56b44c]
mov dword [esp + 0x56], ecx
mov ecx, 1
mov dword [esp + 0x4c], edx
xor esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1098], esi
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x10b0]
mov byte [esp + 0x1098], cl
lea edx, [esp + 0x24]
push 0xa
push edx
push esi
call fcn.004bdd5d
lea eax, [esp + 0x42]
push 0xa
push eax
push esi
call fcn.004bdd5d
mov eax, dword [edi]
add esp, 0x18
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x90]
push eax
push 0x800
push ecx
lea edx, [esp + 0x28]
push 0
push edx
push 0x55cb04
call ebx
mov ebp, eax
test ebp, ebp
je 0x41a0a4
lea eax, [esp + 0x90]
lea ecx, [esp + 0x10]
push eax
call fcn.004e1fbe
mov eax, dword [edi]
lea ecx, [esp + 0x90]
push eax
push 0x800
push ecx
lea edx, [esp + 0x3c]
push 0
push edx
push 0x55cb04
call ebx
mov ebp, eax
test ebp, ebp
je 0x41a0a4
lea eax, [esp + 0x90]
lea ecx, [esp + 0x14]
push eax
call fcn.004e1fbe
lea ecx, [esp + 0x50]
push 0xa
push ecx
push esi
call fcn.004bdd5d
mov eax, dword [edi]
add esp, 0xc
lea edx, [esp + 0x40]
push eax
push 0xffffffffffffffff
push edx
push 0x55cb04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0x10a0]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
push edx
call fcn.004bdb15
add esp, 8
test eax, eax
jne 0x41a0a4
mov ecx, dword [esp + 0x10a4]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [ecx]
push edx
call fcn.004bdb15
add esp, 8
test eax, eax
jne 0x41a0a4
cmp dword [esp + 0x10ac], ebx
jne 0x41a0a4
xor ebp, ebp
mov dword [esp + 0x18], ebp
inc esi
test ebp, ebp
jne 0x419fa7
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x41a18d
test esi, esi
jle 0x41a0be
dec esi
lea eax, [esp + 0x66]
push 0xa
push eax
push esi
call fcn.004bdd5d
lea ecx, [esp + 0x30]
push 0xa
push ecx
push esi
call fcn.004bdd5d
lea edx, [esp + 0x4e]
push 0xa
push edx
push esi
call fcn.004bdd5d
lea eax, [esp + 0x74]
push 0xa
push eax
push esi
call fcn.004bdd5d
mov ecx, dword [esp + 0x10d0]
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x30
mov ecx, dword [ecx]
lea edx, [esp + 0x1c]
push eax
push ecx
push edx
push 0x55cb04
call esi
mov ecx, dword [esp + 0x10a4]
mov eax, dword [edi]
push eax
lea edx, [esp + 0x34]
mov ecx, dword [ecx]
push ecx
push edx
push 0x55cb04
call esi
mov eax, dword [esp + 0x10a8]
test eax, eax
jne 0x41a15d
lea eax, [esp + 0x70]
push 0xa
push eax
push 0
call fcn.004bdd5d
mov eax, dword [edi]
add esp, 0xc
lea ecx, [esp + 0x70]
lea edx, [esp + 0x5c]
push eax
push ecx
push edx
push 0x55cb04
call esi
mov eax, dword [esp + 0x10ac]
cmp eax, 0xffffffff
je 0x41a18d
lea ecx, [esp + 0x70]
push 0xa
push ecx
push eax
call fcn.004bddc1
mov edi, dword [edi]
add esp, 0xc
lea edx, [esp + 0x70]
lea eax, [esp + 0x40]
push edi
push edx
push eax
push 0x55cb04
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x1098], 0
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov dword [esp + 0x1098], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x1090]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x108c
ret