Function at 0x452770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563ab9
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x5be26c]
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.00450c80
push 0x1fe
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00516260
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 0x5726b4
push str.Poped
push str.ConfigApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.0045d8f0
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 0x452841
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00421290
mov dword [ebp - 0x300], 0x576fe0
mov dword [ebp - 0x2f0], 0x576fe8
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.00458fb0
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.0044ec40
mov edx, dword [ebp - 0x214]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x452998
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45298e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452a44
push edx
push ecx
call fcn.0046c2cf
add esp, 8
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x300]
call fcn.0044e2f0
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2f4], 6
je 0x4529c1
mov bl, 1
jmp 0x4529df
sub esi, dword [ebp - 0x24c]
sbb edi, dword [ebp - 0x248]
cmp edi, dword [ebp + 0xc]
jl 0x4529dd
jg 0x4529d9
cmp esi, dword [ebp + 8]
jbe 0x4529dd
mov bl, 1
jmp 0x4529df
xor bl, bl
lea ecx, [ebp - 0x300]
call fcn.0044f220
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x452a26
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452a1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452a49
push edx
push ecx
call fcn.0046c2cf
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.0046c16d
mov esp, ebp
pop ebp
ret
call fcn.0051a7fc
call fcn.0051a7fc
int3