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

Disassembly:
push 0xffffffffffffffff
push 0x68bee0
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0xf0], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x80], edi
cmp byte [edi + 0x9c], 0
mov esi, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
mov dword [esp + 0x58], esi
mov dword [esp + 0x6c], eax
je 0x441308
xor eax, eax
jmp 0x4419eb
push 4
mov dword [esp + 0xfc], 0
call fcn.00547bd8
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x108], 0
test eax, eax
je 0x44133e
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x441340
xor eax, eax
mov dword [esp + 0x108], 0xffffffff
mov dword [esp + 0xf8], eax
mov dword [esp + 0x108], 1
cmp dword [esp + 0x6c], 0
jne 0x4413fe
cmp dword [esi + 0x14], 8
jb 0x441372
mov eax, dword [esi]
jmp 0x441374
mov eax, esi
push eax
lea ecx, [esp + 0x40]
call fcn.00408c20
mov byte [esp + 0x108], 2
lea eax, [esp + 0x3c]
push 0x80
push 2
push 1
push 0x40000000
push eax
lea ecx, [esp + 0x10c]
call fcn.00439c50
test al, al
sete al
mov byte [esp + 0x7f], al
mov byte [esp + 0x108], 1
cmp dword [esp + 0x50], 8
jb 0x4413d0
push dword [esp + 0x3c]
call fcn.005472b4
mov al, byte [esp + 0x83]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
test al, al
je 0x4413fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
xor edi, edi
jmp 0x4419a7
xorps xmm0, xmm0
movq qword [esp + 0xe8], xmm0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov byte [esp + 0x108], 3
push 8
call fcn.00547bd8
add esp, 4
mov dword [esp + 0x78], eax
mov byte [esp + 0x108], 4
test eax, eax
je 0x441455
sub esp, 0x14
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
call fcn.004454e0
jmp 0x441457
xor eax, eax
mov byte [esp + 0x108], 3
lea ecx, [esp + 0xe8]
push eax
call fcn.00442850
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x78], eax
call fcn.00445660
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov byte [esp + 0x108], 5
mov dword [esp + 0x68], 0
mov byte [esp + 0x108], 6
lea eax, [edi + 0xa0]
mov dword [esp + 0x5c], eax
lea esi, [edi + 0xac]
lea eax, [esp + 0xe8]
mov dword [esp + 0x68], esi
push eax
lea ecx, [esp + 0x64]
call fcn.004424b0
mov dword [esp + 0x74], esi
test esi, esi
je 0x4414e6
mov eax, dword [esi]
test eax, eax
je 0x4414e6
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x108], 7
lea eax, [esp + 0xe8]
push eax
lea ecx, [edi + 0xa0]
call fcn.00442350
test esi, esi
je 0x441518
mov eax, dword [esi]
test eax, eax
je 0x441512
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x74], esi
xorps xmm0, xmm0
push 0x28
movq qword [esp + 0xf4], xmm0
call fcn.00547bd8
add esp, 4
mov dword [esp + 0x70], eax
mov byte [esp + 0x108], 8
test eax, eax
je 0x441558
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.00453e30
jmp 0x44155a
xor eax, eax
mov byte [esp + 0x108], 7
lea ecx, [esp + 0xf0]
push eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
call fcn.00442ab0
mov byte [esp + 0x108], 9
add edi, 0xe4
mov dword [esp + 0x54], edi
je 0x4415a6
mov eax, dword [edi]
test eax, eax
je 0x4415a6
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x108], 0xa
mov ecx, 1
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4415c5
add eax, 8
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0xec]
mov dword [esp + 0x70], eax
test eax, eax
je 0x4415f6
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4415f6
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0xf4]
mov dword [edx + 0xec], eax
mov eax, dword [esp + 0xf0]
mov dword [edx + 0xe8], eax
mov byte [esp + 0x108], 9
test edi, edi
je 0x441638
mov ecx, dword [edi]
test ecx, ecx
je 0x441630
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x54], 0
mov edi, dword [esp + 0x80]
mov ecx, edi
push 0
push 0
push dword [esp + 0x80]
push eax
call fcn.00441c50
test al, al
jne 0x441664
xor eax, eax
mov dword [esp + 0x80], eax
jmp 0x4418cb
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x88]
call fcn.0043eab0
mov byte [esp + 0x108], 0xb
lea eax, [esp + 0x84]
push eax
push dword [esp + 0xf4]
call fcn.00441f60
movzx ecx, byte [esp + 0xac]
test al, al
mov eax, 1
cmove ecx, eax
mov eax, dword [edi + 0x98]
mov byte [esp + 0xac], cl
mov dword [esp + 0x78], eax
test eax, eax
je 0x4417ef
mov ecx, dword [esp + 0xf0]
lea eax, [esp + 0xc8]
push eax
call fcn.00455ce0
mov byte [esp + 0x108], 0xc
cmp dword [esp + 0xd8], 0
jne 0x441784
push ecx
push 0x6eb268
lea ecx, [edi + 0x10]
call fcn.00408d70
cmp eax, 0xffffffff
je 0x441784
push 0xffffffffffffffff
inc eax
lea ecx, [edi + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00408dc0
mov byte [esp + 0x108], 0xd
lea ecx, [esp + 0xc8]
push eax
call fcn.00408c80
mov byte [esp + 0x108], 0xc
lea ecx, [esp + 0x24]
call fcn.00408cc0
push ecx
push 0x6f1a74
lea ecx, [esp + 0xd0]
call fcn.00420250
cmp eax, 0xffffffff
je 0x441784
push eax
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd4]
call fcn.00408dc0
mov byte [esp + 0x108], 0xe
lea ecx, [esp + 0xc8]
push eax
call fcn.00408c80
mov byte [esp + 0x108], 0xc
lea ecx, [esp + 0xc]
call fcn.00408cc0
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0xae]
push 0
push 0
push dword [esp + 0xa8]
mov eax, dword [ecx]
push dword [esp + 0xa8]
push edx
push dword [esp + 0x6c]
mov eax, dword [eax + 4]
lea edx, [esp + 0xe0]
push edx
call eax
test al, al
jne 0x4417db
mov byte [esp + 0x108], 0xb
lea ecx, [esp + 0xc8]
call fcn.00408cc0
xor eax, eax
mov dword [esp + 0x80], eax
jmp 0x44188a
mov byte [esp + 0x108], 0xb
lea ecx, [esp + 0xc8]
call fcn.00408cc0
xorps xmm0, xmm0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xe0], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [esp + 0x108], 0xf
lea eax, [esp + 0xf8]
mov dword [esp + 0xe0], vtable.DL::TSimpleDownloadDataEvent.0
mov dword [esp + 0xe4], eax
mov byte [esp + 0x108], 0x10
lea eax, [esp + 0xe0]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
cmovne eax, ecx
lea ecx, [esp + 0x84]
push ecx
push dword [esp + 0xf4]
mov ecx, edi
push eax
call fcn.00442040
xor ecx, ecx
test al, al
setne cl
mov dword [esp + 0x80], ecx
mov byte [esp + 0x108], 0xb
mov dword [esp + 0xe0], vtable.DL::TSimpleDownloadDataEvent.0
mov byte [esp + 0x108], 0xb
mov dword [esp + 0xe0], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [esp + 0x108], 9
cmp dword [esp + 0x98], 8
jb 0x4418ab
push dword [esp + 0x84]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0x108], 7
mov edi, dword [esp + 0xf4]
test edi, edi
je 0x441903
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x441903
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x441903
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [esp + 0x108], 6
test esi, esi
je 0x441924
mov eax, dword [esi]
test eax, eax
je 0x44191c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x74], 0
mov byte [esp + 0x108], 0x14
lea ecx, [esp + 0x5c]
call fcn.0043ec60
mov byte [esp + 0x108], 3
or edi, 0xffffffff
mov esi, dword [esp + 0x64]
test esi, esi
je 0x44196b
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x44196b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x44196b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x108], 1
mov esi, dword [esp + 0xec]
test esi, esi
je 0x4419a0
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4419a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x4419a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x108], 0xffffffff
mov esi, dword [esp + 0xf8]
test esi, esi
je 0x4419e9
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4419d5
test eax, eax
je 0x4419d5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.005472b4
add esp, 4
mov dword [esp + 0xf8], 0
mov eax, edi
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.005472b9
add esp, 0x100
ret 8