Function at 0x4238d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4384bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x131]
mov byte [esp + 0x130], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x130]
push 0x104
push eax
call fcn.004039a0
mov esi, dword [0x44f62c]
add esp, 8
mov eax, dword [esi]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x42396c
lea ecx, [esp + 0x24]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.00408a60
mov edx, dword [eax]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, 0x44f628
call fcn.00408a20
cmp dword [esp + 0x10], esi
jne 0x423944
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
mov ebp, 0x104
mov dword [esp + 0x23c], 0
push ebp
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x41
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [esp + 0x130]
mov dword [esp + 0x1c], esi
mov ebx, esi
push ecx
push ebp
push esi
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, eax
mov dword [esp + 0x10], edx
lea eax, [edx + 2]
cmp eax, ebp
jl 0x423a13
push esi
add ebp, ebp
call fcn.0042a030
push ebp
call sub.MFC42.DLL_operatornew
mov ecx, ebp
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x1c], esi
and ecx, 3
mov ebx, esi
rep stosb byte es:[edi], al
lea eax, [esp + 0x130]
push eax
push ebp
push esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esp + 0x10], eax
add eax, 2
cmp eax, ebp
jge 0x4239c1
mov edx, dword [esp + 0x10]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test edx, edx
mov ebp, ecx
je 0x423bdf
test ebp, ebp
je 0x423bdf
push 0x4418bc
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x423bb4
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x2c]
mov edx, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
mov esi, 0x104
lea eax, [esp + 0x2c]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x423a7a
mov byte [eax], cl
inc eax
dec esi
jne 0x423a6b
jmp 0x423a7e
test esi, esi
jne 0x423a7f
dec eax
lea edx, [esp + 0x24]
mov byte [eax], 0
push edx
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.004023d0
test eax, eax
jl 0x423ab5
mov eax, dword [esp + 0x24]
mov ecx, 0x104
sub ecx, eax
push 0x4418dc
lea edx, [esp + eax + 0x30]
push ecx
push edx
call fcn.00402320
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00402c90
add esp, 8
lea ecx, [esp + 0x14]
push 0x104
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
lea eax, [esp + 0x28]
push eax
push 0x104
push esi
call fcn.004023d0
test eax, eax
jl 0x423b0e
mov eax, dword [esp + 0x28]
mov ecx, 0x104
sub ecx, eax
push 0x441c8c
add eax, esi
push ecx
push eax
call fcn.00402320
push 0x104
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, 0x104
mov ecx, eax
cmp byte [ecx], 0
je 0x423b2e
inc ecx
dec edx
jne 0x423b23
jmp 0x423b60
test edx, edx
je 0x423b60
lea ecx, [esp + 0x20]
test ecx, ecx
je 0x423b47
mov ecx, 0x104
sub ecx, edx
mov dword [esp + 0x20], ecx
jmp 0x423b4b
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
mov edx, 0x104
sub edx, ecx
add ecx, eax
push edx
push ecx
call fcn.00402320
mov esi, dword [0x44f62c]
mov ecx, 0x44f628
mov eax, dword [esi + 4]
push eax
push esi
call fcn.004089f0
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x14]
add eax, 8
push ecx
push eax
call fcn.00408db0
mov edx, dword [0x44f630]
push 0
inc edx
push 3
mov dword [0x44f630], edx
lea edx, [esp + 0x140]
push 0
lea eax, [esp + 0x40]
push edx
push eax
push ebx
call fcn.00402f00
add esp, 0x20
mov eax, dword [esp + 0x18]
inc ebp
add eax, ebp
add ebx, ebp
mov dword [esp + 0x18], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
dec ecx
mov ebp, ecx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jne 0x423a31
mov edx, dword [esp + 0x1c]
push edx
call fcn.0042a030
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x23c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret