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

Disassembly:
push 0xffffffffffffffff
push 0x4d612a
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0xf0], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x78], edi
cmp byte [edi + 0x9c], 0
mov esi, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
mov dword [esp + 0x54], esi
mov dword [esp + 0x6c], eax
je 0x446b35
xor eax, eax
jmp 0x447200
push 4
mov dword [esp + 0xfc], 0
call fcn.004b1806
add esp, 4
mov dword [esp + 0x70], eax
mov dword [esp + 0x108], 0
test eax, eax
je 0x446b6b
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x446b6d
xor eax, eax
mov dword [esp + 0x108], 0xffffffff
mov dword [esp + 0xf8], eax
mov dword [esp + 0x108], 1
cmp dword [esp + 0x6c], 0
jne 0x446c28
cmp dword [esi + 0x14], 8
jb 0x446b9f
mov eax, dword [esi]
jmp 0x446ba1
mov eax, esi
push eax
lea ecx, [esp + 0x40]
call fcn.00402470
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.0041cf90
test al, al
sete al
mov byte [esp + 0x77], al
mov byte [esp + 0x108], 1
cmp dword [esp + 0x50], 8
jb 0x446bfa
push dword [esp + 0x3c]
call fcn.004b17b6
mov al, byte [esp + 0x7b]
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 0x446c28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
xor edi, edi
jmp 0x4471bc
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.004b1806
add esp, 4
mov dword [esp + 0x70], eax
mov byte [esp + 0x108], 4
test eax, eax
je 0x446c7f
sub esp, 0x14
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
call fcn.00460200
jmp 0x446c81
xor eax, eax
mov byte [esp + 0x108], 3
lea ecx, [esp + 0xe8]
push eax
call fcn.00447cd0
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x70], eax
call fcn.00460380
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x108], 5
mov dword [esp + 0x64], 0
mov byte [esp + 0x108], 6
lea eax, [edi + 0xa0]
mov dword [esp + 0x58], eax
lea esi, [edi + 0xac]
lea eax, [esp + 0xe8]
mov dword [esp + 0x64], esi
push eax
lea ecx, [esp + 0x60]
call fcn.00416380
mov dword [esp + 0xdc], esi
test esi, esi
je 0x446d13
mov eax, dword [esi]
test eax, eax
je 0x446d13
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.0042e710
test esi, esi
je 0x446d48
mov eax, dword [esi]
test eax, eax
je 0x446d3f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0xdc], esi
xorps xmm0, xmm0
push 0x28
movq qword [esp + 0xf4], xmm0
call fcn.004b1806
add esp, 4
mov dword [esp + 0x68], eax
mov byte [esp + 0x108], 8
test eax, eax
je 0x446d88
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.00462990
jmp 0x446d8a
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.00447ec0
mov byte [esp + 0x108], 9
add edi, 0xe4
mov dword [esp + 0xd8], edi
je 0x446dd9
mov eax, dword [edi]
test eax, eax
je 0x446dd9
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 0x446df8
add eax, 8
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xec]
mov dword [esp + 0x68], eax
test eax, eax
je 0x446e23
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x446e23
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x78]
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 0x446e68
mov ecx, dword [edi]
test ecx, ecx
je 0x446e5d
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xd8], 0
mov edi, dword [esp + 0x78]
mov ecx, edi
push 0
push 0
push dword [esp + 0x78]
push eax
call fcn.00447460
test al, al
jne 0x446e8b
xor eax, eax
mov dword [esp + 0x78], eax
jmp 0x4470e0
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x80]
call fcn.004444d0
mov byte [esp + 0x108], 0xb
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0xf4]
call fcn.00447770
movzx ecx, byte [esp + 0xa4]
test al, al
mov eax, 1
cmove ecx, eax
mov eax, dword [edi + 0x98]
mov byte [esp + 0xa4], cl
mov dword [esp + 0x70], eax
test eax, eax
je 0x447010
mov ecx, dword [esp + 0xf0]
lea eax, [esp + 0xc0]
push eax
call fcn.00464840
mov byte [esp + 0x108], 0xc
cmp dword [esp + 0xd0], 0
jne 0x446fa8
push ecx
push 0x4ee8a0
lea ecx, [edi + 0x10]
call fcn.00447ae0
cmp eax, 0xffffffff
je 0x446fa8
push 0xffffffffffffffff
inc eax
lea ecx, [edi + 0x10]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040cca0
mov byte [esp + 0x108], 0xd
lea ecx, [esp + 0xc0]
push eax
call fcn.004024d0
mov byte [esp + 0x108], 0xc
lea ecx, [esp + 0xc]
call fcn.00402150
push ecx
push 0x4ee898
lea ecx, [esp + 0xc8]
call fcn.004100a0
cmp eax, 0xffffffff
je 0x446fa8
push eax
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xcc]
call fcn.0040cca0
mov byte [esp + 0x108], 0xe
lea ecx, [esp + 0xc0]
push eax
call fcn.004024d0
mov byte [esp + 0x108], 0xc
lea ecx, [esp + 0x24]
call fcn.00402150
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0xa6]
push 0
push 0
push dword [esp + 0xa0]
mov eax, dword [ecx]
push dword [esp + 0xa0]
push edx
push dword [esp + 0x68]
mov eax, dword [eax + 4]
lea edx, [esp + 0xd8]
push edx
call eax
test al, al
jne 0x446ffc
mov byte [esp + 0x108], 0xb
lea ecx, [esp + 0xc0]
call fcn.00402150
xor eax, eax
mov dword [esp + 0x78], eax
jmp 0x4470a5
mov byte [esp + 0x108], 0xb
lea ecx, [esp + 0xc0]
call fcn.00402150
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 + 0x7c]
push ecx
push dword [esp + 0xf4]
mov ecx, edi
push eax
call fcn.00447850
xor ecx, ecx
test al, al
setne cl
mov dword [esp + 0x78], 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 + 0x90], 8
jb 0x4470c3
push dword [esp + 0x7c]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
mov byte [esp + 0x108], 7
mov edi, dword [esp + 0xf4]
test edi, edi
je 0x447118
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x447118
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x447118
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [esp + 0x108], 6
test esi, esi
je 0x44713c
mov eax, dword [esi]
test eax, eax
je 0x447131
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0xdc], 0
mov byte [esp + 0x108], 0x14
lea ecx, [esp + 0x58]
call fcn.00444680
mov byte [esp + 0x108], 3
or edi, 0xffffffff
mov esi, dword [esp + 0x60]
test esi, esi
je 0x447183
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x447183
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x447183
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 0x4471b8
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4471b8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x4471b8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x108], 0xffffffff
mov esi, dword [esp + 0xf8]
test esi, esi
je 0x4471fe
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4471ea
test eax, eax
je 0x4471ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.004b17b6
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.004b0ff2
add esp, 0x100
ret 8