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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x59166d
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x611e60]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov eax, dword [0x611e60]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, dword [0x61da40]
push str.Download....
push 1
push 0x6c
push 0x5efd80
push 0x5efd94
mov dword [esp + 0x28], esi
call fcn.00493e90
add esp, 0x14
push 0
call fcn.0055da1c
mov dword [esp + 0x14], edx
add esp, 4
mov edx, dword [esi + 4]
mov dword [esp + 0x18], eax
test edx, edx
je 0x421141
mov ecx, dword [esi]
test ecx, ecx
je 0x421141
push dword [ecx + 4]
push 0
push 0
push 0
call edx
add esp, 0x10
xor eax, eax
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0xe0], eax
lea ecx, [esp + 0x4c]
mov edx, dword [esi]
add edx, 8
call fcn.00420bf0
mov edi, eax
lea eax, [esp + 0x1c]
cmp eax, edi
je 0x4211be
cmp dword [esp + 0x30], 0x10
jb 0x42119f
push dword [esp + 0x1c]
call fcn.00556a60
add esp, 4
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00422660
cmp dword [esp + 0x60], 0x10
jb 0x4211d1
push dword [esp + 0x4c]
call fcn.00556a60
add esp, 4
mov eax, dword [esi]
lea ecx, [esp + 0x34]
add eax, 0x20
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
cmp ecx, eax
je 0x4211fd
push 0xffffffffffffffff
push 0
push eax
call fcn.004220c0
cmp dword [0x61da44], 0
mov eax, dword [esi]
mov dword [esi + 0x10], 0
mov edi, dword [eax]
jne 0x421246
push 0xa4
call fcn.00556a0f
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0xe0], 1
test eax, eax
je 0x421237
mov ecx, eax
call fcn.0042c7a0
jmp 0x421239
xor eax, eax
mov byte [esp + 0xe0], 0
mov dword [0x61da44], eax
push ecx
push edi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0042cae0
cmp dword [0x61da44], 0
mov edi, eax
mov dword [esi + 0xc], edi
jne 0x42129a
push 0xa4
call fcn.00556a0f
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0xe0], 2
test eax, eax
je 0x42128b
mov ecx, eax
call fcn.0042c7a0
jmp 0x42128d
xor eax, eax
mov byte [esp + 0xe0], 0
mov dword [0x61da44], eax
push edi
call fcn.0042c8f0
or edi, 0xffffffff
cmp dword [esi + 0xc], 0
je 0x42141e
lea ecx, [ecx]
xor eax, eax
mov dword [esp + 0x7c], 0
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov byte [esp + 0xe0], 3
mov ecx, dword [0x61da44]
test ecx, ecx
je 0x42135f
push dword [esi + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.0042d160
mov byte [esp + 0xe0], 3
mov esi, dword [esp + 0x10]
test esi, esi
je 0x42135f
mov ecx, edi
lea eax, [esi + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x42135f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, edi
lea eax, [esi + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x42135f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
call fcn.00542a12
push 0
push 0x64
push edx
push eax
call fcn.00559530
mov edi, eax
mov esi, edx
push 0
add edi, 0x2faf0800
push 0x3b9aca00
adc esi, 0
push esi
push edi
call fcn.00562080
push 0
push 0x3b9aca00
push edx
push eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
call fcn.00559530
sub edi, eax
mov dword [esp + 0x6c], edi
movdqa xmm0, xmmword [esp + 0x64]
sbb esi, edx
mov dword [esp + 0xb8], esi
movdqa xmmword [esp + 0xb4], xmm0
call fcn.0055dc4b
cmp eax, 0xffffffff
je 0x4213f1
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00542ad8
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.005429d0
push eax
call fcn.0055dbe0
add esp, 0x14
jmp 0x421401
lea eax, [esp + 0xb4]
push eax
call fcn.00542642
add esp, 4
mov esi, dword [esp + 0x14]
mov edi, 0xffffffff
mov byte [esp + 0xe0], 0
cmp dword [esi + 0xc], 0
jne 0x4212b0
or edi, edi
push str.HttpDownload_avhttp_user_maybe_cancel.
push 1
push 0xa0
push 0x5efdd4
push 0x5efde8
call fcn.00493e90
add esp, 0x14
mov dword [esp + 0xc], 0x1f4
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], 0
lea ecx, [esp + 0xc]
push eax
call fcn.00421dd0
add esp, 4
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x64], xmm0
call fcn.0055dc4b
cmp eax, 0xffffffff
je 0x421497
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00542ad8
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.005429d0
push eax
call fcn.0055dbe0
add esp, 0x14
jmp 0x4214a4
lea eax, [esp + 0x64]
push eax
call fcn.00542642
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 0
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov byte [esp + 0xe0], 5
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42155c
mov ecx, dword [0x61da44]
test ecx, ecx
je 0x42155c
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0042d160
mov byte [esp + 0xe0], 5
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
test edx, edx
je 0x42155c
mov ecx, edi
lea eax, [edx + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x42155c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x42155c
mov eax, dword [ecx]
call dword [eax + 8]
push 0
mov byte [esp + 0xe4], 0
call fcn.0055da1c
add esp, 4
mov edi, eax
sub edi, dword [esp + 0x18]
push edi
push 0xfffffffffffffffb
push str.HttpDownload_ret___d__time___d
push 1
push 0xae
push str.HttpDownload.cpp
push str.CMFDownload::Download
call fcn.00493e90
mov ecx, dword [esi + 4]
add esp, 0x1c
test ecx, ecx
je 0x4215af
mov eax, dword [esi]
test eax, eax
je 0x4215af
push dword [eax + 4]
push edi
push 0xfffffffffffffffb
push 4
call ecx
add esp, 0x10
cmp dword [esp + 0x48], 8
jb 0x4215c2
push dword [esp + 0x34]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
jb 0x4215ec
push dword [esp + 0x1c]
call fcn.00556a60
add esp, 4
mov eax, 0xfffffffb
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.005571f4
mov esp, ebp
pop ebp
ret