Function at 0x4757f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a0be8
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x61e810]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push esi
mov eax, dword [0x61e810]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov byte [edi + 0x109], 1
cmp dword [ebp + 8], esi
jne 0x4758be
cmp dword [ebx + 0x10], esi
je 0x4758be
push 0x24
mov dword [esp + 0x20], esi
call fcn.0048a378
add esp, 4
cmp eax, esi
je 0x4759c0
mov dword [eax], eax
mov dword [esp + 0x18], eax
mov dword [eax + 4], eax
mov dword [esp + 0x108], esi
cmp dword [ebx + 0x10], esi
jbe 0x47587f
push 1
lea edx, [esp + 0x1c]
mov ecx, ebx
call fcn.00446f50
add esp, 4
lea eax, [edi + 0x10c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0047afb0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
cmp eax, ecx
jne 0x47591b
lea ebx, [esp + 0x18]
mov dword [esp + 0x108], 0xffffffff
call fcn.00402fa4
mov edx, dword [esp + 0x18]
push edx
call fcn.0048a131
add esp, 4
cmp byte [edi + 0x108], 0
jne 0x475f6e
cmp byte [edi + 0x10a], 0
je 0x475f6e
mov esi, dword [edi + 0x84]
lea ebx, [esp + 0xa4]
mov ecx, edi
mov byte [edi + 0x108], 1
mov dword [esp + 0x24], esi
call fcn.004710a0
xor ebx, ebx
mov dword [esp + 0x108], 2
mov dword [esp + 0x14], ebx
cmp esi, ebx
jle 0x475f54
jmp 0x4759f2
mov eax, dword [esp + 0xc]
xor esi, esi
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x54], cx
add eax, 8
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], esi
call fcn.00401a8e
lea edx, [esp + 0x50]
push edx
lea ecx, [edi + 0x78]
mov byte [esp + 0x10c], 1
call fcn.0047afb0
mov eax, dword [edi + 0x78]
mov esi, dword [eax]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x50]
push eax
push ecx
push esi
call fcn.00411155
mov ecx, dword [edi + 0x7c]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jb 0x4759b6
inc ecx
mov dword [edi + 0x7c], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [esp + 0x108], 0
cmp dword [esp + 0x64], 8
jb 0x47599d
mov eax, dword [esp + 0x50]
push eax
call fcn.0048a131
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x18]
jne 0x475915
jmp 0x47589d
push str.list_T__too_long
call fcn.004890a5
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], esi
call fcn.0048a1c4
push 0x6111f0
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.0049303f
lea esp, [esp]
xor ebx, ebx
cmp dword [edi + 0x7c], ebx
je 0x475f54
mov eax, dword [edi + 0x78]
mov eax, dword [eax]
push 0xffffffffffffffff
xor edx, edx
mov esi, 7
add eax, 8
push ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
call fcn.00401a8e
mov byte [esp + 0x108], 3
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x38], ax
push ebx
lea eax, [edi + 0x4c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
call fcn.00401a8e
push 0x238
mov byte [esp + 0x10c], 4
call fcn.0048a378
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x108], 5
cmp eax, ebx
je 0x475a99
push 1
lea ecx, [esp + 0x38]
push ecx
lea edx, [edi + 0x220]
lea ecx, [esp + 0xac]
mov ebx, eax
call fcn.0046c120
mov esi, eax
mov dword [esp + 0xc], esi
xor ebx, ebx
jmp 0x475a9f
mov dword [esp + 0xc], ebx
mov esi, ebx
push 0xffffffffffffffff
mov byte [esp + 0x10c], 4
push ebx
lea eax, [edi + 0x88]
lea ecx, [esi + 0x28]
mov byte [esi + 0x17c], 1
call fcn.00401a8e
lea ebx, [esi + 0x88]
mov esi, dword [ebx]
lea ecx, [esp + 0x34]
call fcn.0044a780
push eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x70]
push edx
mov ecx, ebx
call eax
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x475aef
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xe0]
push 0x60ae1c
push ecx
call fcn.004466c0
mov dword [esp + 0x1c], eax
mov ebx, dword [edi + 8]
xor edx, edx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], dx
push 0x60b3c0
mov byte [esp + 0x118], 7
call fcn.0048aa3a
add esp, 0x10
mov ecx, 0x60b3c0
lea esi, [esp + 0x50]
call fcn.00401741
push 0
call fcn.0048a761
push edx
push eax
lea esi, [esp + 0xcc]
call fcn.00449ae0
add esp, 0xc
mov byte [esp + 0x108], 8
mov ecx, dword [esp + 0x10]
mov esi, 8
cmp dword [ecx + 0x14], esi
jb 0x475b73
mov ecx, dword [ecx]
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x64], esi
jae 0x475b81
lea edx, [esp + 0x50]
cmp dword [eax + 0x14], esi
jb 0x475b88
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x94]
push str.__s____s___s
push eax
call fcn.004466c0
add esp, 0x14
mov byte [esp + 0x108], 9
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
push esi
call fcn.0041121b
mov ecx, dword [ebx + 8]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jb 0x4759b6
inc ecx
mov dword [ebx + 8], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov esi, 8
mov dword [ecx], eax
cmp dword [esp + 0x9c], esi
jb 0x475bf3
mov eax, dword [esp + 0x88]
push eax
call fcn.0048a131
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], cx
cmp dword [esp + 0xd4], esi
jb 0x475c2a
mov edx, dword [esp + 0xc0]
push edx
call fcn.0048a131
add esp, 4
cmp dword [esp + 0x64], esi
jb 0x475c3d
mov eax, dword [esp + 0x50]
push eax
call fcn.0048a131
add esp, 4
mov byte [esp + 0x108], 4
cmp dword [esp + 0xf0], esi
jb 0x475c5e
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.0048a131
add esp, 4
test byte [0x63221c], 1
mov edx, dword [esp + 0xc]
mov dword [edx + 0x230], 0x471170
jne 0x475d24
or dword [0x63221c], 1
push 0x632228
mov dword [0x632220], 0x5fd2f0
mov dword [0x632224], ebx
mov dword [0x632240], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x108], 0xb
push esi
mov dword [0x632220], 0x5fd330
call fcn.0048a378
add esp, 4
cmp eax, ebx
je 0x475cce
mov dword [eax], 0xffffffff
mov byte [eax + 4], 1
mov esi, eax
jmp 0x475cd0
xor esi, esi
push 0x632228
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x632224]
inc dword [0x632240]
cmp eax, ebx
je 0x475cf3
push eax
call fcn.0048a131
add esp, 4
dec dword [0x632240]
push 0x632228
mov dword [0x632224], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5ac41a
call fcn.0048ae63
add esp, 4
mov byte [esp + 0x108], 4
mov esi, 8
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x80], esi
jae 0x475d35
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x475d43
lea eax, [esp + 0x34]
push ecx
push eax
mov eax, dword [0x632220]
mov ecx, dword [eax + 8]
push 0x60ae30
push str.DownloadTask.cpp
push 0x31a
push ebx
push 0x632220
call ecx
add esp, 0x1c
test byte [0x6321f0], 1
jne 0x475e26
or dword [0x6321f0], 1
push 0x6321fc
mov dword [0x6321f4], 0x5fd2f0
mov dword [0x6321f8], ebx
mov dword [0x632214], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x108], 0xd
push esi
mov dword [0x6321f4], 0x5fd310
mov byte [0x632218], 1
call fcn.0048a378
add esp, 4
cmp eax, ebx
je 0x475dd0
mov dword [eax], 0xffffffff
mov byte [eax + 4], 1
mov esi, eax
jmp 0x475dd2
xor esi, esi
push 0x6321fc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6321f8]
inc dword [0x632214]
cmp eax, ebx
je 0x475df5
push eax
call fcn.0048a131
add esp, 4
dec dword [0x632214]
push 0x6321fc
mov dword [0x6321f8], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5ac42e
call fcn.0048ae63
add esp, 4
mov byte [esp + 0x108], 4
mov esi, 8
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x80], esi
jae 0x475e37
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x475e45
lea eax, [esp + 0x34]
mov edx, dword [0x6321f4]
push ecx
push eax
mov eax, dword [edx + 4]
push 0x60ae30
push ebx
push 0x6321f4
call eax
mov eax, dword [edi + 0x78]
mov esi, dword [eax]
add esp, 0x14
cmp esi, eax
je 0x475ea6
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
cmp dword [esi + 0x1c], 8
jb 0x475e8a
mov eax, dword [esi + 8]
push eax
call fcn.0048a131
add esp, 4
xor ecx, ecx
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], ebx
push esi
mov word [esi + 8], cx
call fcn.0048a131
add esp, 4
dec dword [edi + 0x7c]
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
cmp eax, ecx
je 0x475ec2
cmp dword [eax + 8], edx
je 0x475ef2
mov eax, dword [eax]
cmp eax, ecx
jne 0x475eb7
mov esi, ecx
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push eax
push esi
call fcn.0047eeb0
mov ecx, dword [edi + 0x44]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x4759b6
inc ecx
mov dword [edi + 0x44], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
push edi
call fcn.00472db0
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x475f10
mov eax, dword [esp + 0x34]
push eax
call fcn.0048a131
add esp, 4
xor ecx, ecx
mov byte [esp + 0x108], 2
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
cmp dword [esp + 0x80], esi
jb 0x475f41
mov edx, dword [esp + 0x6c]
push edx
call fcn.0048a131
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x24]
jl 0x4759f0
cmp dword [esp + 0xb8], 8
jb 0x475f6e
mov eax, dword [esp + 0xa4]
push eax
call fcn.0048a131
add esp, 4
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret 4