Function at 0x40fbfc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x451bf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x456d90]
push ebx
push esi
push edi
mov edi, ecx
test eax, eax
jne 0x40fc2f
call fcn.0040fe5e
mov eax, dword [0x456d90]
test eax, eax
je 0x40fe4a
mov ecx, dword [0x456d94]
test ecx, ecx
je 0x40fe4a
test edi, edi
jl 0x40fe4a
cmp edi, ecx
jg 0x40fe4a
mov ecx, edi
shl ecx, 2
mov eax, dword [ecx + eax]
mov dword [ebp - 0x434], ecx
test eax, eax
jne 0x40fe4f
push 0xa
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.00425067
add esp, 0xc
push 0x456c80
push 0x400
lea eax, [ebp - 0x428]
push eax
mov esi, str._ErrStr_
push esi
lea eax, [ebp - 0x24]
push eax
push str.STRING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, eax
lea eax, [ebp - 0x428]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x40fcbe
test cl, cl
je 0x40fcba
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x40fcbe
inc eax
inc eax
inc esi
inc esi
test cl, cl
jne 0x40fca0
xor eax, eax
jmp 0x40fcc3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40fcd4
push edi
push str.ELoad_string__d_failed_n
call fcn.00409b18
pop ecx
pop ecx
inc ebx
push ebx
call fcn.004250e0
mov esi, eax
pop ecx
mov dword [ebp - 0x438], esi
lea ebx, [ebp - 0x428]
mov al, byte [ebx]
inc ebx
cmp al, 0x5c
jne 0x40fe28
mov cl, byte [ebx]
movsx eax, cl
inc ebx
cmp eax, 0x66
jg 0x40fd41
je 0x40fd3c
sub eax, 0x22
je 0x40fd37
sub eax, 5
je 0x40fd32
sub eax, 0x31
je 0x40fdc1
sub eax, 4
je 0x40fd2d
sub eax, 5
je 0x40fd28
dec eax
jne 0x40fd67
mov byte [esi], 8
inc esi
jmp 0x40fcea
mov byte [esi], 7
jmp 0x40fd25
mov byte [esi], 0x5c
jmp 0x40fd25
mov byte [esi], 0x27
jmp 0x40fd25
mov byte [esi], 0x22
jmp 0x40fd25
mov byte [esi], 0xc
jmp 0x40fd25
sub eax, 0x6e
je 0x40fe20
sub eax, 4
je 0x40fe18
dec eax
dec eax
je 0x40fe10
dec eax
dec eax
je 0x40fe08
dec eax
dec eax
je 0x40fdc1
mov al, cl
sub al, 0x30
cmp al, 7
ja 0x40fdba
xor eax, eax
lea edi, [ebp - 0x430]
stosd dword es:[edi], eax
mov al, byte [ebx]
cmp al, 0x30
mov byte [ebp - 0x430], cl
jl 0x40fda0
cmp al, 0x37
jg 0x40fda0
inc ebx
mov byte [ebp - 0x42f], al
mov al, byte [ebx]
cmp al, 0x30
jl 0x40fda0
cmp al, 0x37
jg 0x40fda0
mov byte [ebp - 0x42e], al
inc ebx
push 8
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.00421988
add esp, 0xc
mov byte [esi], al
jmp 0x40fd25
mov byte [esi], cl
jmp 0x40fd25
xor eax, eax
lea edi, [ebp - 0x42c]
stosd dword es:[edi], eax
movsx eax, byte [ebx]
push eax
mov byte [ebp - 0x42c], cl
call fcn.0042400d
pop ecx
test eax, eax
je 0x40fdfe
mov al, byte [ebx]
mov byte [ebp - 0x42b], al
inc ebx
movsx eax, byte [ebx]
push eax
call fcn.0042400d
pop ecx
test eax, eax
je 0x40fdfe
mov al, byte [ebx]
mov byte [ebp - 0x42a], al
inc ebx
push 0x10
lea eax, [ebp - 0x42c]
jmp 0x40fda8
mov byte [esi], 0xb
jmp 0x40fd25
mov byte [esi], 9
jmp 0x40fd25
mov byte [esi], 0xd
jmp 0x40fd25
mov byte [esi], 0xa
jmp 0x40fd25
mov byte [esi], al
inc esi
test al, al
jne 0x40fcea
mov ecx, dword [0x456d90]
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x438]
mov dword [edx + ecx], eax
jmp 0x40fe4f
mov eax, str._ErrStr_
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042116f
leave
ret