Function at 0x402750
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41f288
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x429978]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
push str.CIniFile::GetParameter
lea ecx, [esp + 0x2c]
call fcn.00401120
xor ebp, ebp
push 0x104
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], ebp
xor edi, edi
call fcn.00403b7b
push 0x104
mov ebx, eax
call fcn.00403b7b
add esp, 8
cmp ebx, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
je 0x4029d3
cmp eax, ebp
je 0x4029e0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
push 0x104
push ebx
push str.NOT_FOUND
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x42199c
push ebx
call fcn.0040c91b
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x402948
push 0x104
mov dword [esp + 0x18], ebp
call fcn.00403b7b
add esp, 4
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x402981
push 0x104
mov edi, eax
push ebp
push edi
call fcn.0040d2e0
push esi
call fcn.0040e025
push 0x42199c
push eax
call fcn.0040c91b
add esp, 0x18
cmp eax, ebp
jne 0x402859
push ebx
lea eax, [esp + 0x2c]
push str.Invalid_string_:__s
push eax
call fcn.004013f0
add esp, 0xc
jmp 0x402985
push eax
mov byte [eax], 0
call fcn.0040e025
push esi
mov ebp, eax
call fcn.0040e025
push 0x104
push eax
push edi
call fcn.0040db35
mov byte [esi], 0
mov esi, dword [esp + 0x30]
add esp, 0x14
mov eax, ebx
sub esi, ebx
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
test cl, cl
jne 0x402884
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push edx
push edi
call fcn.00401d20
test eax, eax
mov dword [esp + 0x14], eax
je 0x40297f
mov edx, eax
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4028b0
mov edi, dword [esp + 0x1c]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4028c2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, eax
lea eax, [esp + 0x2c]
and ecx, 3
push str.var:__s
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004013f0
mov eax, ebp
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4028f1
mov edi, dword [esp + 0x1c]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402903
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push str.tempPtr:__s
push ecx
call fcn.004013f0
mov eax, dword [esp + 0x28]
mov edx, ebx
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x402936
mov edi, dword [esp + 0x18]
xor ebp, ebp
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402950
sub eax, edx
add eax, 1
push eax
call fcn.00403b7b
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x402971
jmp 0x402985
xor ebp, ebp
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
push 0x104
push ebx
push str.NOT_FOUND
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp edi, ebp
je 0x4029b8
push edi
call fcn.00403b76
add esp, 4
mov dword [esp + 0x18], ebp
mov edi, ebp
cmp dword [esp + 0x14], ebp
je 0x4029cf
mov edx, dword [esp + 0x14]
push edx
call fcn.00403b76
add esp, 4
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4029e0
push eax
call fcn.00403b76
add esp, 4
cmp ebx, ebp
je 0x4029ed
push ebx
call fcn.00403b76
add esp, 4
cmp edi, ebp
je 0x4029fa
push edi
call fcn.00403b76
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x402a0b
push eax
call fcn.00403b76
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0xffffffff
call fcn.004012c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc