Function at 0x1002a280
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 + 0x280]
test byte [eax + 0x44], 3
je 0x1002a2d8
cmp byte [edi + 0x24e], 0
je 0x1002a2ba
cmp byte [edi + 0x246], 0
jne 0x1002a2d8
push dword [ebx + 0x70]
call fcn.1001fe40
add esp, 4
test al, al
je 0x1002a2d8
cmp byte [ebx + 0xc24], 3
mov eax, 2
cmovae esi, eax
test esi, esi
setne byte [esp + 0x28]
test byte [ebx + 0x96c], 0x28
je 0x1002a2f9
mov eax, dword [edi + 0x280]
mov byte [esp + 0x12], 1
test byte [eax + 0x44], 3
jne 0x1002a2fe
mov byte [esp + 0x12], 0
cmp byte [edi + 0x242], 0
je 0x1002a323
test byte [ebx + 0x97c], 0x28
je 0x1002a323
mov eax, dword [edi + 0x280]
test byte [eax + 0x44], 3
je 0x1002a323
mov byte [esp + 0x24], 1
jmp 0x1002a329
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 + 0x898]
push edi
push ebx
call fcn.100282b0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x1002aa1c
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.1002f920
add esp, 0x10
test esi, esi
mov esi, dword [esp + 0x18]
je 0x1002a411
cmp dword [esi], ebp
jne 0x1002a3d2
cmp byte [ebx + 0x6ee], 0
je 0x1002a3bf
push str.Server_doesnt_support_multiplex_yet__wait
push ebx
call fcn.1002f920
mov eax, dword [esp + 0x3c]
add esp, 8
mov byte [eax], 1
cmp dword [ebx + 0x78], ebp
je 0x1002aaa2
push 5
push ebx
call fcn.10035d30
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.1002f920
add esp, 8
mov byte [esp + 0x28], 0
cmp dword [esi], 2
jne 0x1002a3f9
push dword [ebx + 0x70]
call fcn.1001fe40
add esp, 4
test al, al
jne 0x1002a3f9
push str.Could_multiplex__but_not_asked_to
push ebx
call fcn.1002f920
add esp, 8
mov byte [esp + 0x28], 0
cmp dword [esi], 0xffffffff
jne 0x1002a411
push str.Can_not_multiplex__even_if_we_wanted_to
push ebx
call fcn.1002f920
add esp, 8
mov byte [esp + 0x28], 0
mov esi, dword [esi + 8]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x1002aa1c
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov esi, dword [esi]
mov eax, dword [eax + 8]
cmp byte [esi + 0x504], 0
mov dword [esp + 0x1c], eax
jne 0x1002a4a0
cmp byte [esi + 0x246], 0
jne 0x1002a4a0
push ebx
push esi
call fcn.1002cfd0
add esp, 8
test al, al
je 0x1002a45a
push 1
push esi
push ebx
call fcn.1002b0e0
jmp 0x1002a49d
mov al, byte [ebx + 0x4cc]
test al, al
je 0x1002a46c
cmp al, byte [esi + 0x502]
jne 0x1002a4a0
mov eax, dword [esp + 0x18]
cmp dword [eax], 2
jne 0x1002a47b
mov ebp, dword [esi + 0x2e0]
cmp byte [esp + 0x28], 0
jne 0x1002a4cd
test ebp, ebp
jne 0x1002a4a0
cmp byte [esi + 0xbc], 0
jne 0x1002a4b5
push dword [esi + 0x40]
push str.Connection__ld_is_still_name_resolving__cant_reuse
push ebx
call fcn.1002f920
add esp, 0xc
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x1002a420
jmp 0x1002aa1c
cmp dword [esi + 0x130], 0xffffffff
jne 0x1002a4cd
push dword [esi + 0x40]
mov byte [esp + 0x17], 1
push str.Connection__ld_isnt_open_enough__cant_reuse
jmp 0x1002a497
mov ecx, dword [edi + 0x4d0]
mov eax, dword [esi + 0x4d0]
test ecx, ecx
je 0x1002a518
test eax, eax
je 0x1002a4a0
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1002a501
test dl, dl
je 0x1002a4fd
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1002a501
add ecx, 2
add eax, 2
test dl, dl
jne 0x1002a4e1
xor eax, eax
jmp 0x1002a506
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1002a4a0
mov al, byte [edi + 0x25c]
cmp al, byte [esi + 0x25c]
jmp 0x1002a51a
test eax, eax
jne 0x1002a4a0
mov edx, dword [edi + 0x280]
mov ecx, dword [esi + 0x280]
mov eax, dword [edx + 0x4c]
xor eax, dword [ecx + 0x4c]
test al, 1
je 0x1002a54b
mov eax, dword [ecx + 0x48]
cmp eax, dword [edx + 0x44]
jne 0x1002a4a0
cmp byte [esi + 0x25d], 0
je 0x1002a4a0
mov al, byte [edi + 0x240]
cmp al, byte [esi + 0x240]
jne 0x1002a4a0
mov al, byte [edi + 0x241]
cmp al, byte [esi + 0x241]
jne 0x1002a4a0
test al, al
je 0x1002a5eb
mov al, byte [edi + 0x90]
cmp al, byte [esi + 0x90]
jne 0x1002a4a0
mov eax, dword [edi + 0x8c]
cmp eax, dword [esi + 0x8c]
jne 0x1002a4a0
push dword [esi + 0x84]
push dword [edi + 0x84]
call fcn.10035590
add esp, 8
test eax, eax
je 0x1002a4a0
push dword [esi + 0x94]
push dword [edi + 0x94]
call fcn.10035750
add esp, 8
test eax, eax
jne 0x1002a4a0
push dword [esi + 0x98]
push dword [edi + 0x98]
call fcn.10035750
add esp, 8
test eax, eax
jne 0x1002a4a0
mov al, byte [edi + 0x249]
cmp al, byte [esi + 0x249]
jne 0x1002a4a0
mov al, byte [edi + 0x24a]
cmp al, byte [esi + 0x24a]
jne 0x1002a4a0
cmp byte [edi + 0x240], 0
je 0x1002a6d9
mov al, byte [edi + 0xb0]
cmp al, byte [esi + 0xb0]
jne 0x1002a4a0
mov eax, dword [edi + 0xac]
cmp eax, dword [esi + 0xac]
jne 0x1002a4a0
push dword [esi + 0xa4]
push dword [edi + 0xa4]
call fcn.10035590
add esp, 8
test eax, eax
je 0x1002a4a0
mov al, byte [edi + 0x243]
cmp al, byte [esi + 0x243]
jne 0x1002a4a0
cmp byte [edi + 0xb0], 2
jne 0x1002a6d9
mov eax, dword [edi + 0x280]
test byte [eax + 0x4c], 1
je 0x1002a6ae
lea eax, [esi + 0x1fc]
push eax
lea eax, [edi + 0x1fc]
push eax
call fcn.10029620
add esp, 8
test al, al
je 0x1002a4a0
cmp dword [esi + 0x198], 2
jne 0x1002a4a0
lea eax, [esi + 0x1bc]
push eax
lea eax, [edi + 0x1bc]
push eax
call fcn.10029620
add esp, 8
test al, al
je 0x1002a4a0
cmp dword [esi + 0x178], 2
jne 0x1002a4a0
cmp byte [esp + 0x28], 0
jne 0x1002a6e9
cmp dword [esi + 0x2e0], 0
jmp 0x1002a700
cmp dword [esi + 0x2e0], 0
je 0x1002a706
mov eax, dword [esi + 0x2d4]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ebx + 0x70]
jne 0x1002a4a0
mov ecx, dword [edi + 0x4d4]
test ecx, ecx
jne 0x1002a719
cmp word [edi + 0x4fc], cx
je 0x1002a77e
mov ax, word [esi + 0x4fc]
cmp ax, word [edi + 0x4fc]
jne 0x1002a4a0
mov eax, dword [esi + 0x4d8]
cmp eax, dword [edi + 0x4d8]
jne 0x1002a4a0
test ecx, ecx
je 0x1002a77e
mov eax, dword [esi + 0x4d4]
test eax, eax
je 0x1002a4a0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002a771
test dl, dl
je 0x1002a76d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002a771
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002a751
xor eax, eax
jmp 0x1002a776
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1002a4a0
mov eax, dword [edi + 0x280]
test byte [eax + 0x4c], 0x80
jne 0x1002a7fa
push dword [esi + 0xec]
push dword [edi + 0xec]
call fcn.10035750
add esp, 8
test eax, eax
jne 0x1002a4a0
push dword [esi + 0xf0]
push dword [edi + 0xf0]
call fcn.10035750
add esp, 8
test eax, eax
jne 0x1002a4a0
push dword [esi + 0xf8]
push dword [edi + 0xf8]
call fcn.10035750
add esp, 8
test eax, eax
jne 0x1002a4a0
push dword [esi + 0xfc]
push dword [edi + 0xfc]
call fcn.10035750
add esp, 8
test eax, eax
jne 0x1002a4a0
mov ecx, dword [edi + 0x280]
test byte [ecx + 0x44], 3
je 0x1002a81c
cmp byte [esi + 0x503], 0x14
jb 0x1002a81c
cmp byte [ebx + 0xc24], 3
jb 0x1002a4a0
cmp dword [ecx + 0x48], 0x30
je 0x1002a4a0
test byte [ecx + 0x4c], 1
jne 0x1002a842
cmp byte [edi + 0x240], 0
je 0x1002a842
cmp byte [edi + 0x243], 0
je 0x1002a91c
mov eax, dword [esi + 0x280]
push dword [eax]
push dword [ecx]
call fcn.10035610
add esp, 8
test eax, eax
jne 0x1002a87d
mov eax, dword [esi + 0x280]
mov ecx, dword [edi + 0x280]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x44]
jne 0x1002a4a0
cmp byte [esi + 0x25d], 0
je 0x1002a4a0
cmp byte [edi + 0x249], 0
je 0x1002a89c
push dword [esi + 0x74]
push dword [edi + 0x74]
call fcn.10035610
add esp, 8
test eax, eax
je 0x1002a4a0
cmp byte [edi + 0x24a], 0
je 0x1002a8b7
mov eax, dword [edi + 0x4f4]
cmp eax, dword [esi + 0x4f4]
jne 0x1002a4a0
push dword [esi + 0x5c]
push dword [edi + 0x5c]
call fcn.10035610
add esp, 8
test eax, eax
je 0x1002a4a0
mov eax, dword [edi + 0x4f0]
cmp eax, dword [esi + 0x4f0]
jne 0x1002a4a0
mov eax, dword [edi + 0x280]
test byte [eax + 0x4c], 1
je 0x1002a91c
lea eax, [esi + 0x1bc]
push eax
lea eax, [edi + 0x1bc]
push eax
call fcn.10029620
add esp, 8
test al, al
je 0x1002a4a0
cmp dword [esi + 0x178], 2
je 0x1002a91c
mov byte [esp + 0x13], 1
jmp 0x1002a4a0
cmp byte [esp + 0x12], 0
je 0x1002a96b
push dword [esi + 0xec]
push dword [edi + 0xec]
call fcn.10035750
add esp, 8
test eax, eax
jne 0x1002a953
push dword [esi + 0xf0]
push dword [edi + 0xf0]
call fcn.10035750
add esp, 8
test eax, eax
je 0x1002a978
cmp dword [esi + 0x2f0], 0
jne 0x1002a4a0
mov ebp, esi
mov dword [esp + 0x14], ebp
jmp 0x1002a4a4
cmp dword [esi + 0x2f0], 0
jne 0x1002a4a0
mov al, byte [esp + 0x24]
test al, al
je 0x1002a9d4
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x1002a4a0
cmp dword [esi + 0xb8], 0
je 0x1002a4a0
push eax
push dword [edi + 0xb4]
call fcn.10035750
add esp, 8
test eax, eax
jne 0x1002a4a0
push dword [esi + 0xb8]
push dword [edi + 0xb8]
call fcn.10035750
add esp, 8
test eax, eax
jne 0x1002a4a0
mov al, byte [esp + 0x24]
jmp 0x1002a9e1
cmp dword [esi + 0x2f4], 0
jne 0x1002a4a0
mov cl, byte [esp + 0x12]
test cl, cl
jne 0x1002a9ed
test al, al
je 0x1002aa4b
mov ebp, esi
mov dword [esp + 0x14], ebp
test cl, cl
je 0x1002aa00
cmp dword [esi + 0x2f0], 0
jne 0x1002aa15
test al, al
je 0x1002a4a4
cmp dword [esi + 0x2f4], 0
je 0x1002a4a4
mov eax, dword [esp + 0x30]
mov byte [eax], 1
test ebp, ebp
je 0x1002aa6c
push ebp
push ebx
call fcn.1001f8c0
add esp, 8
cmp dword [ebx + 0x78], 0
je 0x1002aa3b
push 5
push ebx
call fcn.10035d30
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 byte [esp + 0x28], 0
je 0x1002aa68
test ebp, ebp
mov ebp, esi
je 0x1002aa1c
push str.Multiplexed_connection_found
push ebx
call fcn.1002f920
add esp, 8
jmp 0x1002aa1c
mov ebp, esi
jmp 0x1002aa1c
cmp dword [ebx + 0x78], 0
je 0x1002aa7d
push 5
push ebx
call fcn.10035d30
add esp, 8
cmp byte [esp + 0x13], 0
je 0x1002aaa2
cmp byte [ebx + 0x6ee], 0
je 0x1002aaa2
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set
push ebx
call fcn.1002f920
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