Function at 0x447580
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5576a9
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x5b228c]
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.00446320
push 0x1fe
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0050b0c0
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 0x564bc8
push str.Poped
push str.ConfigApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00452960
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 0x447651
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00417590
mov dword [ebp - 0x300], 0x56b7b8
mov dword [ebp - 0x2f0], 0x56b7c0
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.0044df50
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.00444640
mov edx, dword [ebp - 0x214]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x4477a8
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44779e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447854
push edx
push ecx
call fcn.004610ef
add esp, 8
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x300]
call fcn.00443cf0
mov eax, dword [ebp - 0x300]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2f4], 6
je 0x4477d1
mov bl, 1
jmp 0x4477ef
sub esi, dword [ebp - 0x24c]
sbb edi, dword [ebp - 0x248]
cmp edi, dword [ebp + 0xc]
jl 0x4477ed
jg 0x4477e9
cmp esi, dword [ebp + 8]
jbe 0x4477ed
mov bl, 1
jmp 0x4477ef
xor bl, bl
lea ecx, [ebp - 0x300]
call fcn.00445650
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x447836
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44782c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447859
push edx
push ecx
call fcn.004610ef
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.00460f8d
mov esp, ebp
pop ebp
ret
call fcn.0050f6a9
call fcn.0050f6a9
int3