Function at 0x4575d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56abf9
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x5c524c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], 0
push eax
call fcn.00456440
push 0x1fe
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0051e3d0
add esp, 0x10
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
cmovae eax, dword [ebp - 0x240]
push eax
push 0x7e8
lea eax, [ebp - 0x210]
push eax
push 0x5798f8
push dword [0x5c51f8]
push dword [0x5c51fc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.004628f0
mov esi, eax
mov dword [ebp - 0x218], 0
xorps xmm0, xmm0
mov dword [ebp - 0x214], 7
xor eax, eax
movlpd qword [ebp - 0x24c], xmm0
lea ecx, [ebp - 0x210]
mov word [ebp - 0x228], ax
mov edi, edx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4576a3
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.0041cb00
mov dword [ebp - 0x300], 0x57df20
mov dword [ebp - 0x2f0], 0x57df28
push 0
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x244], 1
push eax
lea ecx, [ebp - 0x298]
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x29c], 0x50
movlpd qword [ebp - 0x2f8], xmm0
call fcn.0045c710
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2f4], eax
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x304], eax
mov eax, dword [ebp - 0x300]
push 3
mov dword [ebp - 4], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x304], eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.00453b90
mov edx, dword [ebp - 0x214]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x4577fa
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4577f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4578a6
push edx
push ecx
call fcn.004727ef
add esp, 8
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x300]
call fcn.00453240
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2f4], 6
je 0x457823
mov bl, 1
jmp 0x457841
sub esi, dword [ebp - 0x24c]
sbb edi, dword [ebp - 0x248]
cmp edi, dword [ebp + 0xc]
jl 0x45783f
jg 0x45783b
cmp esi, dword [ebp + 8]
jbe 0x45783f
mov bl, 1
jmp 0x457841
xor bl, bl
lea ecx, [ebp - 0x300]
call fcn.00455770
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x457888
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45787e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4578ab
push edx
push ecx
call fcn.004727ef
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047268d
mov esp, ebp
pop ebp
ret
call fcn.005229b9
call fcn.005229b9
int3