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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
xor esi, esi
mov dword [esp + 0x10], 0
push edi
mov eax, dword [ebp + 0x2a0]
mov byte [esp + 0x12], 0
test byte [eax + 0x44], 3
je 0x10139a1c
cmp byte [ebp + 0x267], 0
je 0x101399f8
cmp byte [ebp + 0x25d], 0
jne 0x10139a1c
mov edi, dword [esp + 0x2c]
push dword [edi + 0x70]
call fcn.10131a20
add esp, 4
test al, al
je 0x10139a20
cmp byte [edi + 0xc5c], 3
mov eax, 2
cmovae esi, eax
jmp 0x10139a20
mov edi, dword [esp + 0x2c]
test esi, esi
setne byte [esp + 0x30]
test byte [edi + 0x9c8], 0x28
je 0x10139a40
mov eax, dword [ebp + 0x2a0]
test byte [eax + 0x44], 3
je 0x10139a40
mov al, 1
jmp 0x10139a42
xor al, al
cmp byte [ebp + 0x25a], 0
mov byte [esp + 0x13], al
je 0x10139a6b
test byte [edi + 0x9d8], 0x28
je 0x10139a6b
mov eax, dword [ebp + 0x2a0]
test byte [eax + 0x44], 3
je 0x10139a6b
mov byte [esp + 0x11], 1
jmp 0x10139a71
xor al, al
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x38]
mov byte [eax], 0
mov eax, dword [esp + 0x3c]
mov byte [eax], 0
lea eax, [esp + 0x20]
push eax
push dword [edi + 0x8e0]
push ebp
push edi
call fcn.10149b10
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x1013a29e
cmp dword [ebx], 2
mov eax, str.serially
mov ecx, str.can_multiplex
cmovne ecx, eax
push ecx
push ebx
push dword [esp + 0x28]
push str.Found_bundle_for_host__s:__p___s_
push edi
call fcn.1014d4a0
add esp, 0x14
test esi, esi
je 0x10139b64
mov eax, dword [ebx]
test eax, eax
jne 0x10139b25
cmp byte [edi + 0x734], al
je 0x10139b10
push str.Server_doesnt_support_multiplex_yet__wait
push edi
call fcn.1014d4a0
mov eax, dword [esp + 0x44]
add esp, 8
mov byte [eax], 1
cmp dword [edi + 0x78], 0
je 0x1013a305
push 5
push edi
call fcn.1014d2f0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Server_doesnt_support_multiplex__yet_
push edi
call fcn.1014d4a0
mov eax, dword [ebx]
add esp, 8
mov byte [esp + 0x30], 0
cmp eax, 2
jne 0x10139b4c
push dword [edi + 0x70]
call fcn.10131a20
add esp, 4
test al, al
jne 0x10139b4c
push str.Could_multiplex__but_not_asked_to_
push edi
call fcn.1014d4a0
add esp, 8
mov byte [esp + 0x30], 0
cmp dword [ebx], 0xffffffff
jne 0x10139b64
push str.Can_not_multiplex__even_if_we_wanted_to_
push edi
call fcn.1014d4a0
add esp, 8
mov byte [esp + 0x30], 0
mov esi, dword [ebx + 8]
mov dword [esp + 0x18], esi
test esi, esi
je 0x1013a29e
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov esi, dword [esi]
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
cmp byte [esi + 0x275], bl
jne 0x1013a243
cmp byte [esi + 0x25d], bl
jne 0x1013a243
push edi
push esi
call fcn.1013c980
add esp, 8
test al, al
je 0x10139bbd
push 1
push esi
push edi
call fcn.1013a8f0
add esp, 0xc
jmp 0x1013a243
mov al, byte [edi + 0x500]
test al, al
je 0x10139bd3
cmp al, byte [esi + 0x100]
jne 0x1013a243
mov eax, dword [esp + 0x24]
cmp dword [eax], 2
jne 0x10139be6
mov ebx, dword [esi + 0x2cc]
mov dword [esp + 0x1c], ebx
cmp byte [esp + 0x30], 0
jne 0x10139c37
test ebx, ebx
jne 0x1013a243
cmp byte [esi + 0xd2], bl
jne 0x10139c13
push dword [esi + 0x40]
push str.Connection__ld_is_still_name_resolving__cant_reuse
push edi
call fcn.1014d4a0
add esp, 0xc
jmp 0x1013a243
cmp dword [esi + 0x148], 0xffffffff
jne 0x10139c37
push dword [esi + 0x40]
mov byte [esp + 0x16], 1
push str.Connection__ld_isnt_open_enough__cant_reuse
push edi
call fcn.1014d4a0
add esp, 0xc
jmp 0x1013a243
mov ecx, dword [ebp + 0x3c8]
mov eax, dword [esi + 0x3c8]
test ecx, ecx
je 0x10139c8b
test eax, eax
je 0x1013a243
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10139c70
test dl, dl
je 0x10139c6c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10139c70
add ecx, 2
add eax, 2
test dl, dl
jne 0x10139c50
xor eax, eax
jmp 0x10139c75
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1013a243
mov al, byte [ebp + 0x277]
cmp al, byte [esi + 0x277]
jmp 0x10139c8d
test eax, eax
jne 0x1013a243
mov edx, dword [ebp + 0x2a0]
mov ecx, dword [esi + 0x2a0]
mov eax, dword [edx + 0x4c]
xor eax, dword [ecx + 0x4c]
test al, 1
je 0x10139cc2
mov eax, dword [ecx + 0x48]
cmp eax, dword [edx + 0x44]
jne 0x1013a243
cmp byte [esi + 0x278], 0
je 0x1013a243
mov al, byte [ebp + 0x258]
cmp al, byte [esi + 0x258]
jne 0x1013a243
mov al, byte [ebp + 0x259]
cmp al, byte [esi + 0x259]
jne 0x1013a243
test al, al
je 0x10139de1
mov eax, dword [ebp + 0x98]
cmp eax, dword [esi + 0x98]
jne 0x1013a243
mov eax, dword [ebp + 0x94]
cmp eax, dword [esi + 0x94]
jne 0x1013a243
push dword [esi + 0x8c]
push dword [ebp + 0x8c]
call fcn.10139320
add esp, 8
test eax, eax
je 0x1013a243
mov edx, dword [ebp + 0x9c]
xor ecx, ecx
mov edi, dword [esi + 0x9c]
test edx, edx
sete cl
xor eax, eax
test edi, edi
sete al
cmp ecx, eax
jne 0x1013a243
test edx, edx
je 0x10139d85
test edi, edi
je 0x10139d85
mov al, byte [edx]
cmp al, byte [edi]
jne 0x10139d78
test al, al
je 0x10139d74
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x10139d78
add edx, 2
add edi, 2
test al, al
jne 0x10139d58
xor eax, eax
jmp 0x10139d7d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1013a243
mov edx, dword [ebp + 0xa0]
xor ecx, ecx
mov edi, dword [esi + 0xa0]
test edx, edx
sete cl
xor eax, eax
test edi, edi
sete al
cmp ecx, eax
jne 0x1013a243
test edx, edx
je 0x10139ddd
test edi, edi
je 0x10139ddd
nop
mov al, byte [edx]
cmp al, byte [edi]
jne 0x10139dd0
test al, al
je 0x10139dcc
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x10139dd0
add edx, 2
add edi, 2
test al, al
jne 0x10139db0
xor eax, eax
jmp 0x10139dd5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1013a243
mov edi, dword [esp + 0x2c]
mov al, byte [ebp + 0x260]
cmp al, byte [esi + 0x260]
jne 0x1013a243
mov al, byte [ebp + 0x261]
cmp al, byte [esi + 0x261]
jne 0x1013a243
cmp byte [ebp + 0x258], 0
je 0x10139ea9
lea eax, [esi + 0xa4]
push eax
lea eax, [ebp + 0xa4]
push eax
call fcn.1013da10
add esp, 8
test al, al
je 0x1013a243
mov al, byte [ebp + 0x25b]
cmp al, byte [esi + 0x25b]
jne 0x1013a243
cmp dword [ebp + 0xb8], 2
jne 0x10139ea9
mov eax, dword [ebp + 0x2a0]
test byte [eax + 0x4c], 1
je 0x10139e7e
lea eax, [esi + 0x214]
push eax
lea eax, [ebp + 0x214]
push eax
call fcn.1014f110
add esp, 8
test al, al
je 0x1013a243
cmp dword [esi + 0x1b0], 2
jmp 0x10139ea3
lea eax, [esi + 0x1d4]
push eax
lea eax, [ebp + 0x1d4]
push eax
call fcn.1014f110
add esp, 8
test al, al
je 0x1013a243
cmp dword [esi + 0x190], 2
jne 0x1013a243
cmp byte [esp + 0x30], 0
jne 0x10139ebd
cmp dword [esi + 0x2cc], 0
jne 0x1013a243
cmp dword [esi + 0x2cc], 0
je 0x10139eda
mov eax, dword [esi + 0x2c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [edi + 0x70]
jne 0x1013a243
mov ecx, dword [ebp + 0x3cc]
test ecx, ecx
jne 0x10139eed
cmp word [ebp + 0x3e0], cx
je 0x10139f52
mov ax, word [esi + 0x3e0]
cmp ax, word [ebp + 0x3e0]
jne 0x1013a243
mov eax, dword [esi + 0x3d0]
cmp eax, dword [ebp + 0x3d0]
jne 0x1013a243
test ecx, ecx
je 0x10139f52
mov eax, dword [esi + 0x3cc]
test eax, eax
je 0x1013a243
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10139f45
test dl, dl
je 0x10139f41
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10139f45
add eax, 2
add ecx, 2
test dl, dl
jne 0x10139f25
xor eax, eax
jmp 0x10139f4a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1013a243
mov edi, dword [ebp + 0x2a0]
mov ebx, dword [edi + 0x4c]
test bl, bl
js 0x10139fdd
mov ecx, dword [esi + 0x104]
mov eax, dword [ebp + 0x104]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10139f90
test dl, dl
je 0x10139f8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10139f90
add eax, 2
add ecx, 2
test dl, dl
jne 0x10139f70
xor eax, eax
jmp 0x10139f95
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1013a243
mov ecx, dword [esi + 0x108]
mov eax, dword [ebp + 0x108]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10139fd0
test dl, dl
je 0x10139fcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10139fd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10139fb0
xor eax, eax
jmp 0x10139fd5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1013a243
test byte [edi + 0x44], 3
je 0x10139ffd
cmp byte [esi + 0x114], 0x14
jb 0x10139ffd
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xc5c], 3
jb 0x1013a243
test bl, 1
jne 0x1013a018
cmp byte [ebp + 0x258], 0
je 0x1013a018
cmp byte [ebp + 0x25b], 0
je 0x1013a0f2
mov eax, dword [esi + 0x2a0]
push dword [eax]
push dword [edi]
call fcn.10139350
add esp, 8
test eax, eax
jne 0x1013a053
mov eax, dword [esi + 0x2a0]
mov ecx, dword [ebp + 0x2a0]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x44]
jne 0x1013a243
cmp byte [esi + 0x278], 0
je 0x1013a243
cmp byte [ebp + 0x260], 0
je 0x1013a072
push dword [esi + 0x7c]
push dword [ebp + 0x7c]
call fcn.10139350
add esp, 8
test eax, eax
je 0x1013a243
cmp byte [ebp + 0x261], 0
je 0x1013a08d
mov eax, dword [ebp + 0xcc]
cmp eax, dword [esi + 0xcc]
jne 0x1013a243
push dword [esi + 0x64]
push dword [ebp + 0x64]
call fcn.10139350
add esp, 8
test eax, eax
je 0x1013a243
mov eax, dword [ebp + 0xc8]
cmp eax, dword [esi + 0xc8]
jne 0x1013a243
mov eax, dword [ebp + 0x2a0]
test byte [eax + 0x4c], 1
je 0x1013a0f2
lea eax, [esi + 0x1d4]
push eax
lea eax, [ebp + 0x1d4]
push eax
call fcn.1014f110
add esp, 8
test al, al
je 0x1013a243
cmp dword [esi + 0x190], 2
je 0x1013a0f2
mov byte [esp + 0x12], 1
jmp 0x1013a243
mov bh, byte [esp + 0x13]
test bh, bh
je 0x1013a183
mov ecx, dword [esi + 0x104]
mov eax, dword [ebp + 0x104]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1013a130
test dl, dl
je 0x1013a12c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1013a130
add eax, 2
add ecx, 2
test dl, dl
jne 0x1013a110
xor eax, eax
jmp 0x1013a135
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1013a16e
mov ecx, dword [esi + 0x108]
mov eax, dword [ebp + 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1013a165
test dl, dl
je 0x1013a161
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1013a165
add eax, 2
add ecx, 2
test dl, dl
jne 0x1013a145
xor eax, eax
jmp 0x1013a16a
sbb eax, eax
or eax, 1
test eax, eax
je 0x1013a190
cmp dword [esi + 0x2d8], 0
cmovne esi, dword [esp + 0x14]
mov dword [esp + 0x14], esi
jmp 0x1013a243
cmp dword [esi + 0x2d8], 0
jne 0x1013a243
mov al, byte [esp + 0x11]
test al, al
je 0x1013a254
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x1013a243
mov edx, dword [esi + 0xc0]
test edx, edx
je 0x1013a243
mov ecx, dword [ebp + 0xbc]
nop
mov bl, byte [ecx]
cmp bl, byte [eax]
jne 0x1013a1e0
test bl, bl
je 0x1013a1dc
mov bl, byte [ecx + 1]
cmp bl, byte [eax + 1]
jne 0x1013a1e0
add ecx, 2
add eax, 2
test bl, bl
jne 0x1013a1c0
xor eax, eax
jmp 0x1013a1e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1013a243
mov eax, dword [ebp + 0xc0]
nop
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x1013a210
test cl, cl
je 0x1013a20c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x1013a210
add eax, 2
add edx, 2
test cl, cl
jne 0x1013a1f0
xor eax, eax
jmp 0x1013a215
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1013a243
mov al, byte [esp + 0x11]
test bh, bh
jne 0x1013a225
test al, al
je 0x1013a25f
mov dword [esp + 0x14], esi
test bh, bh
je 0x1013a236
cmp dword [esi + 0x2d8], 0
jne 0x1013a28d
test al, al
je 0x1013a243
cmp dword [esi + 0x2dc], 0
jne 0x1013a28d
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x1013a287
jmp 0x10139b73
cmp dword [esi + 0x2dc], 0
jne 0x1013a243
jmp 0x1013a21d
cmp byte [esp + 0x30], 0
mov edi, dword [esp + 0x2c]
je 0x1013a271
cmp dword [esp + 0x1c], 0
jne 0x1013a275
mov ebx, esi
jmp 0x1013a2a0
push str.Multiplexed_connection_found_
push edi
mov dword [esp + 0x1c], esi
call fcn.1014d4a0
add esp, 8
mov ebx, dword [esp + 0x14]
jmp 0x1013a2a0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov byte [eax], 1
jmp 0x1013a2a0
xor ebx, ebx
test ebx, ebx
je 0x1013a2cf
push ebx
push edi
call fcn.101314f0
add esp, 8
cmp dword [edi + 0x78], 0
je 0x1013a2bf
push 5
push edi
call fcn.1014d2f0
add esp, 8
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov al, 1
pop ebx
add esp, 0x18
ret
cmp dword [edi + 0x78], 0
je 0x1013a2e0
push 5
push edi
call fcn.1014d2f0
add esp, 8
cmp byte [esp + 0x12], 0
je 0x1013a305
cmp byte [edi + 0x734], 0
je 0x1013a305
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set
push edi
call fcn.1014d4a0
mov eax, dword [esp + 0x44]
add esp, 8
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x18
ret