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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + 0x5f0]
push esi
xor ecx, ecx
mov ebx, 3
xor esi, esi
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
test byte [eax + 0x40], bl
je 0x494f4a
cmp dword [ebp + 0x578], ecx
je 0x494f2b
cmp dword [ebp + 0x550], ecx
jne 0x494f4a
mov ecx, dword [edi + 0x78]
push ecx
call fcn.004963e0
add esp, 4
test eax, eax
je 0x494f48
cmp dword [edi + 0x85c], ebx
jl 0x494f48
mov esi, 2
xor ecx, ecx
mov al, 0x28
mov dword [esp + 0x38], esi
test byte [edi + 0xef0], al
je 0x494f6b
mov edx, dword [ebp + 0x5f0]
mov dword [esp + 0x10], 1
test byte [edx + 0x40], bl
jne 0x494f6f
mov dword [esp + 0x10], ecx
cmp dword [ebp + 0x544], ecx
je 0x494f92
test byte [edi + 0xf08], al
je 0x494f92
mov eax, dword [ebp + 0x5f0]
mov dword [esp + 0x28], 1
test byte [eax + 0x40], bl
jne 0x494f96
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [edx], ecx
mov dword [eax], ecx
mov edx, dword [edi + 0xe30]
lea ecx, [esp + 0x2c]
push ecx
push edx
push ebp
call fcn.004a19e0
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x49574d
mov ebx, eax
cmp dword [ebx], 2
mov eax, str.can_multiplex
je 0x494fd4
mov eax, str.serially
push eax
mov eax, dword [esp + 0x30]
push ebx
push eax
push str.Found_bundle_for_host__s:__p___s__n
push edi
call fcn.00499770
add esp, 0x14
test esi, esi
je 0x495095
cmp dword [ebx], 0
jne 0x49504f
cmp dword [edi + 0xc48], 0
je 0x495039
push str.Server_doesnt_support_multiplex_yet__wait_n
push edi
call fcn.00499770
mov ecx, dword [esp + 0x4c]
add esp, 8
mov dword [ecx], 1
cmp dword [edi + 0x80], 0
je 0x49578d
push 5
push edi
call fcn.004a24e0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
push str.Server_doesnt_support_multiplex__yet__n
push edi
call fcn.00499770
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [ebx], 2
jne 0x49507a
mov edx, dword [edi + 0x78]
push edx
call fcn.004963e0
add esp, 4
test eax, eax
jne 0x49507a
push str.Could_multiplex__but_not_asked_to__n
push edi
call fcn.00499770
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [ebx], 0xffffffff
jne 0x495095
push str.Can_not_multiplex__even_if_we_wanted_to__n
push edi
call fcn.00499770
add esp, 8
mov dword [esp + 0x38], 0
mov ebx, dword [ebx + 8]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x49574d
jmp 0x4950b0
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
cmp dword [esi + 0x5b0], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
jne 0x4956d3
cmp dword [esi + 0x550], 0
jne 0x4956d3
mov edi, dword [esp + 0x34]
mov eax, edi
call fcn.004922b0
test eax, eax
je 0x495143
mov eax, dword [esi + 0x2b4]
test eax, eax
je 0x49510c
push eax
push edi
call fcn.004c2380
add esp, 8
mov dword [esi + 0x2b4], 0
push esi
call fcn.004c2b90
push esi
call fcn.004c2560
mov ecx, dword [esi + 0x5f0]
mov dword [esi], edi
mov eax, dword [ecx + 0x30]
add esp, 8
test eax, eax
je 0x495132
push 1
push esi
call eax
add esp, 8
call fcn.00492070
mov eax, esi
call fcn.00494b00
jmp 0x4956d3
mov edx, dword [esp + 0x24]
cmp dword [edx], 2
jne 0x495156
mov eax, dword [esi + 0x65c]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x38], 0
jne 0x4951ba
cmp dword [esp + 0x1c], 0
jne 0x4956d3
cmp byte [esi + 0x2c4], 0
jne 0x49518d
mov ecx, dword [esi + 0x2b0]
push ecx
mov edx, edi
push str.Connection__ld_is_still_name_resolving__cant_reuse_n
push edx
call fcn.00499770
add esp, 0xc
jmp 0x4956d3
cmp dword [esi + 0x420], 0xffffffff
jne 0x4951ba
mov eax, dword [esi + 0x2b0]
push eax
mov ecx, edi
push str.Connection__ld_isnt_open_enough__cant_reuse_n
push ecx
mov dword [esp + 0x2c], 1
call fcn.00499770
add esp, 0xc
jmp 0x4956d3
mov eax, dword [ebp + 0x8ac]
test eax, eax
je 0x49520d
mov ecx, dword [esi + 0x8ac]
test ecx, ecx
je 0x4956d3
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4951f2
test dl, dl
je 0x4951ee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4951f2
add eax, 2
add ecx, 2
test dl, dl
jne 0x4951d2
xor eax, eax
jmp 0x4951f7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4956d3
mov edx, dword [ebp + 0x5b8]
cmp edx, dword [esi + 0x5b8]
jmp 0x495214
cmp dword [esi + 0x8ac], 0
jne 0x4956d3
mov eax, dword [esi + 0x5f0]
mov ecx, dword [ebp + 0x5f0]
mov edx, dword [eax + 0x48]
xor edx, dword [ecx + 0x48]
test dl, 1
je 0x49524a
mov eax, dword [eax + 0x44]
cmp eax, dword [ecx + 0x40]
jne 0x4956d3
cmp dword [esi + 0x5bc], 0
je 0x4956d3
mov ecx, dword [ebp + 0x53c]
cmp ecx, dword [esi + 0x53c]
jne 0x4956d3
mov eax, dword [ebp + 0x540]
cmp eax, dword [esi + 0x540]
jne 0x4956d3
test eax, eax
je 0x49528f
lea edx, [ebp + 0x324]
lea edi, [esi + 0x324]
push edx
call fcn.00492130
add esp, 4
test eax, eax
je 0x4956d3
mov eax, dword [ebp + 0x55c]
cmp eax, dword [esi + 0x55c]
jne 0x4956d3
mov ecx, dword [ebp + 0x560]
cmp ecx, dword [esi + 0x560]
jne 0x4956d3
cmp dword [ebp + 0x53c], 0
je 0x495352
lea eax, [esi + 0x344]
lea ecx, [ebp + 0x344]
call fcn.00492100
test eax, eax
je 0x4956d3
mov edx, dword [ebp + 0x548]
cmp edx, dword [esi + 0x548]
jne 0x4956d3
cmp dword [ebp + 0x358], 2
jne 0x495352
mov eax, dword [ebp + 0x5f0]
test byte [eax + 0x48], 1
je 0x495327
lea ecx, [esi + 0x4ec]
push ecx
lea edx, [ebp + 0x4ec]
push edx
call fcn.00490200
add esp, 8
test eax, eax
je 0x4956d3
cmp dword [esi + 0x488], 2
jmp 0x49534c
lea eax, [esi + 0x4ac]
push eax
lea ecx, [ebp + 0x4ac]
push ecx
call fcn.00490200
add esp, 8
test eax, eax
je 0x4956d3
cmp dword [esi + 0x468], 2
jne 0x4956d3
cmp dword [esp + 0x38], 0
jne 0x49535e
cmp dword [esi], 0
jmp 0x49536d
mov eax, dword [esi]
test eax, eax
je 0x495373
mov edx, dword [ebp]
mov eax, dword [eax + 0x78]
cmp eax, dword [edx + 0x78]
jne 0x4956d3
mov ecx, dword [ebp + 0x894]
test ecx, ecx
jne 0x495386
cmp word [ebp + 0x898], cx
je 0x4953ed
mov dx, word [esi + 0x898]
cmp dx, word [ebp + 0x898]
jne 0x4956d3
mov eax, dword [esi + 0x89c]
cmp eax, dword [ebp + 0x89c]
jne 0x4956d3
test ecx, ecx
je 0x4953ed
mov eax, dword [esi + 0x894]
test eax, eax
je 0x4956d3
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4953e0
test dl, dl
je 0x4953dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4953e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4953c0
xor eax, eax
jmp 0x4953e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4956d3
mov edi, dword [ebp + 0x5f0]
mov ebx, dword [edi + 0x48]
test bl, bl
js 0x49546d
mov ecx, dword [esi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495426
test dl, dl
je 0x495422
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495426
add eax, 2
add ecx, 2
test dl, dl
jne 0x495406
xor eax, eax
jmp 0x49542b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4956d3
mov ecx, dword [esi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495460
test dl, dl
je 0x49545c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495460
add eax, 2
add ecx, 2
test dl, dl
jne 0x495440
xor eax, eax
jmp 0x495465
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4956d3
test bl, 1
jne 0x495488
cmp dword [ebp + 0x53c], 0
je 0x495488
cmp dword [ebp + 0x548], 0
je 0x495577
mov ecx, dword [esi + 0x5f0]
mov edx, dword [ecx]
mov eax, dword [edi]
push edx
push eax
call fcn.004a22f0
add esp, 8
test eax, eax
jne 0x4954c5
mov ecx, dword [esi + 0x5f0]
mov edx, dword [ebp + 0x5f0]
mov eax, dword [ecx + 0x44]
cmp eax, dword [edx + 0x40]
jne 0x4956d3
cmp dword [esi + 0x5bc], 0
je 0x4956d3
cmp dword [ebp + 0x55c], 0
je 0x4954ec
mov ecx, dword [esi + 0x31c]
mov edx, dword [ebp + 0x31c]
push ecx
push edx
call fcn.004a22f0
add esp, 8
test eax, eax
je 0x4956d3
cmp dword [ebp + 0x560], 0
je 0x495507
mov eax, dword [ebp + 0x36c]
cmp eax, dword [esi + 0x36c]
jne 0x4956d3
mov ecx, dword [esi + 0x304]
mov edx, dword [ebp + 0x304]
push ecx
push edx
call fcn.004a22f0
add esp, 8
test eax, eax
je 0x4956d3
mov eax, dword [ebp + 0x368]
cmp eax, dword [esi + 0x368]
jne 0x4956d3
mov ecx, dword [ebp + 0x5f0]
test byte [ecx + 0x48], 1
je 0x495577
lea edx, [esi + 0x4ac]
push edx
lea eax, [ebp + 0x4ac]
push eax
call fcn.00490200
add esp, 8
test eax, eax
je 0x4956d3
cmp dword [esi + 0x468], 2
je 0x495577
mov dword [esp + 0x20], 1
jmp 0x4956d3
cmp dword [esp + 0x10], 0
je 0x495604
mov ecx, dword [esi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4955b0
test dl, dl
je 0x4955ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4955b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x495590
xor eax, eax
jmp 0x4955b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4955ee
mov ecx, dword [esi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4955e5
test dl, dl
je 0x4955e1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4955e5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4955c5
xor eax, eax
jmp 0x4955ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x495611
cmp dword [esi + 0x66c], 0
jne 0x4956d3
mov dword [esp + 0x18], esi
jmp 0x4956d3
cmp dword [esi + 0x66c], 0
jne 0x4956d3
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x49569c
mov edx, dword [esi + 0x35c]
test edx, edx
je 0x4956d3
mov edi, dword [esi + 0x360]
test edi, edi
je 0x4956d3
mov eax, dword [ebp + 0x35c]
nop
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x495660
test cl, cl
je 0x49565c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x495660
add eax, 2
add edx, 2
test cl, cl
jne 0x495640
xor eax, eax
jmp 0x495665
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4956d3
mov eax, dword [ebp + 0x360]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495691
test dl, dl
je 0x49568d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495691
add eax, 2
add ecx, 2
test dl, dl
jne 0x495671
xor eax, eax
jmp 0x495696
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4956a5
jmp 0x4956d3
cmp dword [esi + 0x670], 0
jne 0x4956d3
cmp dword [esp + 0x10], 0
jne 0x4956b0
test ebx, ebx
je 0x4956e4
cmp dword [esp + 0x10], 0
mov edi, esi
mov dword [esp + 0x18], edi
je 0x4956c6
cmp dword [esi + 0x66c], 0
jne 0x495708
test ebx, ebx
je 0x4956d3
cmp dword [esi + 0x670], 0
jne 0x495708
cmp dword [esp + 0x14], 0
jne 0x4950b0
mov edi, dword [esp + 0x18]
jmp 0x495712
cmp dword [esp + 0x38], 0
mov edi, esi
je 0x495712
cmp dword [esp + 0x1c], 0
je 0x495712
mov ecx, dword [esp + 0x34]
push str.Multiplexed_connection_found__n
push ecx
call fcn.00499770
add esp, 8
jmp 0x495712
mov edx, dword [esp + 0x40]
mov dword [edx], 1
test edi, edi
je 0x49574d
mov esi, dword [esp + 0x34]
push edi
push esi
mov dword [edi], esi
call fcn.00496430
add esp, 8
cmp dword [esi + 0x80], 0
je 0x49573a
push 5
push esi
call fcn.004a24e0
add esp, 8
mov eax, dword [esp + 0x3c]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
mov esi, dword [esp + 0x34]
cmp dword [esi + 0x80], 0
je 0x495765
push 5
push esi
call fcn.004a24e0
add esp, 8
cmp dword [esp + 0x20], 0
je 0x49578d
cmp dword [esi + 0xc48], 0
je 0x49578d
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set_n
push esi
call fcn.00499770
mov ecx, dword [esp + 0x4c]
mov dword [ecx], 1
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret