Function at 0x4372d0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f86e6
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x170
lea ecx, [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.msvcrt.dll_sprintf]
push eax
push 0x53842c
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
push 0x68158c
push 0xff
push 0x681388
push 0x65d8dc
push 0x538424
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [0x681388]
test al, al
jne 0x43734b
xor al, al
pop ebp
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
add esp, 0x17c
ret
mov al, byte [esp + 7]
push ebx
xor ebx, ebx
push esi
push edi
mov byte [esp + 0xc0], al
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov edi, 0x681388
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x188], ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x190]
push ecx
push 0x53842c
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x1c]
push 0x68158c
push ebx
push 0x538430
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x190]
lea edx, [esp + 0xd0]
push ecx
push 0x53842c
mov esi, ebx
push edx
inc ebx
call ebp
add esp, 0xc
lea eax, [esp + 0x1c]
push esi
push 0x53842c
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xd0]
push 0x68158c
push 0x7ff
push 0x680b88
push 0x65d8dc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [0x680b88]
test al, al
je 0x437503
lea eax, [esp + 0x13]
lea ecx, [esp + 0x170]
push eax
call fcn.004375f0
push 0x680b88
mov byte [esp + 0x18c], 1
call fcn.00436bc0
push 0
call fcn.00436bc0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xf0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
call fcn.00436bc0
add esp, 4
test eax, eax
je 0x4374ce
push eax
call fcn.00437580
push 0
mov esi, eax
call fcn.00436bc0
push eax
call fcn.00437580
mov edx, dword [esp + 0x184]
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
push ecx
push edx
lea ecx, [esp + 0x178]
mov byte [esp + 0x20], al
call fcn.00437640
jmp 0x437485
mov ecx, dword [esp + 0xc8]
lea eax, [esp + 0xf0]
push eax
push ecx
lea ecx, [esp + 0xc8]
call fcn.00437800
lea ecx, [esp + 0x170]
mov byte [esp + 0x188], 0
call fcn.00437610
jmp 0x4373d1
mov eax, dword [0x6815b8]
lea edx, [esp + 0x3c]
push edx
push 1
push eax
mov ecx, 0x6815b0
call fcn.00437b30
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0xc4]
cmp esi, eax
mov dword [esp + 0x188], 0xffffffff
mov edi, eax
je 0x437555
lea ecx, [esi + 0x80]
call fcn.00437610
add esi, 0x90
cmp esi, edi
jne 0x437539
mov esi, dword [esp + 0xc4]
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x184]
add esp, 4
mov al, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x17c
ret