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

Disassembly:
push 0xffffffffffffffff
push 0x485b05
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0xf0], eax
push esi
push edi
mov eax, dword [0x4a9750]
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 + 0xa4], 0
mov esi, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
mov dword [esp + 0x54], esi
mov dword [esp + 0x6c], eax
je 0x42acb5
xor eax, eax
jmp 0x42b3a8
push 4
mov dword [esp + 0xfc], 0
call fcn.00467355
add esp, 4
mov dword [esp + 0x70], eax
mov dword [esp + 0x108], 0
test eax, eax
je 0x42aceb
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x42aced
xor eax, eax
mov dword [esp + 0x108], 0xffffffff
mov dword [esp + 0xf8], eax
mov dword [esp + 0x108], 1
cmp dword [esp + 0x6c], 0
jne 0x42ada4
cmp dword [esi + 0x14], 8
jb 0x42ad1f
mov eax, dword [esi]
jmp 0x42ad21
mov eax, esi
push eax
lea ecx, [esp + 0x40]
call fcn.004031e0
mov byte [esp + 0x108], 2
lea eax, [esp + 0x3c]
push ecx
push 2
push 1
push 0x40000000
push eax
lea ecx, [esp + 0x10c]
call fcn.00414e20
test al, al
sete al
mov byte [esp + 0x77], al
mov byte [esp + 0x108], 1
cmp dword [esp + 0x50], 8
jb 0x42ad76
push dword [esp + 0x3c]
call fcn.00467305
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 0x42ada4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb8], eax
xor edi, edi
jmp 0x42b364
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.00467355
mov esi, eax
add esp, 4
mov dword [esp + 0x70], esi
mov byte [esp + 0x108], 4
test esi, esi
je 0x42ae28
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], vtable.RC::RCInternetHandle.0
mov dword [esi + 4], 0
mov byte [esp + 0x108], 5
sub esp, 0x14
mov dword [esi], vtable.RC::RCInternetSession.0
call fcn.00445030
mov ecx, eax
call fcn.004456c0
mov dword [esi + 4], eax
mov byte [esp + 0x108], 4
jmp 0x42ae2a
xor esi, esi
mov byte [esp + 0x108], 3
lea ecx, [esp + 0xe8]
push esi
call fcn.0042be60
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x70], eax
call fcn.00433f30
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x108], 6
mov dword [esp + 0x64], 0
mov byte [esp + 0x108], 7
lea eax, [edi + 0xa8]
mov dword [esp + 0x58], eax
lea esi, [edi + 0xb4]
lea eax, [esp + 0xe8]
mov dword [esp + 0x64], esi
push eax
lea ecx, [esp + 0x60]
call fcn.0040eeb0
mov dword [esp + 0xdc], esi
test esi, esi
je 0x42aebc
mov eax, dword [esi]
test eax, eax
je 0x42aebc
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x108], 8
lea eax, [esp + 0xe8]
push eax
lea ecx, [edi + 0xa8]
call fcn.0041dd40
test esi, esi
je 0x42aef1
mov eax, dword [esi]
test eax, eax
je 0x42aee8
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.00467355
add esp, 4
mov dword [esp + 0x68], eax
mov byte [esp + 0x108], 9
test eax, eax
je 0x42af31
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.00435f60
jmp 0x42af33
xor eax, eax
mov byte [esp + 0x108], 8
lea ecx, [esp + 0xf0]
push eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
call fcn.0042c0b0
mov byte [esp + 0x108], 0xa
add edi, 0xec
mov dword [esp + 0xd8], edi
je 0x42af82
mov eax, dword [edi]
test eax, eax
je 0x42af82
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x108], 0xb
mov ecx, 1
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x42afa1
add eax, 8
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xf4]
mov dword [esp + 0x68], eax
test eax, eax
je 0x42afcc
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42afcc
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 + 0xf4], eax
mov eax, dword [esp + 0xf0]
mov dword [edx + 0xf0], eax
mov byte [esp + 0x108], 0xa
test edi, edi
je 0x42b011
mov ecx, dword [edi]
test ecx, ecx
je 0x42b006
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.0042b600
test al, al
jne 0x42b034
xor eax, eax
mov dword [esp + 0x78], eax
jmp 0x42b288
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x80]
call fcn.00428530
mov byte [esp + 0x108], 0xc
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0xf4]
call fcn.0042b910
movzx ecx, byte [esp + 0xa4]
test al, al
mov eax, 1
cmove ecx, eax
mov eax, dword [edi + 0xa0]
mov byte [esp + 0xa4], cl
mov dword [esp + 0x70], eax
test eax, eax
je 0x42b1b8
mov ecx, dword [esp + 0xf0]
lea eax, [esp + 0xc0]
push eax
call fcn.00437e30
mov byte [esp + 0x108], 0xd
cmp dword [esp + 0xd0], 0
jne 0x42b150
push ecx
push 0x4974cc
lea ecx, [edi + 0x10]
call fcn.0042bc80
cmp eax, 0xffffffff
je 0x42b150
push 0xffffffffffffffff
inc eax
lea ecx, [edi + 0x10]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00405f40
mov byte [esp + 0x108], 0xe
lea ecx, [esp + 0xc0]
push eax
call fcn.004032b0
mov byte [esp + 0x108], 0xd
lea ecx, [esp + 0xc]
call fcn.004032f0
push 2
sub esp, 8
lea ecx, [esp + 0xcc]
call fcn.004089b0
cmp eax, 0xffffffff
je 0x42b150
push eax
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xcc]
call fcn.00405f40
mov byte [esp + 0x108], 0xf
lea ecx, [esp + 0xc0]
push eax
call fcn.004032b0
mov byte [esp + 0x108], 0xd
lea ecx, [esp + 0x24]
call fcn.004032f0
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 0x42b1a4
mov byte [esp + 0x108], 0xc
lea ecx, [esp + 0xc0]
call fcn.004032f0
xor eax, eax
mov dword [esp + 0x78], eax
jmp 0x42b24d
mov byte [esp + 0x108], 0xc
lea ecx, [esp + 0xc0]
call fcn.004032f0
xorps xmm0, xmm0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xe0], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [esp + 0x108], 0x10
lea eax, [esp + 0xf8]
mov dword [esp + 0xe0], vtable.DL::TSimpleDownloadDataEvent.0
mov dword [esp + 0xe4], eax
mov byte [esp + 0x108], 0x11
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.0042b9f0
xor ecx, ecx
test al, al
setne cl
mov dword [esp + 0x78], ecx
mov byte [esp + 0x108], 0xc
mov dword [esp + 0xe0], vtable.DL::TSimpleDownloadDataEvent.0
mov byte [esp + 0x108], 0xc
mov dword [esp + 0xe0], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [esp + 0x108], 0xa
cmp dword [esp + 0x90], 8
jb 0x42b26b
push dword [esp + 0x7c]
call fcn.00467305
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], 8
mov edi, dword [esp + 0xf4]
test edi, edi
je 0x42b2c0
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42b2c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x42b2c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [esp + 0x108], 7
test esi, esi
je 0x42b2e4
mov eax, dword [esi]
test eax, eax
je 0x42b2d9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0xdc], 0
mov byte [esp + 0x108], 0x15
lea ecx, [esp + 0x58]
call fcn.004286e0
mov byte [esp + 0x108], 3
or edi, 0xffffffff
mov esi, dword [esp + 0x60]
test esi, esi
je 0x42b32b
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x42b32b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x42b32b
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 0x42b360
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x42b360
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x42b360
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 0x42b3a6
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42b392
test eax, eax
je 0x42b392
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.00467305
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.00466b29
add esp, 0x100
ret 8