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

Disassembly:
push 0xffffffffffffffff
push 0x4d602e
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0xd0], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x38], edi
mov esi, dword [esp + 0xf4]
push 4
mov dword [esp + 0x24], esi
mov dword [edi + 0xb0], 0
mov dword [esp + 0xdc], 0
call fcn.004b1806
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0xec], 0
test eax, eax
je 0x4461aa
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x4461ac
xor eax, eax
mov dword [esp + 0xec], 0xffffffff
mov dword [esp + 0xd8], eax
mov dword [esp + 0xec], 1
cmp dword [esi + 0x14], 8
jb 0x4461d3
mov edx, dword [esi]
jmp 0x4461d5
mov edx, esi
xor eax, eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
cmp word [edx], ax
jne 0x446214
xor ecx, ecx
jmp 0x44622f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446220
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xbc]
call fcn.00402ad0
mov byte [esp + 0xec], 2
lea eax, [esp + 0xb4]
push 0x80
push 3
push 1
push 0xc0000000
push eax
lea ecx, [esp + 0xec]
call fcn.0041cf90
test al, al
sete al
mov byte [esp + 0x43], al
mov byte [esp + 0xec], 1
cmp dword [esp + 0xc8], 8
jb 0x446295
push dword [esp + 0xb4]
call fcn.004b17b6
mov al, byte [esp + 0x47]
add esp, 4
xor ecx, ecx
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], cx
test al, al
je 0x4462cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
mov edi, 2
jmp 0x446a5a
xorps xmm0, xmm0
movq qword [esp + 0xac], xmm0
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov byte [esp + 0xec], 3
push 8
call fcn.004b1806
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
mov byte [esp + 0xec], 4
test esi, esi
je 0x44634b
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], vtable.RC::RCInternetHandle.0
mov dword [esi + 4], 0
mov byte [esp + 0xec], 5
sub esp, 0x14
mov dword [esi], vtable.RC::RCInternetSession.0
call fcn.0048bb60
mov ecx, eax
call fcn.0048c290
mov dword [esi + 4], eax
mov byte [esp + 0xec], 4
jmp 0x44634d
xor esi, esi
mov byte [esp + 0xec], 3
lea ecx, [esp + 0xac]
push esi
call fcn.00447cd0
mov eax, dword [esp + 0xac]
mov dword [esp + 0x3c], eax
call fcn.00460380
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0xec], 6
mov dword [esp + 0x1c], 0
mov byte [esp + 0xec], 7
lea eax, [edi + 0xa0]
mov dword [esp + 0x10], eax
lea esi, [edi + 0xac]
lea eax, [esp + 0xac]
mov dword [esp + 0x1c], esi
push eax
lea ecx, [esp + 0x18]
call fcn.00416380
mov dword [esp + 0xa0], esi
test esi, esi
je 0x4463df
mov eax, dword [esi]
test eax, eax
je 0x4463df
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0xec], 8
lea eax, [esp + 0xac]
push eax
lea ecx, [edi + 0xa0]
call fcn.0042e710
test esi, esi
je 0x446414
mov eax, dword [esi]
test eax, eax
je 0x44640b
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0xa0], esi
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0xdc]
movlpd qword [esp + 0x30], xmm0
call fcn.0041d1a0
cmp dword [esp + 0x30], 0
ja 0x44643f
cmp dword [esp + 0x2c], 0x10000
jbe 0x446466
lea eax, [esp + 0x2c]
push eax
push 2
push 0
push 0
lea ecx, [esp + 0xe8]
call fcn.0041d230
test al, al
jne 0x446470
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
mov edi, 2
jmp 0x4469b5
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
add eax, 0xffff8000
movq qword [esp + 0xcc], xmm0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
adc eax, 0xffffffff
push 0x28
mov dword [esp + 0x28], eax
call fcn.004b1806
add esp, 4
mov dword [esp + 0xd4], eax
mov byte [esp + 0xec], 9
test eax, eax
je 0x4464cb
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.00462990
jmp 0x4464cd
xor eax, eax
mov byte [esp + 0xec], 8
lea ecx, [esp + 0xcc]
push eax
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call fcn.00447ec0
mov byte [esp + 0xec], 0xa
add edi, 0xe4
mov dword [esp + 0xd4], edi
je 0x44651c
mov eax, dword [edi]
test eax, eax
je 0x44651c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0xec], 0xb
lea eax, [esp + 0xcc]
mov ecx, dword [esp + 0x38]
push eax
add ecx, 0xe8
call fcn.00447d80
mov byte [esp + 0xec], 0xa
test edi, edi
je 0x44655f
mov eax, dword [edi]
test eax, eax
je 0x446554
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0xd4], 0
push dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov ecx, edi
push dword [esp + 0x2c]
push dword [esp + 0x44]
push dword [esp + 0xd8]
call fcn.00447460
test al, al
je 0x44699c
mov ecx, dword [esp + 0xcc]
call fcn.00464790
mov ecx, edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x30], ecx
ja 0x44699c
jb 0x4465b4
cmp dword [esp + 0x2c], eax
ja 0x44699c
mov ecx, dword [edi + 0x78]
mov eax, ecx
mov edx, dword [edi + 0x7c]
or eax, edx
je 0x4465e0
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
je 0x4465e0
cmp dword [esp + 0xd4], ecx
jne 0x44699c
cmp dword [esp + 0x38], edx
jne 0x44699c
push ecx
push dword [esp + 0xd0]
lea eax, [esp + 0xe0]
mov ecx, edi
push eax
call fcn.00447230
cmp eax, 1
je 0x44699c
cmp eax, 5
je 0x44699c
cmp eax, 2
je 0x446998
cmp eax, 3
je 0x446998
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x48]
call fcn.004444d0
mov byte [esp + 0xec], 0xc
lea eax, [esp + 0x44]
push eax
push dword [esp + 0xd0]
call fcn.00447770
movzx ecx, byte [esp + 0x6c]
test al, al
mov edx, 1
cmove ecx, edx
mov edx, dword [esp + 0x60]
mov byte [esp + 0x6c], cl
mov ecx, dword [esp + 0x5c]
test edx, edx
ja 0x446685
jb 0x44666a
cmp ecx, 0x8000
jae 0x446685
mov edi, 2
mov byte [esp + 0xec], 0xa
lea ecx, [esp + 0x44]
call fcn.00406ed0
jmp 0x4469a1
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
je 0x44669f
add ecx, 0xffff8000
mov dword [esp + 0x5c], ecx
adc edx, 0xffffffff
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x98]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x446809
mov ecx, dword [esp + 0xcc]
lea eax, [esp + 0xb4]
push eax
call fcn.00464840
mov byte [esp + 0xec], 0xd
cmp dword [esp + 0xc4], 0
jne 0x446796
push ecx
push 0x4ee8a0
lea ecx, [edi + 0x10]
call fcn.00447ae0
cmp eax, 0xffffffff
je 0x446796
push 0xffffffffffffffff
inc eax
lea ecx, [edi + 0x10]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0040cca0
mov byte [esp + 0xec], 0xe
lea ecx, [esp + 0xb4]
push eax
call fcn.004024d0
mov byte [esp + 0xec], 0xd
lea ecx, [esp + 0x88]
call fcn.00402150
push ecx
push 0x4ee898
lea ecx, [esp + 0xbc]
call fcn.004100a0
cmp eax, 0xffffffff
je 0x446796
push eax
push 0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xc0]
call fcn.0040cca0
mov byte [esp + 0xec], 0xf
lea ecx, [esp + 0xb4]
push eax
call fcn.004024d0
mov byte [esp + 0xec], 0xd
lea ecx, [esp + 0x88]
call fcn.00402150
push dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x72]
push dword [esp + 0x2c]
push dword [esp + 0x40]
mov eax, dword [ecx]
push dword [esp + 0xe0]
push edx
push dword [esp + 0x34]
mov eax, dword [eax + 4]
lea edx, [esp + 0xcc]
push edx
call eax
test al, al
jne 0x4467f5
mov byte [esp + 0xec], 0xc
lea ecx, [esp + 0xb4]
call fcn.00402150
xor edi, edi
mov byte [esp + 0xec], 0xa
lea ecx, [esp + 0x44]
call fcn.00406ed0
jmp 0x4469a1
mov byte [esp + 0xec], 0xc
lea ecx, [esp + 0xb4]
call fcn.00402150
xorps xmm0, xmm0
movq qword [esp + 0xa4], xmm0
mov dword [esp + 0xa4], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [esp + 0xec], 0x10
lea eax, [esp + 0xd8]
mov dword [esp + 0xa4], vtable.DL::TSimpleDownloadDataEvent.0
mov dword [esp + 0xa8], eax
mov byte [esp + 0xec], 0x11
lea eax, [esp + 0x44]
push eax
push dword [esp + 0xd0]
lea eax, [esp + 0xac]
mov ecx, edi
push eax
call fcn.00447850
test al, al
je 0x44695d
lea ecx, [esp + 0xd8]
call fcn.0041d170
cmp dword [edi + 0x90], 0
je 0x446956
xorps xmm0, xmm0
lea ecx, [esp + 0xb4]
movdqu xmmword [esp + 0xb4], xmm0
movq qword [esp + 0xc4], xmm0
call fcn.0042e470
mov byte [esp + 0xec], 0x12
lea ecx, [esp + 0xb4]
push dword [esp + 0x20]
call fcn.0042df70
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xb8]
call fcn.0042e620
mov byte [esp + 0xec], 0x13
lea eax, [edi + 0x80]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.00416e70
add esp, 8
test al, al
jne 0x44692e
mov dword [edi + 0xb0], 0
mov byte [esp + 0xec], 0x12
lea ecx, [esp + 0x88]
call fcn.00402150
mov byte [esp + 0xec], 0x11
lea ecx, [esp + 0xb4]
call fcn.004147a0
mov edi, 2
jmp 0x44695f
mov byte [esp + 0xec], 0x12
lea ecx, [esp + 0x88]
call fcn.00402150
mov byte [esp + 0xec], 0x11
lea ecx, [esp + 0xb4]
call fcn.004147a0
mov edi, 1
jmp 0x44695f
xor edi, edi
mov byte [esp + 0xec], 0xc
mov dword [esp + 0xa4], vtable.DL::TSimpleDownloadDataEvent.0
mov byte [esp + 0xec], 0xc
mov dword [esp + 0xa4], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [esp + 0xec], 0xa
lea ecx, [esp + 0x44]
call fcn.00406ed0
jmp 0x4469a1
xor edi, edi
jmp 0x4469a1
mov edi, 2
mov byte [esp + 0xec], 8
lea ecx, [esp + 0xcc]
call fcn.0040ce50
mov byte [esp + 0xec], 7
test esi, esi
je 0x4469d9
mov eax, dword [esi]
test eax, eax
je 0x4469ce
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0xa0], 0
mov byte [esp + 0xec], 0x17
lea ecx, [esp + 0x10]
call fcn.00444680
mov byte [esp + 0xec], 3
or ecx, 0xffffffff
mov esi, dword [esp + 0x18]
test esi, esi
je 0x446a24
lea eax, [esi + 4]
lock xadd dword [eax], ecx
jne 0x446a21
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
lea eax, [esi + 8]
mov edx, ecx
lock xadd dword [eax], edx
jne 0x446a24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [esp + 0xec], 1
mov esi, dword [esp + 0xb0]
test esi, esi
je 0x446a5a
lea eax, [esi + 4]
lock xadd dword [eax], ecx
jne 0x446a5a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x446a5a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [esp + 0xec], 0xffffffff
mov esi, dword [esp + 0xd8]
test esi, esi
je 0x446a9c
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x446a88
test eax, eax
je 0x446a88
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.004b17b6
add esp, 4
mov dword [esp + 0xd8], 0
mov eax, edi
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.004b0ff2
add esp, 0xe4
ret 4