Function at 0x432740
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebp
mov ebp, ecx
cmp byte [ebp + 0x12f], 3
je 0x432758
xor eax, eax
pop ebp
add esp, 0x40
ret 8
mov eax, dword [0x4971e8]
push eax
push 0
push str.SeparateSLC
push str.STLC
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x43277b
pop ebp
add esp, 0x40
ret 8
mov cl, byte [ebp + 0x2c]
mov ax, word [ebp + 0x122]
push ebx
mov byte [esp + 0xc], cl
push esi
mov esi, dword [esp + 0x10]
mov word [esp + 0x30], ax
mov eax, dword [ebp + 0x14c]
and esi, 0xff
mov dl, byte [ebp + 0x121]
mov dword [esp + 0x28], esi
imul esi, eax
mov cx, word [ebp + 0x124]
push edi
push esi
mov byte [esp + 0x14], dl
mov word [esp + 0x2c], cx
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edx, eax
mov ebx, ecx
xor eax, eax
mov edi, edx
mov dword [esp + 0x34], edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x58]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, esi
mov edi, edx
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x14]
mov ecx, edx
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
jbe 0x4328a8
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
and eax, 0xff
and esi, 0xffff
mov ecx, eax
mov edi, dword [esp + 0x2c]
imul ecx, esi
mov edx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
cmp byte [esp + 0x10], 0
jbe 0x432893
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
and ecx, 0xffff
add ecx, 0xfffff800
mov dword [esp + 0x38], ecx
mov ecx, 0x200
mov eax, 0xf7f7f7f7
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x38]
xor eax, eax
mov ebx, ecx
lea edi, [edx + 0x800]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
add edx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x432852
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
add edx, ecx
dec edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
jne 0x432833
mov ax, word [ebp + 0xec]
mov cl, byte [ebp + 0xea]
lea edx, [esp + 0x40]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.00432b50
mov cl, byte [esp + 0x58]
mov esi, 1
and ecx, 0xf
mov byte [esp + 0x54], al
shl esi, cl
mov ecx, ebp
call fcn.0041f6a0
and eax, 0xffff
cdq
idiv esi
cmp eax, 2
jge 0x4328f0
mov eax, 2
jmp 0x4328ff
mov ecx, ebp
call fcn.0041f6a0
and eax, 0xffff
cdq
idiv esi
mov dl, byte [ebp + 0x592c]
mov ecx, dword [esp + 0x54]
push edx
push eax
lea eax, [ebp + 0x42d0]
lea edx, [esp + 0x48]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00434fd0
push 0
mov ecx, ebp
call fcn.004320f0
mov eax, dword [esp + 0x58]
push 0x258
push 0
push eax
push ebx
mov ecx, ebp
call fcn.00431230
mov ecx, dword [esp + 0x58]
push 0x190
push 0x258
push 1
push ecx
push ebx
mov ecx, ebp
call fcn.00431690
mov al, byte [esp + 0x14]
test al, al
jbe 0x4329cc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
and ecx, 0xff
and edx, 0xffff
mov eax, ecx
mov ebp, dword [esp + 0x30]
imul eax, edx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ebx
sub ebp, ebx
mov dword [esp + 0x54], esi
mov bl, byte [esp + 0x10]
test bl, bl
jbe 0x4329b7
mov eax, dword [esp + 0x58]
mov ebx, ecx
lea esi, [eax + ebp]
mov edi, eax
mov ecx, 0x200
add eax, edx
dec ebx
rep movsd dword es:[edi], dword [esi]
jne 0x43299e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
add edi, eax
dec esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], esi
jne 0x432990
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
test eax, eax
je 0x4329e0
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
pop ebp
add esp, 0x40
ret 8