Function at 0x494e40
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 0x494e9a
cmp dword [ebp + 0x578], ecx
je 0x494e7b
cmp dword [ebp + 0x550], ecx
jne 0x494e9a
mov ecx, dword [edi + 0x78]
push ecx
call fcn.00496330
add esp, 4
test eax, eax
je 0x494e98
cmp dword [edi + 0x85c], ebx
jl 0x494e98
mov esi, 2
xor ecx, ecx
mov al, 0x28
mov dword [esp + 0x38], esi
test byte [edi + 0xef0], al
je 0x494ebb
mov edx, dword [ebp + 0x5f0]
mov dword [esp + 0x10], 1
test byte [edx + 0x40], bl
jne 0x494ebf
mov dword [esp + 0x10], ecx
cmp dword [ebp + 0x544], ecx
je 0x494ee2
test byte [edi + 0xf08], al
je 0x494ee2
mov eax, dword [ebp + 0x5f0]
mov dword [esp + 0x28], 1
test byte [eax + 0x40], bl
jne 0x494ee6
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.004a1930
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x49569d
mov ebx, eax
cmp dword [ebx], 2
mov eax, str.can_multiplex
je 0x494f24
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.004996c0
add esp, 0x14
test esi, esi
je 0x494fe5
cmp dword [ebx], 0
jne 0x494f9f
cmp dword [edi + 0xc48], 0
je 0x494f89
push str.Server_doesnt_support_multiplex_yet__wait_n
push edi
call fcn.004996c0
mov ecx, dword [esp + 0x4c]
add esp, 8
mov dword [ecx], 1
cmp dword [edi + 0x80], 0
je 0x4956dd
push 5
push edi
call fcn.004a2430
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.004996c0
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [ebx], 2
jne 0x494fca
mov edx, dword [edi + 0x78]
push edx
call fcn.00496330
add esp, 4
test eax, eax
jne 0x494fca
push str.Could_multiplex__but_not_asked_to__n
push edi
call fcn.004996c0
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [ebx], 0xffffffff
jne 0x494fe5
push str.Can_not_multiplex__even_if_we_wanted_to__n
push edi
call fcn.004996c0
add esp, 8
mov dword [esp + 0x38], 0
mov ebx, dword [ebx + 8]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x49569d
jmp 0x495000
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 0x495623
cmp dword [esi + 0x550], 0
jne 0x495623
mov edi, dword [esp + 0x34]
mov eax, edi
call fcn.00492200
test eax, eax
je 0x495093
mov eax, dword [esi + 0x2b4]
test eax, eax
je 0x49505c
push eax
push edi
call fcn.004c22f0
add esp, 8
mov dword [esi + 0x2b4], 0
push esi
call fcn.004c2b00
push esi
call fcn.004c24d0
mov ecx, dword [esi + 0x5f0]
mov dword [esi], edi
mov eax, dword [ecx + 0x30]
add esp, 8
test eax, eax
je 0x495082
push 1
push esi
call eax
add esp, 8
call fcn.00491fc0
mov eax, esi
call fcn.00494a50
jmp 0x495623
mov edx, dword [esp + 0x24]
cmp dword [edx], 2
jne 0x4950a6
mov eax, dword [esi + 0x65c]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x38], 0
jne 0x49510a
cmp dword [esp + 0x1c], 0
jne 0x495623
cmp byte [esi + 0x2c4], 0
jne 0x4950dd
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.004996c0
add esp, 0xc
jmp 0x495623
cmp dword [esi + 0x420], 0xffffffff
jne 0x49510a
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.004996c0
add esp, 0xc
jmp 0x495623
mov eax, dword [ebp + 0x8ac]
test eax, eax
je 0x49515d
mov ecx, dword [esi + 0x8ac]
test ecx, ecx
je 0x495623
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495142
test dl, dl
je 0x49513e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495142
add eax, 2
add ecx, 2
test dl, dl
jne 0x495122
xor eax, eax
jmp 0x495147
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495623
mov edx, dword [ebp + 0x5b8]
cmp edx, dword [esi + 0x5b8]
jmp 0x495164
cmp dword [esi + 0x8ac], 0
jne 0x495623
mov eax, dword [esi + 0x5f0]
mov ecx, dword [ebp + 0x5f0]
mov edx, dword [eax + 0x48]
xor edx, dword [ecx + 0x48]
test dl, 1
je 0x49519a
mov eax, dword [eax + 0x44]
cmp eax, dword [ecx + 0x40]
jne 0x495623
cmp dword [esi + 0x5bc], 0
je 0x495623
mov ecx, dword [ebp + 0x53c]
cmp ecx, dword [esi + 0x53c]
jne 0x495623
mov eax, dword [ebp + 0x540]
cmp eax, dword [esi + 0x540]
jne 0x495623
test eax, eax
je 0x4951df
lea edx, [ebp + 0x324]
lea edi, [esi + 0x324]
push edx
call fcn.00492080
add esp, 4
test eax, eax
je 0x495623
mov eax, dword [ebp + 0x55c]
cmp eax, dword [esi + 0x55c]
jne 0x495623
mov ecx, dword [ebp + 0x560]
cmp ecx, dword [esi + 0x560]
jne 0x495623
cmp dword [ebp + 0x53c], 0
je 0x4952a2
lea eax, [esi + 0x344]
lea ecx, [ebp + 0x344]
call fcn.00492050
test eax, eax
je 0x495623
mov edx, dword [ebp + 0x548]
cmp edx, dword [esi + 0x548]
jne 0x495623
cmp dword [ebp + 0x358], 2
jne 0x4952a2
mov eax, dword [ebp + 0x5f0]
test byte [eax + 0x48], 1
je 0x495277
lea ecx, [esi + 0x4ec]
push ecx
lea edx, [ebp + 0x4ec]
push edx
call fcn.00490150
add esp, 8
test eax, eax
je 0x495623
cmp dword [esi + 0x488], 2
jmp 0x49529c
lea eax, [esi + 0x4ac]
push eax
lea ecx, [ebp + 0x4ac]
push ecx
call fcn.00490150
add esp, 8
test eax, eax
je 0x495623
cmp dword [esi + 0x468], 2
jne 0x495623
cmp dword [esp + 0x38], 0
jne 0x4952ae
cmp dword [esi], 0
jmp 0x4952bd
mov eax, dword [esi]
test eax, eax
je 0x4952c3
mov edx, dword [ebp]
mov eax, dword [eax + 0x78]
cmp eax, dword [edx + 0x78]
jne 0x495623
mov ecx, dword [ebp + 0x894]
test ecx, ecx
jne 0x4952d6
cmp word [ebp + 0x898], cx
je 0x49533d
mov dx, word [esi + 0x898]
cmp dx, word [ebp + 0x898]
jne 0x495623
mov eax, dword [esi + 0x89c]
cmp eax, dword [ebp + 0x89c]
jne 0x495623
test ecx, ecx
je 0x49533d
mov eax, dword [esi + 0x894]
test eax, eax
je 0x495623
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495330
test dl, dl
je 0x49532c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495330
add eax, 2
add ecx, 2
test dl, dl
jne 0x495310
xor eax, eax
jmp 0x495335
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495623
mov edi, dword [ebp + 0x5f0]
mov ebx, dword [edi + 0x48]
test bl, bl
js 0x4953bd
mov ecx, dword [esi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495376
test dl, dl
je 0x495372
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495376
add eax, 2
add ecx, 2
test dl, dl
jne 0x495356
xor eax, eax
jmp 0x49537b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495623
mov ecx, dword [esi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4953b0
test dl, dl
je 0x4953ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4953b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x495390
xor eax, eax
jmp 0x4953b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495623
test bl, 1
jne 0x4953d8
cmp dword [ebp + 0x53c], 0
je 0x4953d8
cmp dword [ebp + 0x548], 0
je 0x4954c7
mov ecx, dword [esi + 0x5f0]
mov edx, dword [ecx]
mov eax, dword [edi]
push edx
push eax
call fcn.004a2240
add esp, 8
test eax, eax
jne 0x495415
mov ecx, dword [esi + 0x5f0]
mov edx, dword [ebp + 0x5f0]
mov eax, dword [ecx + 0x44]
cmp eax, dword [edx + 0x40]
jne 0x495623
cmp dword [esi + 0x5bc], 0
je 0x495623
cmp dword [ebp + 0x55c], 0
je 0x49543c
mov ecx, dword [esi + 0x31c]
mov edx, dword [ebp + 0x31c]
push ecx
push edx
call fcn.004a2240
add esp, 8
test eax, eax
je 0x495623
cmp dword [ebp + 0x560], 0
je 0x495457
mov eax, dword [ebp + 0x36c]
cmp eax, dword [esi + 0x36c]
jne 0x495623
mov ecx, dword [esi + 0x304]
mov edx, dword [ebp + 0x304]
push ecx
push edx
call fcn.004a2240
add esp, 8
test eax, eax
je 0x495623
mov eax, dword [ebp + 0x368]
cmp eax, dword [esi + 0x368]
jne 0x495623
mov ecx, dword [ebp + 0x5f0]
test byte [ecx + 0x48], 1
je 0x4954c7
lea edx, [esi + 0x4ac]
push edx
lea eax, [ebp + 0x4ac]
push eax
call fcn.00490150
add esp, 8
test eax, eax
je 0x495623
cmp dword [esi + 0x468], 2
je 0x4954c7
mov dword [esp + 0x20], 1
jmp 0x495623
cmp dword [esp + 0x10], 0
je 0x495554
mov ecx, dword [esi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495500
test dl, dl
je 0x4954fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495500
add eax, 2
add ecx, 2
test dl, dl
jne 0x4954e0
xor eax, eax
jmp 0x495505
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49553e
mov ecx, dword [esi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495535
test dl, dl
je 0x495531
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495535
add eax, 2
add ecx, 2
test dl, dl
jne 0x495515
xor eax, eax
jmp 0x49553a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x495561
cmp dword [esi + 0x66c], 0
jne 0x495623
mov dword [esp + 0x18], esi
jmp 0x495623
cmp dword [esi + 0x66c], 0
jne 0x495623
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4955ec
mov edx, dword [esi + 0x35c]
test edx, edx
je 0x495623
mov edi, dword [esi + 0x360]
test edi, edi
je 0x495623
mov eax, dword [ebp + 0x35c]
nop
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4955b0
test cl, cl
je 0x4955ac
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4955b0
add eax, 2
add edx, 2
test cl, cl
jne 0x495590
xor eax, eax
jmp 0x4955b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495623
mov eax, dword [ebp + 0x360]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4955e1
test dl, dl
je 0x4955dd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4955e1
add eax, 2
add ecx, 2
test dl, dl
jne 0x4955c1
xor eax, eax
jmp 0x4955e6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4955f5
jmp 0x495623
cmp dword [esi + 0x670], 0
jne 0x495623
cmp dword [esp + 0x10], 0
jne 0x495600
test ebx, ebx
je 0x495634
cmp dword [esp + 0x10], 0
mov edi, esi
mov dword [esp + 0x18], edi
je 0x495616
cmp dword [esi + 0x66c], 0
jne 0x495658
test ebx, ebx
je 0x495623
cmp dword [esi + 0x670], 0
jne 0x495658
cmp dword [esp + 0x14], 0
jne 0x495000
mov edi, dword [esp + 0x18]
jmp 0x495662
cmp dword [esp + 0x38], 0
mov edi, esi
je 0x495662
cmp dword [esp + 0x1c], 0
je 0x495662
mov ecx, dword [esp + 0x34]
push str.Multiplexed_connection_found__n
push ecx
call fcn.004996c0
add esp, 8
jmp 0x495662
mov edx, dword [esp + 0x40]
mov dword [edx], 1
test edi, edi
je 0x49569d
mov esi, dword [esp + 0x34]
push edi
push esi
mov dword [edi], esi
call fcn.00496380
add esp, 8
cmp dword [esi + 0x80], 0
je 0x49568a
push 5
push esi
call fcn.004a2430
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 0x4956b5
push 5
push esi
call fcn.004a2430
add esp, 8
cmp dword [esp + 0x20], 0
je 0x4956dd
cmp dword [esi + 0xc48], 0
je 0x4956dd
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set_n
push esi
call fcn.004996c0
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