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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x13], 0
mov eax, dword [edi + 0x1e0]
test byte [eax + 0x44], 3
je 0x1008a9d8
cmp byte [edi + 0x1ce], 0
je 0x1008a9ba
cmp byte [edi + 0x1c6], 0
jne 0x1008a9d8
push dword [ebx + 0x70]
call fcn.1007fd80
add esp, 4
test al, al
je 0x1008a9d8
cmp byte [ebx + 0xc3c], 3
mov eax, 2
cmovae esi, eax
test esi, esi
setne byte [esp + 0x28]
test byte [ebx + 0x95c], 0x28
je 0x1008a9f9
mov eax, dword [edi + 0x1e0]
mov byte [esp + 0x12], 1
test byte [eax + 0x44], 3
jne 0x1008a9fe
mov byte [esp + 0x12], 0
cmp byte [edi + 0x1c2], 0
je 0x1008aa23
test byte [ebx + 0x96c], 0x28
je 0x1008aa23
mov eax, dword [edi + 0x1e0]
test byte [eax + 0x44], 3
je 0x1008aa23
mov byte [esp + 0x24], 1
jmp 0x1008aa29
xor al, al
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x30]
mov byte [eax], 0
mov eax, dword [esp + 0x34]
mov byte [eax], 0
push dword [ebx + 0x888]
push edi
push ebx
call fcn.10088150
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x1008b173
cmp dword [eax], 2
mov edx, str.serially
mov ecx, str.can_multiplex
cmovne ecx, edx
push ecx
push eax
push str.Found_bundle_for_host:__p___s_
push ebx
call fcn.1008fd90
add esp, 0x10
test esi, esi
mov esi, dword [esp + 0x18]
je 0x1008ab14
mov eax, dword [esi]
test eax, eax
jne 0x1008aad5
cmp byte [ebx + 0x6e0], al
je 0x1008aac0
push str.Server_doesnt_support_multiplex_yet__wait
push ebx
call fcn.1008fd90
mov eax, dword [esp + 0x3c]
add esp, 8
mov byte [eax], 1
cmp dword [ebx + 0x78], ebp
je 0x1008b208
push 5
push ebx
call fcn.100953c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.Server_doesnt_support_multiplex__yet_
push ebx
call fcn.1008fd90
mov eax, dword [esi]
add esp, 8
mov byte [esp + 0x28], 0
cmp eax, 2
jne 0x1008aafc
push dword [ebx + 0x70]
call fcn.1007fd80
add esp, 4
test al, al
jne 0x1008aafc
push str.Could_multiplex__but_not_asked_to
push ebx
call fcn.1008fd90
add esp, 8
mov byte [esp + 0x28], 0
cmp dword [esi], 0xffffffff
jne 0x1008ab14
push str.Can_not_multiplex__even_if_we_wanted_to
push ebx
call fcn.1008fd90
add esp, 8
mov byte [esp + 0x28], 0
mov esi, dword [esi + 8]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x1008b173
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov esi, dword [esi]
mov eax, dword [eax + 8]
cmp byte [esi + 0x454], 0
mov dword [esp + 0x1c], eax
jne 0x1008aba3
cmp byte [esi + 0x1c6], 0
jne 0x1008aba3
push ebx
push esi
call fcn.1008d500
add esp, 8
test al, al
je 0x1008ab5d
push 1
push esi
push ebx
call fcn.1008b790
jmp 0x1008aba0
mov al, byte [ebx + 0x4c0]
test al, al
je 0x1008ab6f
cmp al, byte [esi + 0x452]
jne 0x1008aba3
mov eax, dword [esp + 0x18]
cmp dword [eax], 2
jne 0x1008ab7e
mov ebp, dword [esi + 0x240]
cmp byte [esp + 0x28], 0
jne 0x1008abb8
test ebp, ebp
jne 0x1008aba3
cmp byte [esi + 0xac], 0
jne 0x1008abb8
push dword [esi + 0x38]
push str.Connection__ld_is_still_name_resolving__cant_reuse
push ebx
call fcn.1008fd90
add esp, 0xc
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x1008ab23
jmp 0x1008b173
push 0
push esi
call fcn.1008f9b0
add esp, 8
test al, al
jne 0x1008abd6
push dword [esi + 0x38]
mov byte [esp + 0x17], 1
push str.Connection__ld_isnt_open_enough__cant_reuse
jmp 0x1008ab9a
mov ecx, dword [edi + 0x424]
mov eax, dword [esi + 0x424]
test ecx, ecx
je 0x1008ac27
test eax, eax
je 0x1008aba3
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1008ac10
test dl, dl
je 0x1008ac0c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1008ac10
add ecx, 2
add eax, 2
test dl, dl
jne 0x1008abf0
xor eax, eax
jmp 0x1008ac15
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1008aba3
mov al, byte [edi + 0x1db]
cmp al, byte [esi + 0x1db]
jmp 0x1008ac29
test eax, eax
jne 0x1008aba3
mov edx, dword [edi + 0x1e0]
mov ecx, dword [esi + 0x1e0]
mov eax, dword [edx + 0x4c]
xor eax, dword [ecx + 0x4c]
test al, 1
je 0x1008ac5e
mov eax, dword [ecx + 0x48]
cmp eax, dword [edx + 0x44]
jne 0x1008aba3
cmp byte [esi + 0x1dc], 0
je 0x1008aba3
mov al, byte [edi + 0x1c0]
cmp al, byte [esi + 0x1c0]
jne 0x1008aba3
mov al, byte [edi + 0x1c1]
cmp al, byte [esi + 0x1c1]
jne 0x1008aba3
test al, al
je 0x1008acf2
mov al, byte [edi + 0x80]
cmp al, byte [esi + 0x80]
jne 0x1008aba3
mov eax, dword [edi + 0x7c]
cmp eax, dword [esi + 0x7c]
jne 0x1008aba3
push dword [esi + 0x74]
push dword [edi + 0x74]
call fcn.10094d30
add esp, 8
test eax, eax
je 0x1008aba3
push dword [esi + 0x84]
push dword [edi + 0x84]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
push dword [esi + 0x88]
push dword [edi + 0x88]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
mov al, byte [edi + 0x1c9]
cmp al, byte [esi + 0x1c9]
jne 0x1008aba3
mov al, byte [edi + 0x1ca]
cmp al, byte [esi + 0x1ca]
jne 0x1008aba3
cmp byte [edi + 0x1c0], 0
je 0x1008adc6
mov al, byte [edi + 0xa0]
cmp al, byte [esi + 0xa0]
jne 0x1008aba3
mov eax, dword [edi + 0x9c]
cmp eax, dword [esi + 0x9c]
jne 0x1008aba3
push dword [esi + 0x94]
push dword [edi + 0x94]
call fcn.10094d30
add esp, 8
test eax, eax
je 0x1008aba3
mov al, byte [edi + 0x1c3]
cmp al, byte [esi + 0x1c3]
jne 0x1008aba3
cmp byte [edi + 0xa0], 2
jne 0x1008adc6
mov eax, dword [edi + 0x1e0]
test byte [eax + 0x4c], 1
je 0x1008ada8
lea eax, [esi + 0x180]
push eax
lea eax, [edi + 0x180]
push eax
call fcn.10089e40
add esp, 8
test al, al
je 0x1008aba3
lea eax, [esi + 0x140]
push eax
lea eax, [edi + 0x140]
push eax
call fcn.10089e40
add esp, 8
test al, al
je 0x1008aba3
cmp byte [esp + 0x28], 0
jne 0x1008adda
cmp dword [esi + 0x240], 0
jne 0x1008aba3
cmp dword [esi + 0x240], 0
je 0x1008adf7
mov eax, dword [esi + 0x234]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ebx + 0x70]
jne 0x1008aba3
mov ecx, dword [edi + 0x428]
test ecx, ecx
jne 0x1008ae0a
cmp word [edi + 0x44c], cx
je 0x1008ae71
mov ax, word [esi + 0x44c]
cmp ax, word [edi + 0x44c]
jne 0x1008aba3
mov ax, word [esi + 0x42c]
cmp ax, word [edi + 0x42c]
jne 0x1008aba3
test ecx, ecx
je 0x1008ae71
mov eax, dword [esi + 0x428]
test eax, eax
je 0x1008aba3
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1008ae64
test dl, dl
je 0x1008ae60
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1008ae64
add eax, 2
add ecx, 2
test dl, dl
jne 0x1008ae44
xor eax, eax
jmp 0x1008ae69
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1008aba3
mov eax, dword [edi + 0x1e0]
test byte [eax + 0x4c], 0x80
jne 0x1008aeed
push dword [esi + 0xdc]
push dword [edi + 0xdc]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
push dword [esi + 0xe0]
push dword [edi + 0xe0]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
push dword [esi + 0xe8]
push dword [edi + 0xe8]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
push dword [esi + 0xec]
push dword [edi + 0xec]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
mov al, byte [edi + 0x455]
cmp al, byte [esi + 0x455]
jne 0x1008aba3
mov ecx, dword [edi + 0x1e0]
test byte [ecx + 0x44], 3
je 0x1008af33
mov al, byte [esi + 0x453]
cmp al, 0x14
jb 0x1008af22
cmp byte [ebx + 0xc3c], 3
jb 0x1008aba3
cmp al, 0x1e
jb 0x1008af33
cmp byte [ebx + 0xc3c], 0x1e
jb 0x1008aba3
test byte [ecx + 0x48], 0xc
je 0x1008af95
push dword [esi + 0x3c8]
push dword [edi + 0x3c8]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
push dword [esi + 0x3cc]
push dword [edi + 0x3cc]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
mov al, byte [edi + 0x418]
cmp al, byte [esi + 0x418]
jne 0x1008aba3
mov al, byte [edi + 0x419]
cmp al, byte [esi + 0x419]
jne 0x1008aba3
mov ecx, dword [edi + 0x1e0]
test byte [ecx + 0x4c], 1
jne 0x1008afb7
cmp byte [edi + 0x1c0], 0
je 0x1008afb7
cmp byte [edi + 0x1c3], 0
je 0x1008b07e
mov eax, dword [esi + 0x1e0]
push dword [eax]
push dword [ecx]
call fcn.10094d30
add esp, 8
test eax, eax
jne 0x1008aff2
mov eax, dword [esi + 0x1e0]
mov ecx, dword [edi + 0x1e0]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x44]
jne 0x1008aba3
cmp byte [esi + 0x1dc], 0
je 0x1008aba3
cmp byte [edi + 0x1c9], 0
je 0x1008b011
push dword [esi + 0x64]
push dword [edi + 0x64]
call fcn.10094d30
add esp, 8
test eax, eax
je 0x1008aba3
cmp byte [edi + 0x1ca], 0
je 0x1008b02c
mov eax, dword [edi + 0x444]
cmp eax, dword [esi + 0x444]
jne 0x1008aba3
push dword [esi + 0x4c]
push dword [edi + 0x4c]
call fcn.10094d30
add esp, 8
test eax, eax
je 0x1008aba3
mov eax, dword [edi + 0x440]
cmp eax, dword [esi + 0x440]
jne 0x1008aba3
mov eax, dword [edi + 0x1e0]
test byte [eax + 0x4c], 1
je 0x1008b07e
lea eax, [esi + 0x140]
push eax
lea eax, [edi + 0x140]
push eax
call fcn.10089e40
add esp, 8
test al, al
je 0x1008aba3
cmp byte [esp + 0x12], 0
je 0x1008b0cd
push dword [esi + 0xdc]
push dword [edi + 0xdc]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008b0b5
push dword [esi + 0xe0]
push dword [edi + 0xe0]
call fcn.10094cd0
add esp, 8
test eax, eax
je 0x1008b0da
cmp dword [esi + 0x250], 0
jne 0x1008aba3
mov ebp, esi
mov dword [esp + 0x14], ebp
jmp 0x1008aba7
cmp dword [esi + 0x250], 0
jne 0x1008aba3
mov al, byte [esp + 0x24]
test al, al
je 0x1008b1a2
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x1008aba3
cmp dword [esi + 0xa8], 0
je 0x1008aba3
push eax
push dword [edi + 0xa4]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
push dword [esi + 0xa8]
push dword [edi + 0xa8]
call fcn.10094cd0
add esp, 8
test eax, eax
jne 0x1008aba3
mov al, byte [esp + 0x24]
mov cl, byte [esp + 0x12]
test cl, cl
jne 0x1008b144
test al, al
je 0x1008b1b1
mov ebp, esi
mov dword [esp + 0x14], ebp
test cl, cl
je 0x1008b157
cmp dword [esi + 0x250], 0
jne 0x1008b16c
test al, al
je 0x1008aba7
cmp dword [esi + 0x254], 0
je 0x1008aba7
mov eax, dword [esp + 0x30]
mov byte [eax], 1
test ebp, ebp
je 0x1008b1d2
push ebp
push ebx
call fcn.1007f820
add esp, 8
cmp dword [ebx + 0x78], 0
je 0x1008b192
push 5
push ebx
call fcn.100953c0
add esp, 8
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword [eax], ebp
mov al, 1
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x254], 0
jne 0x1008aba3
jmp 0x1008b138
cmp byte [esp + 0x28], 0
je 0x1008b1ce
test ebp, ebp
mov ebp, esi
je 0x1008b173
push str.Multiplexed_connection_found
push ebx
call fcn.1008fd90
add esp, 8
jmp 0x1008b173
mov ebp, esi
jmp 0x1008b173
cmp dword [ebx + 0x78], 0
je 0x1008b1e3
push 5
push ebx
call fcn.100953c0
add esp, 8
cmp byte [esp + 0x13], 0
je 0x1008b208
cmp byte [ebx + 0x6e0], 0
je 0x1008b208
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set
push ebx
call fcn.1008fd90
mov eax, dword [esp + 0x3c]
add esp, 8
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret