Function at 0x457820
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569529
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x5c324c]
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.00456690
push 0x1fe
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0051ce00
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 0x5778f8
push dword [0x5c31f8]
push dword [0x5c31fc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00462cf0
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 0x4578f3
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.0041cc50
mov dword [ebp - 0x300], 0x57bf38
mov dword [ebp - 0x2f0], 0x57bf40
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.0045cb20
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.00453c10
mov edx, dword [ebp - 0x214]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x457a4a
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457a40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457af6
push edx
push ecx
call fcn.00472cbf
add esp, 8
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x300]
call fcn.004532c0
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2f4], 6
je 0x457a73
mov bl, 1
jmp 0x457a91
sub esi, dword [ebp - 0x24c]
sbb edi, dword [ebp - 0x248]
cmp edi, dword [ebp + 0xc]
jl 0x457a8f
jg 0x457a8b
cmp esi, dword [ebp + 8]
jbe 0x457a8f
mov bl, 1
jmp 0x457a91
xor bl, bl
lea ecx, [ebp - 0x300]
call fcn.004559c0
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x457ad8
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457ace
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457afb
push edx
push ecx
call fcn.00472cbf
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.00472b5d
mov esp, ebp
pop ebp
ret
call fcn.005213e9
call fcn.005213e9
int3