Function at 0x4311a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a775
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x5be984]
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
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x120], 0
call fcn.0049bf90
mov ecx, eax
call fcn.0049bfa0
mov esi, eax
call fcn.004238f0
push eax
mov ecx, esi
call fcn.0049b730
test eax, eax
jne 0x43123d
push 0x14
call fcn.004845cc
add esp, 4
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x431226
mov ecx, eax
call fcn.00437600
jmp 0x431228
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004238f0
push eax
mov ecx, esi
call fcn.0049b780
push 1
push 0x5c01ec
push 0x5c01cc
push 0
push eax
call fcn.004f1375
add esp, 0x14
mov ecx, eax
call fcn.00439f30
test al, al
je 0x4316e4
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x11c]
push eax
call fcn.00428740
mov edi, eax
lea eax, [ebp - 0x104]
mov dword [ebp - 4], 1
push eax
call fcn.0049d6d0
add esp, 8
mov esi, eax
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov byte [ebp - 0xc4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
mov byte [ebp - 0xa8], 0xff
call fcn.00425e80
mov dword [ebp - 0xa4], vtable.boost::io::basic_altstringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 3
mov byte [ebp - 0x5c], 0
push 0x17
xor eax, eax
mov byte [ebp - 4], 7
push 0x575f6c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004048f0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xec]
call fcn.0042afc0
lea ecx, [ebp - 0x40]
call fcn.004029d0
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 9
push esi
push eax
call fcn.00430430
push edi
push eax
call fcn.00430430
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.004302e0
lea ecx, [ebp - 0x4e]
push ecx
push eax
call fcn.004302e0
lea ecx, [ebp - 0x4a]
push ecx
push eax
call fcn.004302e0
add esp, 0x28
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0042bab0
cmp byte [ebp - 0x5c], 0
mov byte [ebp - 4], 2
je 0x4313e7
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x4313df
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4313df
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 2
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0xa4]
call fcn.00426650
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x431432
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431428
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43172b
push edx
push ecx
call fcn.004845fc
add esp, 8
mov ecx, dword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
test ecx, ecx
je 0x4314b1
mov eax, dword [ebp - 0xd8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x431489
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431730
push edx
push ecx
call fcn.004845fc
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
lea ecx, [ebp - 0xec]
call fcn.00426d30
lea ecx, [ebp - 0x104]
call fcn.004029d0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.004029d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x575f9c
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.004fb202
add esp, 0xc
test eax, eax
jne 0x431507
mov eax, dword [ebp - 0x120]
test eax, eax
jne 0x43155c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x575fa0
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.004fb202
add esp, 0xc
test eax, eax
jne 0x431565
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x431565
push eax
push 2
lea eax, [ebp - 0x124]
mov word [ebp - 0x124], 0xfeff
push 1
push eax
call fcn.0050d63e
mov eax, dword [ebp - 0x120]
add esp, 0x10
test eax, eax
je 0x431565
push eax
call fcn.0050c934
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x40
cmovae eax, dword [ebp - 0x28]
push 0x575fa8
push eax
call fcn.004fb249
add esp, 0xc
mov dword [ebx + 8], eax
lea ecx, [ebp - 0x28]
call fcn.004029d0
call fcn.00419fd0
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [0x5bd52c], 3
call fcn.00419fd0
cmp dword [eax], 0
je 0x4316e4
push 0xa0
lea eax, [ebp - 0x1cc]
push 0
push eax
call fcn.004f0120
lea eax, [ebp - 0x40]
push eax
call fcn.004286a0
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x1c4]
mov dword [ebp - 4], 0xb
mov dword [ebp - method.CLog_class_COutput2FILE_.virtual_0], vtable.CLog_class_COutput2FILE_.0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x1c4], 0x574cc8
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x120], 3
call fcn.00425d60
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 4], 0xd
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1c8], eax
lea ecx, [ebp - 0x1c0]
call fcn.00425e80
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 4
mov dword [ebp - method.CFileLog.virtual_0], vtable.CFileLog.0
push str.welcome_to_youxi
push 0
push 3
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xe
call fcn.00416ef0
mov ecx, eax
call fcn.00415300
cmp dword [esi + 0x14], 8
mov edi, eax
mov eax, dword [esi + 0x10]
jb 0x4316b0
mov esi, dword [esi]
push eax
lea eax, [edi + 8]
push esi
push eax
call fcn.00412e60
add esp, 0xc
mov ecx, edi
push str._downloader_developing_...
call fcn.00415300
lea ecx, [ebp - 0x1cc]
call fcn.00414710
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004029d0
push dword [ebp - 0x128]
push 1
push 0x5c0860
push 0x5c01cc
push 0
call fcn.004301c0
push eax
call fcn.004f1375
add esp, 0x14
mov ecx, eax
call fcn.00435b80
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.00484a0d
mov esp, ebp
pop ebp
ret 4
call fcn.004faed4
call fcn.004faed4
int3