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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2e0
cmp dword [edx], 1
mov ebx, ecx
jne 0x1008c1d1
mov esi, dword [edx + 4]
mov dword [esp + 4], esi
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebx], 2
cmp ecx, 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jne 0x1008c279
cmp byte [ebx + 0x10], 0
jne 0x1008c454
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x1008c106
mov eax, dword [0x104debfc]
mov ecx, dword [ebx + 0xc]
mov eax, 3
xchg dword [ecx + 8], eax
cmp eax, 2
mov dword [esp + 0xe0], eax
jb 0x1008c461
je 0x1008c190
cmp eax, 3
je 0x1008c461
lea ecx, [esp + 0x38]
lea eax, [esp + 0xe0]
mov dword [esp + 0x188], 0x1044abb0
mov dword [esp + 0x18c], 1
mov dword [esp + 0x190], 0
mov edx, 0x1044abb8
mov dword [esp + 0x198], ecx
lea ecx, [esp + 0x188]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], fcn.10008370
mov dword [esp + 0x19c], 1
call fcn.100f9210
ud2
mov eax, dword [ebx + 0xc]
mov cl, 1
xchg byte [eax + 0x14], cl
test cl, cl
jne 0x1008c190
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov dword [eax + 0x10], 0
test edx, edx
je 0x1008c45e
xchg byte [eax + 0x14], cl
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x1008c1c5
mov eax, dword [0x104debfc]
push esi
call dword [edx + 4]
add esp, 4
jmp 0x1008c461
lea eax, [esp + 0xe0]
lea esi, [edx + 8]
mov ecx, 0x12
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsd xmm2, qword [edx + 0x68]
movsd xmm1, qword [edx + 0x60]
movsd xmm0, qword [edx + 0x70]
movsd qword [esp + 0x250], xmm2
movsd qword [esp + 0x248], xmm1
movsd xmm2, qword [edx + 0x50]
movsd xmm1, qword [edx + 0x58]
movsd qword [esp + 0x258], xmm0
movsd qword [esp + 0x240], xmm1
movsd qword [esp + 0x238], xmm2
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebx], 2
cmp ecx, 2
jne 0x1008c2b8
mov edi, eax
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008c82e
lea ecx, [esp + 0x238]
mov dword [eax], 0
mov esi, eax
mov byte [eax + 8], 3
call fcn.1005f090
push edi
call fcn.1004fb10
add esp, 4
jmp 0x1008c454
lea eax, [esp + 0x188]
mov dword [esp + 0x190], esi
mov dword [esp + 0x19c], 0
mov dword [esp + 0x198], 3
mov dword [esp + 0x18c], 0
mov dword [esp + 0x188], 1
jmp 0x1008c449
movsd xmm1, qword [esp + 0x240]
mov byte [esp + 0x7e], 2
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 4
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov word [esp + 0x70], 0
mov dword [esp + 0x78], 0
movsd xmm0, qword [esp + 0x238]
movsd xmm2, qword [esp + 0x250]
movzx eax, word [esp + 0x120]
lea esi, [esp + 0x38]
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [esp + 0x248]
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x98], xmm2
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x258]
movsd qword [esp + 0xa0], xmm1
mov word [esp + 0x7c], ax
push esi
mov ebx, ecx
mov dword [esp + 4], edx
call fcn.1004fb10
add esp, 4
movsd xmm1, qword [esp + 0x110]
movsd xmm2, qword [esp + 0x108]
movsd xmm0, qword [esp + 0x118]
mov al, byte [esp + 0x122]
lea edi, [esp + 0x190]
mov ecx, 0x1c
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [esp + 0x100]
movsd qword [esp + 0x60], xmm2
movsd xmm2, qword [esp + 0xf8]
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [esp + 0xf0]
movsd qword [esp + 0x50], xmm2
movsd xmm2, qword [esp + 0xe0]
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [esp + 0xe8]
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x40], xmm1
mov byte [esp + 0x7e], al
lea eax, [esp + 0x188]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18c], 0
mov dword [esp + 0x188], 0
mov ecx, ebx
mov edx, dword [esp]
push eax
call fcn.10063f40
add esp, 4
xor esi, esi
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xchg byte [eax + 0x14], cl
mov eax, dword [ebx + 8]
cmp byte [eax + 0x30], 0
jne 0x1008c471
mov byte [eax + 0x30], 1
mov eax, dword [ebx + 8]
lock or dword [eax + 0x10], 1
lea edi, [esp + 0x38]
mov edx, dword [ebx + 8]
mov ecx, edi
lea eax, [edx + 8]
add edx, 0x24
push eax
call fcn.10063ab0
add esp, 4
mov al, byte [esp + 0x38]
shl al, 5
sar al, 5
cmp al, 0xfd
jg 0x1008c4b7
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 3
jmp 0x1008c5c5
mov eax, dword [ebx + 8]
mov ecx, 0xfffffffe
lock xadd dword [eax + 0x10], ecx
cmp ecx, 1
jbe 0x1008c83f
lea esi, [esp + 0x18e]
push 0xa8
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0xa8
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movaps xmm1, xmmword [0x103e6600]
movups xmm0, xmmword [esp + 0x38]
movups xmmword [esp + 0x38], xmm1
movups xmm1, xmmword [esp + 0x48]
movups xmmword [esp + 0xe0], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmm2, xmmword [esp + 0x88]
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0xd8]
movups xmmword [esp + 0xf0], xmm1
movups xmm1, xmmword [esp + 0x58]
movups xmmword [esp + 0x110], xmm0
movups xmmword [esp + 0x100], xmm1
movups xmm1, xmmword [esp + 0x78]
movups xmmword [esp + 0x130], xmm2
movups xmm2, xmmword [esp + 0xa8]
movups xmmword [esp + 0x120], xmm1
movups xmm1, xmmword [esp + 0x98]
movups xmmword [esp + 0x150], xmm2
movups xmm2, xmmword [esp + 0xc8]
movups xmmword [esp + 0x140], xmm1
movups xmm1, xmmword [esp + 0xb8]
movups xmmword [esp + 0x170], xmm2
movups xmmword [esp + 0x160], xmm1
mov dword [esp + 0x184], ecx
mov ecx, edi
mov dword [esp + 0x180], eax
call fcn.10063c80
mov eax, dword [esp + 0xe0]
xor eax, 3
or eax, dword [esp + 0xe4]
jne 0x1008c5d9
mov esi, dword [esp + 4]
cmp dword [esp + 0x10], 2
je 0x1008c454
jmp 0x1008c809
lea eax, [esp + 0xe0]
lea ecx, [esp + 0x238]
push 0xa0
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x180]
mov dword [esp], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0xc], eax
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x1008c61a
mov eax, dword [0x104debfc]
mov eax, dword [0x104d53e8]
dec eax
cmp eax, 5
jb 0x1008c710
mov ecx, dword [0x104d5050]
test ecx, ecx
je 0x1008c710
mov al, 1
cmp ecx, 1
je 0x1008c649
cmp ecx, 2
jne 0x1008c817
mov al, 2
movzx edx, al
mov ecx, 0x104d5050
call fcn.10109d10
test al, al
je 0x1008c710
mov ecx, dword [0x104d5054]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1008c84f
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov ebx, edi
mov edi, dword [ecx + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + str.canceling_queued_request_with_connection_error:_error_shutting_down_IO:_shut_down_IO_complete], 0x1041b190
mov dword [esp + 0x18c], 1
mov dword [esp + 0x190], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], edx
lea edx, [esp + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x48], edi
mov dword [esp + 0x18], edx
lea edx, [esp + 0x188]
mov dword [esp + 0x198], esi
lea esi, [esp + 0x2c]
mov dword [esp + 0x1c], 0x1003edb0
mov dword [esp + 0x19c], 1
mov dword [esp + 0x30], edx
lea edx, [ecx + 0x2c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x34], 0x10419960
mov dword [esp + 0x28], edx
lea edx, [esp + 0x20]
call fcn.1010a570
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008c82e
mov dword [eax], 0
mov byte [eax + 8], 4
mov edi, eax
mov esi, dword [esp + 4]
call sub.KERNEL32.dll_GetProcessHeap
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008c848
mov dword [eax], esi
mov dword [esp + 8], eax
mov esi, dword [edi]
test esi, esi
je 0x1008c787
mov ebx, dword [edi + 4]
push esi
call dword [ebx]
add esp, 4
cmp dword [ebx + 4], 0
je 0x1008c787
cmp dword [ebx + 8], 9
jae 0x1008c777
call sub.KERNEL32.dll_GetProcessHeap
push esi
jmp 0x1008c77f
call sub.KERNEL32.dll_GetProcessHeap
push dword [esi - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 8]
mov dword [edi], eax
mov dword [edi + 4], 0x1041911c
lea eax, [esp + 0x3c]
push 0xa0
lea ecx, [esp + 0x23c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x190], edi
lea eax, [esp + 0x194]
push 0xa4
lea ecx, [esp + 0x3c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x188]
mov dword [esp + 0x18c], 0
mov dword [esp + 0x188], 1
push eax
call fcn.10063f40
add esp, 4
xor esi, esi
cmp dword [esp + 0x10], 2
je 0x1008c454
lea ecx, [esp + 0x10]
call fcn.10064630
jmp 0x1008c454
mov ecx, 0x104d5050
call fcn.10109c60
test al, al
jne 0x1008c649
jmp 0x1008c710
mov ecx, 0xc
mov edx, 4
call fcn.10006540
ud2
mov ecx, 7
int 0x29
ud2
mov ecx, 4
jmp 0x1008c833
mov ecx, 0x1041992d
mov edx, 0x22
push 0x1041b204
call fcn.1000a730
add esp, 4
ud2