Function at 0x46d590
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 + 0x238]
test byte [eax + 0x44], 3
je 0x46d5e8
cmp byte [edi + 0x206], 0
je 0x46d5ca
cmp byte [edi + 0x1fe], 0
jne 0x46d5e8
push dword [ebx + 0x70]
call fcn.00462e60
add esp, 4
test al, al
je 0x46d5e8
cmp byte [ebx + 0xc2c], 3
mov eax, 2
cmovae esi, eax
test esi, esi
setne byte [esp + 0x28]
test byte [ebx + 0x974], 0x28
je 0x46d609
mov eax, dword [edi + 0x238]
mov byte [esp + 0x12], 1
test byte [eax + 0x44], 3
jne 0x46d60e
mov byte [esp + 0x12], 0
cmp byte [edi + 0x1fa], 0
je 0x46d633
test byte [ebx + 0x984], 0x28
je 0x46d633
mov eax, dword [edi + 0x238]
test byte [eax + 0x44], 3
je 0x46d633
mov byte [esp + 0x24], 1
jmp 0x46d639
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 + 0x8a0]
push edi
push ebx
call fcn.0046b1f0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x46dd08
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.004728b0
add esp, 0x10
test esi, esi
mov esi, dword [esp + 0x18]
je 0x46d721
cmp dword [esi], ebp
jne 0x46d6e2
cmp byte [ebx + 0x6f7], 0
je 0x46d6cf
push str.Server_doesnt_support_multiplex_yet__wait
push ebx
call fcn.004728b0
mov eax, dword [esp + 0x3c]
add esp, 8
mov byte [eax], 1
cmp dword [ebx + 0x78], ebp
je 0x46dd8e
push 5
push ebx
call fcn.00479270
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.004728b0
add esp, 8
mov byte [esp + 0x28], 0
cmp dword [esi], 2
jne 0x46d709
push dword [ebx + 0x70]
call fcn.00462e60
add esp, 4
test al, al
jne 0x46d709
push str.Could_multiplex__but_not_asked_to
push ebx
call fcn.004728b0
add esp, 8
mov byte [esp + 0x28], 0
cmp dword [esi], 0xffffffff
jne 0x46d721
push str.Can_not_multiplex__even_if_we_wanted_to
push ebx
call fcn.004728b0
add esp, 8
mov byte [esp + 0x28], 0
mov esi, dword [esi + 8]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x46dd08
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov esi, dword [esi]
mov eax, dword [eax + 8]
cmp byte [esi + 0x4b8], 0
mov dword [esp + 0x1c], eax
jne 0x46d7b0
cmp byte [esi + 0x1fe], 0
jne 0x46d7b0
push ebx
push esi
call fcn.0046ffa0
add esp, 8
test al, al
je 0x46d76a
push 1
push esi
push ebx
call fcn.0046e300
jmp 0x46d7ad
mov al, byte [ebx + 0x4d0]
test al, al
je 0x46d77c
cmp al, byte [esi + 0x4b6]
jne 0x46d7b0
mov eax, dword [esp + 0x18]
cmp dword [eax], 2
jne 0x46d78b
mov ebp, dword [esi + 0x298]
cmp byte [esp + 0x28], 0
jne 0x46d7e3
test ebp, ebp
jne 0x46d7b0
cmp byte [esi + 0xb4], 0
jne 0x46d7c5
push dword [esi + 0x38]
push str.Connection__ld_is_still_name_resolving__cant_reuse
push ebx
call fcn.004728b0
add esp, 0xc
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x46d730
jmp 0x46dd08
push 0
push esi
call fcn.004824b0
add esp, 8
test al, al
jne 0x46d7e3
push dword [esi + 0x38]
mov byte [esp + 0x17], 1
push str.Connection__ld_isnt_open_enough__cant_reuse
jmp 0x46d7a7
mov ecx, dword [edi + 0x484]
mov eax, dword [esi + 0x484]
test ecx, ecx
je 0x46d82e
test eax, eax
je 0x46d7b0
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x46d817
test dl, dl
je 0x46d813
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x46d817
add ecx, 2
add eax, 2
test dl, dl
jne 0x46d7f7
xor eax, eax
jmp 0x46d81c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x46d7b0
mov al, byte [edi + 0x213]
cmp al, byte [esi + 0x213]
jmp 0x46d830
test eax, eax
jne 0x46d7b0
mov ecx, dword [esi + 0x238]
mov edx, dword [edi + 0x238]
mov eax, dword [ecx + 0x4c]
xor eax, dword [edx + 0x4c]
test al, 1
je 0x46d865
mov eax, dword [ecx + 0x48]
cmp eax, dword [edx + 0x44]
jne 0x46d7b0
cmp byte [esi + 0x214], 0
je 0x46d7b0
mov al, byte [edi + 0x1f8]
cmp al, byte [esi + 0x1f8]
jne 0x46d7b0
mov al, byte [edi + 0x1f9]
cmp al, byte [esi + 0x1f9]
jne 0x46d7b0
test al, al
je 0x46d8ff
mov al, byte [edi + 0x88]
cmp al, byte [esi + 0x88]
jne 0x46d7b0
mov eax, dword [edi + 0x84]
cmp eax, dword [esi + 0x84]
jne 0x46d7b0
push dword [esi + 0x7c]
push dword [edi + 0x7c]
call fcn.00478c70
add esp, 8
test eax, eax
je 0x46d7b0
push dword [esi + 0x8c]
push dword [edi + 0x8c]
call fcn.00478c10
add esp, 8
test eax, eax
jne 0x46d7b0
push dword [esi + 0x90]
push dword [edi + 0x90]
call fcn.00478c10
add esp, 8
test eax, eax
jne 0x46d7b0
mov al, byte [edi + 0x201]
cmp al, byte [esi + 0x201]
jne 0x46d7b0
mov al, byte [edi + 0x202]
cmp al, byte [esi + 0x202]
jne 0x46d7b0
cmp byte [edi + 0x1f8], 0
je 0x46d9d3
mov al, byte [edi + 0xa8]
cmp al, byte [esi + 0xa8]
jne 0x46d7b0
mov eax, dword [edi + 0xa4]
cmp eax, dword [esi + 0xa4]
jne 0x46d7b0
push dword [esi + 0x9c]
push dword [edi + 0x9c]
call fcn.00478c70
add esp, 8
test eax, eax
je 0x46d7b0
mov al, byte [edi + 0x1fb]
cmp al, byte [esi + 0x1fb]
jne 0x46d7b0
cmp byte [edi + 0xa8], 2
jne 0x46d9d3
mov eax, dword [edi + 0x238]
test byte [eax + 0x4c], 1
je 0x46d9b5
lea eax, [esi + 0x1b8]
push eax
lea eax, [edi + 0x1b8]
push eax
call fcn.0046cbb0
add esp, 8
test al, al
je 0x46d7b0
lea eax, [esi + 0x178]
push eax
lea eax, [edi + 0x178]
push eax
call fcn.0046cbb0
add esp, 8
test al, al
je 0x46d7b0
cmp byte [esp + 0x28], 0
jne 0x46d9e3
cmp dword [esi + 0x298], 0
jmp 0x46d9fa
cmp dword [esi + 0x298], 0
je 0x46da00
mov eax, dword [esi + 0x28c]
mov eax, dword [eax]
mov eax, dword [eax + 0x70]
cmp eax, dword [ebx + 0x70]
jne 0x46d7b0
mov ecx, dword [edi + 0x488]
test ecx, ecx
jne 0x46da13
cmp word [edi + 0x4b0], cx
je 0x46da7d
mov ax, word [esi + 0x4b0]
cmp ax, word [edi + 0x4b0]
jne 0x46d7b0
mov eax, dword [esi + 0x48c]
cmp eax, dword [edi + 0x48c]
jne 0x46d7b0
test ecx, ecx
je 0x46da7d
mov eax, dword [esi + 0x488]
test eax, eax
je 0x46d7b0
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46da70
test dl, dl
je 0x46da6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46da70
add eax, 2
add ecx, 2
test dl, dl
jne 0x46da50
xor eax, eax
jmp 0x46da75
sbb eax, eax
or eax, 1
test eax, eax
jne 0x46d7b0
mov eax, dword [edi + 0x238]
test byte [eax + 0x4c], 0x80
jne 0x46daf9
push dword [esi + 0xe4]
push dword [edi + 0xe4]
call fcn.00478c10
add esp, 8
test eax, eax
jne 0x46d7b0
push dword [esi + 0xe8]
push dword [edi + 0xe8]
call fcn.00478c10
add esp, 8
test eax, eax
jne 0x46d7b0
push dword [esi + 0xf0]
push dword [edi + 0xf0]
call fcn.00478c10
add esp, 8
test eax, eax
jne 0x46d7b0
push dword [esi + 0xf4]
push dword [edi + 0xf4]
call fcn.00478c10
add esp, 8
test eax, eax
jne 0x46d7b0
mov ecx, dword [edi + 0x238]
test byte [ecx + 0x44], 3
je 0x46db1b
cmp byte [esi + 0x4b7], 0x14
jb 0x46db1b
cmp byte [ebx + 0xc2c], 3
jb 0x46d7b0
cmp dword [ecx + 0x48], 0x30
je 0x46d7b0
test byte [ecx + 0x4c], 1
jne 0x46db41
cmp byte [edi + 0x1f8], 0
je 0x46db41
cmp byte [edi + 0x1fb], 0
je 0x46dc08
mov eax, dword [esi + 0x238]
push dword [eax]
push dword [ecx]
call fcn.00478c70
add esp, 8
test eax, eax
jne 0x46db7c
mov eax, dword [esi + 0x238]
mov ecx, dword [edi + 0x238]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x44]
jne 0x46d7b0
cmp byte [esi + 0x214], 0
je 0x46d7b0
cmp byte [edi + 0x201], 0
je 0x46db9b
push dword [esi + 0x6c]
push dword [edi + 0x6c]
call fcn.00478c70
add esp, 8
test eax, eax
je 0x46d7b0
cmp byte [edi + 0x202], 0
je 0x46dbb6
mov eax, dword [edi + 0x4a8]
cmp eax, dword [esi + 0x4a8]
jne 0x46d7b0
push dword [esi + 0x54]
push dword [edi + 0x54]
call fcn.00478c70
add esp, 8
test eax, eax
je 0x46d7b0
mov eax, dword [edi + 0x4a4]
cmp eax, dword [esi + 0x4a4]
jne 0x46d7b0
mov eax, dword [edi + 0x238]
test byte [eax + 0x4c], 1
je 0x46dc08
lea eax, [esi + 0x178]
push eax
lea eax, [edi + 0x178]
push eax
call fcn.0046cbb0
add esp, 8
test al, al
je 0x46d7b0
cmp byte [esp + 0x12], 0
je 0x46dc57
push dword [esi + 0xe4]
push dword [edi + 0xe4]
call fcn.00478c10
add esp, 8
test eax, eax
jne 0x46dc3f
push dword [esi + 0xe8]
push dword [edi + 0xe8]
call fcn.00478c10
add esp, 8
test eax, eax
je 0x46dc64
cmp dword [esi + 0x2a8], 0
jne 0x46d7b0
mov ebp, esi
mov dword [esp + 0x14], ebp
jmp 0x46d7b4
cmp dword [esi + 0x2a8], 0
jne 0x46d7b0
mov al, byte [esp + 0x24]
test al, al
je 0x46dcc0
mov eax, dword [esi + 0xac]
test eax, eax
je 0x46d7b0
cmp dword [esi + 0xb0], 0
je 0x46d7b0
push eax
push dword [edi + 0xac]
call fcn.00478c10
add esp, 8
test eax, eax
jne 0x46d7b0
push dword [esi + 0xb0]
push dword [edi + 0xb0]
call fcn.00478c10
add esp, 8
test eax, eax
jne 0x46d7b0
mov al, byte [esp + 0x24]
jmp 0x46dccd
cmp dword [esi + 0x2ac], 0
jne 0x46d7b0
mov cl, byte [esp + 0x12]
test cl, cl
jne 0x46dcd9
test al, al
je 0x46dd37
mov ebp, esi
mov dword [esp + 0x14], ebp
test cl, cl
je 0x46dcec
cmp dword [esi + 0x2a8], 0
jne 0x46dd01
test al, al
je 0x46d7b4
cmp dword [esi + 0x2ac], 0
je 0x46d7b4
mov eax, dword [esp + 0x30]
mov byte [eax], 1
test ebp, ebp
je 0x46dd58
push ebp
push ebx
call fcn.004628e0
add esp, 8
cmp dword [ebx + 0x78], 0
je 0x46dd27
push 5
push ebx
call fcn.00479270
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 0x46dd54
test ebp, ebp
mov ebp, esi
je 0x46dd08
push str.Multiplexed_connection_found
push ebx
call fcn.004728b0
add esp, 8
jmp 0x46dd08
mov ebp, esi
jmp 0x46dd08
cmp dword [ebx + 0x78], 0
je 0x46dd69
push 5
push ebx
call fcn.00479270
add esp, 8
cmp byte [esp + 0x13], 0
je 0x46dd8e
cmp byte [ebx + 0x6f7], 0
je 0x46dd8e
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set
push ebx
call fcn.004728b0
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