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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f4b9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x474114]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x474114]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [esp + 0x30], esi
lea eax, [esp + 0x30]
push eax
push ebx
mov eax, edi
mov dword [esp + 0x88], esi
call 0x9008df7e
test al, al
je 0x41e15e
push 0x14
lea eax, [esp + 0x60]
push esi
push eax
call 0x1cffe193
mov eax, dword [edi]
add esp, 0xc
lea ecx, [esp + 0x5c]
push ecx
push ebx
mov ecx, edi
call dword [eax + 0x30]
test al, al
je 0x41e15e
mov dword [esp + 0x18], esi
mov byte [esp + 0x80], 1
call 0x8ae0debc
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call dword [edx + 0x110]
test al, al
je 0x41e149
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x1c]
or eax, dword [ebx + 0x20]
jne 0x41def0
mov byte [esp + 0x80], al
mov edi, dword [esp + 0x18]
cmp edi, esi
je 0x41ded7
call 0x2842def8
or esi, 0xffffffff
or dword [esp + 0x80], 0xffffffff
mov edi, ebx
call 0x2842df0a
mov eax, esi
jmp 0x7312e011
lea eax, [edi + 0x50c]
push eax
mov dword [esp + 0x40], eax
call dword [0x461254]
lea eax, [ebx + 0x1842]
push eax
lea ecx, [esp + 0x44]
call 0xee49df32
push str.._hqd
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 2
call 0x7f4bdf48
mov eax, dword [esp + 0x18]
add eax, 0x11b
cmp dword [eax], esi
je 0x41df38
mov eax, dword [eax]
jmp 0x41df3a
xor eax, eax
mov edi, dword [eax + 0x70]
cmp edi, esi
je 0x41e08c
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x20]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], esi
call 0xb027e286
pop ecx
push edi
push esi
push eax
mov dword [esp + 0x1c], eax
call 0x1cffe293
mov eax, edi
cdq
add esp, 0xc
cmp dword [esp + 0x20], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
jl 0x41e082
jg 0x41df9a
cmp dword [esp + 0x1c], eax
jb 0x41e082
jmp 0x41df9a
xor esi, esi
push esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [ebx + 0x10]
call 0xa05fe3cc
push dword [ebx + 0x10]
push edi
push 1
push dword [esp + 0x2c]
call 0x3c4de3db
mov eax, dword [esp + 0x38]
add eax, 0x11f
add esp, 0x20
cmp dword [eax], esi
je 0x41dfce
mov ecx, dword [eax]
jmp 0x41dfd0
xor ecx, ecx
mov eax, dword [esp + 0x14]
call 0xd58e0fa
test al, al
jne 0x41e01c
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push esi
push dword [esp + 0x18]
push edi
push dword [esp + 0x1c]
call dword [eax + 0xc]
mov eax, dword [esp + 0x18]
add eax, 0x11f
cmp dword [eax], esi
je 0x41e001
mov eax, dword [eax]
jmp 0x41e003
xor eax, eax
push dword [eax + 0x34]
mov ecx, dword [eax + 0x30]
push ecx
push str.Task_Download_Len:_I64d_n
push 5
pop esi
call 0x31b3e038
add esp, 0xc
xor esi, esi
push edi
push esi
push dword [esp + 0x18]
call 0x1cffe348
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add esp, 0xc
add dword [esp + 0x24], ecx
adc dword [esp + 0x28], eax
sub dword [esp + 0x1c], ecx
sbb dword [esp + 0x20], eax
inc dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push str.LoadHttpDownload_len:_I64d_index:_d_n
push 5
pop esi
call 0x31b3e080
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp dword [esp + 0x20], eax
jg 0x41df98
jl 0x41e080
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x1c], eax
jae 0x41df98
xor esi, esi
push dword [esp + 0x10]
call 0xd706e3ac
pop ecx
push dword [ebx + 0x10]
call 0x5524e3b5
pop ecx
push dword [esp + 0x3c]
mov dword [ebx + 0x10], esi
call dword [0x461250]
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], 1
jae 0x41e0b9
lea eax, [esp + 0x44]
mov edi, dword [0x4610c0]
push eax
call edi
mov dword [esp + 0x10], eax
call dword [0x461084]
push eax
push dword [esp + 0x14]
push str.Delete_File___d__Error_Code:_d_n
push 5
pop esi
call 0x31b3e0ff
add esp, 0xc
jmp 0x41e119
mov eax, dword [esp + 0x14]
inc dword [esp + 0x14]
cmp eax, 0xa
jge 0x41e120
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x41e0ff
lea eax, [esp + 0x44]
push eax
call edi
mov dword [esp + 0x10], eax
call dword [0x461084]
push eax
push str.Delete_File_Failed__Error_Code:_d_n
call 0x31b3e138
pop ecx
pop ecx
cmp dword [esp + 0x10], 0
je 0x41e0e3
push 0
push 1
lea ecx, [esp + 0x48]
call 0xf14ce14e
mov byte [esp + 0x80], 0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x41e142
call 0x2842e163
xor esi, esi
jmp 0xd70fe26a
mov byte [esp + 0x80], 0
mov edi, dword [esp + 0x18]
cmp edi, esi
je 0x41e15e
call 0x2842e17f
or dword [esp + 0x80], 0xffffffff
mov edi, dword [esp + 0x30]
cmp edi, esi
je 0x41e173
call 0x2842e194
or eax, 0xffffffff
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call 0x620e4b1
mov esp, ebp
pop ebp
ret 4