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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 0x254]
push esi
xor esi, esi
mov bl, 3
test byte [eax + 0x44], bl
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esi
je 0x1004e773
cmp dword [ebp + 0x210], esi
je 0x1004e756
cmp dword [ebp + 0x1f0], esi
jne 0x1004e773
mov ecx, dword [edi + 0x70]
push ecx
call fcn.1005ae90
add esp, 4
test eax, eax
je 0x1004e773
cmp byte [edi + 0xd8c], bl
jb 0x1004e773
mov esi, 2
mov al, 0x28
test byte [edi + 0xa94], al
mov dword [esp + 0x34], esi
je 0x1004e794
mov edx, dword [ebp + 0x254]
test byte [edx + 0x44], bl
mov dword [esp + 0x18], 1
jne 0x1004e79c
mov dword [esp + 0x18], 0
cmp dword [ebp + 0x1e0], 0
je 0x1004e7c0
test byte [edi + 0xaac], al
je 0x1004e7c0
mov eax, dword [ebp + 0x254]
test byte [eax + 0x44], bl
mov dword [esp + 0x10], 1
jne 0x1004e7c8
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [ecx], 0
mov dword [edx], 0
mov eax, dword [edi + 0x998]
push eax
push ebp
push edi
call fcn.10061a00
add esp, 0xc
test eax, eax
mov dword [esp + 0x24], eax
je 0x1004ef3f
mov ebx, eax
cmp dword [ebx], 2
mov eax, str.can_multiplex
je 0x1004e80a
mov eax, str.serially
push eax
push ebx
push str.Found_bundle_for_host:__p___s_
push edi
call fcn.1005abd0
add esp, 0x10
test esi, esi
je 0x1004e8c3
cmp dword [ebx], 0
jne 0x1004e87d
cmp dword [edi + 0x7cc], 0
je 0x1004e867
push str.Server_doesnt_support_multiplex_yet__wait
push edi
call fcn.1005abd0
mov ecx, dword [esp + 0x48]
add esp, 8
mov dword [ecx], 1
cmp dword [edi + 0x78], 0
je 0x1004ef78
push 5
push edi
call fcn.10058fb0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
push str.Server_doesnt_support_multiplex__yet_
push edi
call fcn.1005abd0
add esp, 8
mov dword [esp + 0x34], 0
cmp dword [ebx], 2
jne 0x1004e8a8
mov edx, dword [edi + 0x70]
push edx
call fcn.1005ae90
add esp, 4
test eax, eax
jne 0x1004e8a8
push str.Could_multiplex__but_not_asked_to
push edi
call fcn.1005abd0
add esp, 8
mov dword [esp + 0x34], 0
cmp dword [ebx], 0xffffffff
jne 0x1004e8c3
push str.Can_not_multiplex__even_if_we_wanted_to
push edi
call fcn.1005abd0
add esp, 8
mov dword [esp + 0x34], 0
mov ebx, dword [ebx + 8]
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x1004ef3f
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
cmp byte [ebx + 0x3bc], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
jne 0x1004eece
cmp dword [ebx + 0x1f0], 0
jne 0x1004eece
mov eax, edi
call fcn.1004e4d0
test eax, eax
je 0x1004e91d
push 1
push ebx
push edi
call fcn.1004e270
add esp, 0xc
jmp 0x1004eece
mov al, byte [edi + 0x528]
test al, al
je 0x1004e933
cmp al, byte [ebx + 0x3ba]
jne 0x1004eece
mov ecx, dword [esp + 0x24]
cmp dword [ecx], 2
jne 0x1004e946
mov edx, dword [ebx + 0x284]
mov dword [esp + 0x20], edx
cmp dword [esp + 0x34], 0
jne 0x1004e978
cmp dword [esp + 0x20], 0
jne 0x1004eece
cmp byte [ebx + 0xac], 0
jne 0x1004e978
mov eax, dword [ebx + 0x38]
push eax
push str.Connection__ld_is_still_name_resolving__cant_reuse
push edi
call fcn.1005abd0
add esp, 0xc
jmp 0x1004eece
push 0
push ebx
call fcn.1005f920
add esp, 8
test eax, eax
jne 0x1004e9a6
mov ecx, dword [ebx + 0x38]
push ecx
push str.Connection__ld_isnt_open_enough__cant_reuse
push edi
mov dword [esp + 0x34], 1
call fcn.1005abd0
add esp, 0xc
jmp 0x1004eece
mov eax, dword [ebp + 0x394]
test eax, eax
je 0x1004e9fb
mov esi, dword [ebx + 0x394]
test esi, esi
je 0x1004eece
mov edi, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1004e9e0
test cl, cl
je 0x1004e9dc
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1004e9e0
add eax, 2
add esi, 2
test cl, cl
jne 0x1004e9c0
xor eax, eax
jmp 0x1004e9e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1004eece
mov edx, dword [ebp + 0x244]
cmp edx, dword [ebx + 0x244]
jmp 0x1004ea02
cmp dword [ebx + 0x394], 0
jne 0x1004eece
mov eax, dword [ebx + 0x254]
mov esi, dword [ebp + 0x254]
mov ecx, dword [eax + 0x4c]
xor ecx, dword [esi + 0x4c]
test cl, 1
je 0x1004ea38
mov edx, dword [eax + 0x48]
cmp edx, dword [esi + 0x44]
jne 0x1004eece
cmp dword [ebx + 0x248], 0
je 0x1004eece
mov eax, dword [ebp + 0x1d8]
cmp eax, dword [ebx + 0x1d8]
jne 0x1004eece
mov eax, dword [ebp + 0x1dc]
cmp eax, dword [ebx + 0x1dc]
jne 0x1004eece
test eax, eax
je 0x1004ea77
lea esi, [ebx + 0x6c]
lea edi, [ebp + 0x6c]
call fcn.1004e350
test eax, eax
mov edi, dword [esp + 0x30]
je 0x1004eece
mov ecx, dword [ebp + 0x1fc]
cmp ecx, dword [ebx + 0x1fc]
jne 0x1004eece
mov edx, dword [ebp + 0x200]
cmp edx, dword [ebx + 0x200]
jne 0x1004eece
cmp dword [ebp + 0x1d8], 0
je 0x1004eb20
lea eax, [ebx + 0x8c]
lea ecx, [ebp + 0x8c]
call fcn.1004e320
test eax, eax
je 0x1004eece
mov eax, dword [ebp + 0x1e4]
cmp eax, dword [ebx + 0x1e4]
jne 0x1004eece
cmp byte [ebp + 0xa0], 2
jne 0x1004eb20
mov ecx, dword [ebp + 0x254]
test byte [ecx + 0x4c], 1
je 0x1004eb02
lea edx, [ebx + 0x18c]
push edx
lea eax, [ebp + 0x18c]
push eax
call fcn.10054d70
add esp, 8
test eax, eax
je 0x1004eece
lea ecx, [ebx + 0x140]
push ecx
lea edx, [ebp + 0x140]
push edx
call fcn.10054d70
add esp, 8
test eax, eax
je 0x1004eece
cmp dword [esp + 0x34], 0
jne 0x1004eb34
cmp dword [ebx + 0x284], 0
jne 0x1004eece
cmp dword [ebx + 0x284], 0
je 0x1004eb51
mov eax, dword [ebx + 0x278]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
cmp edx, dword [edi + 0x70]
jne 0x1004eece
mov esi, dword [ebp + 0x398]
test esi, esi
jne 0x1004eb64
cmp word [ebp + 0x3b4], si
je 0x1004ebcd
mov ax, word [ebx + 0x3b4]
cmp ax, word [ebp + 0x3b4]
jne 0x1004eece
mov cx, word [ebx + 0x39c]
cmp cx, word [ebp + 0x39c]
jne 0x1004eece
test esi, esi
je 0x1004ebcd
mov eax, dword [ebx + 0x398]
test eax, eax
je 0x1004eece
mov edi, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1004ebc0
test cl, cl
je 0x1004ebbc
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1004ebc0
add eax, 2
add esi, 2
test cl, cl
jne 0x1004eba0
xor eax, eax
jmp 0x1004ebc5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1004eece
mov edx, dword [ebp + 0x254]
test byte [edx + 0x4c], 0x80
jne 0x1004ec51
mov eax, dword [ebx + 0xdc]
mov ecx, dword [ebp + 0xdc]
push eax
push ecx
call fcn.10052090
add esp, 8
test eax, eax
jne 0x1004eece
mov edx, dword [ebx + 0xe0]
mov eax, dword [ebp + 0xe0]
push edx
push eax
call fcn.10052090
add esp, 8
test eax, eax
jne 0x1004eece
mov ecx, dword [ebx + 0xe8]
mov edx, dword [ebp + 0xe8]
push ecx
push edx
call fcn.10052090
add esp, 8
test eax, eax
jne 0x1004eece
mov eax, dword [ebx + 0xec]
mov ecx, dword [ebp + 0xec]
push eax
push ecx
call fcn.10052090
add esp, 8
test eax, eax
jne 0x1004eece
mov dl, byte [ebp + 0x3bd]
cmp dl, byte [ebx + 0x3bd]
jne 0x1004eece
mov ecx, dword [ebp + 0x254]
mov dl, 3
test byte [ecx + 0x44], dl
je 0x1004ec97
mov al, byte [ebx + 0x3bb]
cmp al, 0x14
jb 0x1004ec86
cmp byte [edi + 0xd8c], dl
jb 0x1004eece
cmp al, 0x1e
jb 0x1004ec97
cmp byte [edi + 0xd8c], 0x1e
jb 0x1004eece
test byte [ecx + 0x48], 0xc
je 0x1004ecfd
mov eax, dword [ebx + 0x320]
mov ecx, dword [ebp + 0x320]
push eax
push ecx
call fcn.10052090
add esp, 8
test eax, eax
jne 0x1004eece
mov edx, dword [ebx + 0x324]
mov eax, dword [ebp + 0x324]
push edx
push eax
call fcn.10052090
add esp, 8
test eax, eax
jne 0x1004eece
mov cl, byte [ebp + 0x370]
cmp cl, byte [ebx + 0x370]
jne 0x1004eece
mov dl, byte [ebp + 0x371]
cmp dl, byte [ebx + 0x371]
jne 0x1004eece
mov eax, dword [ebp + 0x254]
test byte [eax + 0x4c], 1
jne 0x1004ed1f
cmp dword [ebp + 0x1d8], 0
je 0x1004ed1f
cmp dword [ebp + 0x1e4], 0
je 0x1004edec
mov ecx, dword [ebx + 0x254]
mov edx, dword [ecx]
mov eax, dword [eax]
push edx
push eax
call fcn.10051ee0
add esp, 8
test eax, eax
jne 0x1004ed5c
mov ecx, dword [ebx + 0x254]
mov edx, dword [ebp + 0x254]
mov eax, dword [ecx + 0x48]
cmp eax, dword [edx + 0x44]
jne 0x1004eece
cmp dword [ebx + 0x248], 0
je 0x1004eece
cmp dword [ebp + 0x1fc], 0
je 0x1004ed7d
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebp + 0x64]
push ecx
push edx
call fcn.10051ee0
add esp, 8
test eax, eax
je 0x1004eece
cmp dword [ebp + 0x200], 0
je 0x1004ed98
mov eax, dword [ebp + 0x3b0]
cmp eax, dword [ebx + 0x3b0]
jne 0x1004eece
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ebp + 0x4c]
push ecx
push edx
call fcn.10051ee0
add esp, 8
test eax, eax
je 0x1004eece
mov eax, dword [ebp + 0x3ac]
cmp eax, dword [ebx + 0x3ac]
jne 0x1004eece
mov ecx, dword [ebp + 0x254]
test byte [ecx + 0x4c], 1
je 0x1004edec
lea edx, [ebx + 0x140]
push edx
lea eax, [ebp + 0x140]
push eax
call fcn.10054d70
add esp, 8
test eax, eax
je 0x1004eece
cmp dword [esp + 0x18], 0
je 0x1004ee3d
mov ecx, dword [ebx + 0xdc]
mov edx, dword [ebp + 0xdc]
push ecx
push edx
call fcn.10052090
add esp, 8
test eax, eax
jne 0x1004ee27
mov eax, dword [ebx + 0xe0]
mov ecx, dword [ebp + 0xe0]
push eax
push ecx
call fcn.10052090
add esp, 8
test eax, eax
je 0x1004ee4a
cmp dword [ebx + 0x290], 0
jne 0x1004eece
mov dword [esp + 0x14], ebx
jmp 0x1004eece
cmp dword [ebx + 0x290], 0
jne 0x1004eece
cmp dword [esp + 0x10], 0
je 0x1004ee94
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x1004eece
cmp dword [ebx + 0xa8], 0
je 0x1004eece
mov edx, dword [ebp + 0xa4]
push eax
push edx
call fcn.10052090
add esp, 8
test eax, eax
jne 0x1004eece
mov eax, dword [ebx + 0xa8]
mov ecx, dword [ebp + 0xa8]
push eax
push ecx
call fcn.10052090
add esp, 8
test eax, eax
je 0x1004ee9d
jmp 0x1004eece
cmp dword [ebx + 0x294], 0
jne 0x1004eece
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x1004eeab
cmp dword [esp + 0x10], eax
je 0x1004eedf
test eax, eax
mov esi, ebx
mov dword [esp + 0x14], esi
je 0x1004eebe
cmp dword [ebx + 0x290], 0
jne 0x1004ef03
cmp dword [esp + 0x10], 0
je 0x1004eece
cmp dword [ebx + 0x294], 0
jne 0x1004eeff
cmp dword [esp + 0x1c], 0
jne 0x1004e8d2
mov esi, dword [esp + 0x14]
jmp 0x1004ef0d
cmp dword [esp + 0x34], 0
mov esi, ebx
je 0x1004ef0d
cmp dword [esp + 0x20], 0
je 0x1004ef0d
push str.Multiplexed_connection_found
push edi
call fcn.1005abd0
add esp, 8
jmp 0x1004ef0d
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [edx], 1
test esi, esi
je 0x1004ef3f
push esi
push edi
call fcn.1005aef0
add esp, 8
cmp dword [edi + 0x78], 0
je 0x1004ef2c
push 5
push edi
call fcn.10058fb0
add esp, 8
mov eax, dword [esp + 0x38]
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret
cmp dword [edi + 0x78], 0
je 0x1004ef50
push 5
push edi
call fcn.10058fb0
add esp, 8
cmp dword [esp + 0x28], 0
je 0x1004ef78
cmp dword [edi + 0x7cc], 0
je 0x1004ef78
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set
push edi
call fcn.1005abd0
mov ecx, dword [esp + 0x48]
mov dword [ecx], 1
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret