Function at 0x406910
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 5
call fcn.0042f4e0
mov ecx, eax
test ecx, ecx
je 0x406b97
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea edx, [ebp + 8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.0042fc40
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x40696f
mov eax, dword [eax]
push eax
push dword [ebx + 4]
lea eax, [ebp - 0x14]
push str._wsdownload_ws
push eax
call fcn.00421db0
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.0042f050
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x58], ebx
lea ecx, [ecx - 0x10]
call fcn.0042ee10
mov dword [ebp - 0x1c], eax
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.0042ee10
mov dword [ebp - 0x20], eax
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.0042ee10
mov dword [ebp - 0x24], eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
lea ecx, [ecx - 0x10]
call fcn.0042ee10
mov dword [ebp - 0x28], eax
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042ee10
mov edi, dword [ebp + 0x20]
mov esi, eax
mov dword [ebp - 0x3c], edi
lea eax, [esi + 0x10]
mov dword [ebp - 0x40], eax
push 0x20
mov byte [ebp - 4], 0xc
call fcn.00549aa4
mov ebx, eax
add esp, 4
mov dword [ebp + 0x20], ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x30], ebx
mov dword [ebx], eax
call fcn.0042ee10
add eax, 0x10
mov dword [ebx + 4], eax
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.0042ee10
add eax, 0x10
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.0042ee10
add eax, 0x10
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x10], eax
call fcn.0042ee10
add eax, 0x10
mov dword [ebx + 0x14], eax
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.0042ee10
add eax, 0x10
mov dword [ebp + 0x1c], ebx
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x12
push eax
push 0
push ebx
push 0x4251b0
push 0
push 0
call fcn.00555138
add esp, 0x18
mov dword [ebp - 0x38], eax
test eax, eax
je 0x406b89
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x14
call fcn.00408720
lea ecx, [ebp - 0x38]
call fcn.0042e990
cmp dword [ebp - 0x34], 0
jne 0x406ba1
mov edx, dword [ebp - 0x2c]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406af6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406b10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406b2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406b44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406b5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x406b76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 6
mov dword [ebp - 0x34], 0
call fcn.0053296f
push 0x80004005
call fcn.0042fa70
call fcn.0054eb75
int3