Function at 0x40b750
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 0x40b7aa
cmp dword [ebp + 0x578], ecx
je 0x40b78b
cmp dword [ebp + 0x550], ecx
jne 0x40b7aa
mov ecx, dword [edi + 0x78]
push ecx
call fcn.0040cc30
add esp, 4
test eax, eax
je 0x40b7a8
cmp dword [edi + 0x85c], ebx
jl 0x40b7a8
mov esi, 2
xor ecx, ecx
mov al, 0x28
mov dword [esp + 0x38], esi
test byte [edi + 0xef0], al
je 0x40b7cb
mov edx, dword [ebp + 0x5f0]
mov dword [esp + 0x10], 1
test byte [edx + 0x40], bl
jne 0x40b7cf
mov dword [esp + 0x10], ecx
cmp dword [ebp + 0x544], ecx
je 0x40b7f2
test byte [edi + 0xf08], al
je 0x40b7f2
mov eax, dword [ebp + 0x5f0]
mov dword [esp + 0x28], 1
test byte [eax + 0x40], bl
jne 0x40b7f6
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.00418230
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x40bfad
mov ebx, eax
cmp dword [ebx], 2
mov eax, str.can_multiplex
je 0x40b834
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.0040ffc0
add esp, 0x14
test esi, esi
je 0x40b8f5
cmp dword [ebx], 0
jne 0x40b8af
cmp dword [edi + 0xc48], 0
je 0x40b899
push str.Server_doesnt_support_multiplex_yet__wait_n
push edi
call fcn.0040ffc0
mov ecx, dword [esp + 0x4c]
add esp, 8
mov dword [ecx], 1
cmp dword [edi + 0x80], 0
je 0x40bfed
push 5
push edi
call fcn.00418d30
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.0040ffc0
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [ebx], 2
jne 0x40b8da
mov edx, dword [edi + 0x78]
push edx
call fcn.0040cc30
add esp, 4
test eax, eax
jne 0x40b8da
push str.Could_multiplex__but_not_asked_to__n
push edi
call fcn.0040ffc0
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [ebx], 0xffffffff
jne 0x40b8f5
push str.Can_not_multiplex__even_if_we_wanted_to__n
push edi
call fcn.0040ffc0
add esp, 8
mov dword [esp + 0x38], 0
mov ebx, dword [ebx + 8]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x40bfad
jmp 0x40b910
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 0x40bf33
cmp dword [esi + 0x550], 0
jne 0x40bf33
mov edi, dword [esp + 0x34]
mov eax, edi
call fcn.00408b10
test eax, eax
je 0x40b9a3
mov eax, dword [esi + 0x2b4]
test eax, eax
je 0x40b96c
push eax
push edi
call fcn.00438c00
add esp, 8
mov dword [esi + 0x2b4], 0
push esi
call fcn.00439410
push esi
call fcn.00438de0
mov ecx, dword [esi + 0x5f0]
mov dword [esi], edi
mov eax, dword [ecx + 0x30]
add esp, 8
test eax, eax
je 0x40b992
push 1
push esi
call eax
add esp, 8
call fcn.004088d0
mov eax, esi
call fcn.0040b360
jmp 0x40bf33
mov edx, dword [esp + 0x24]
cmp dword [edx], 2
jne 0x40b9b6
mov eax, dword [esi + 0x65c]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x38], 0
jne 0x40ba1a
cmp dword [esp + 0x1c], 0
jne 0x40bf33
cmp byte [esi + 0x2c4], 0
jne 0x40b9ed
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.0040ffc0
add esp, 0xc
jmp 0x40bf33
cmp dword [esi + 0x420], 0xffffffff
jne 0x40ba1a
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.0040ffc0
add esp, 0xc
jmp 0x40bf33
mov eax, dword [ebp + 0x8ac]
test eax, eax
je 0x40ba6d
mov ecx, dword [esi + 0x8ac]
test ecx, ecx
je 0x40bf33
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ba52
test dl, dl
je 0x40ba4e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ba52
add eax, 2
add ecx, 2
test dl, dl
jne 0x40ba32
xor eax, eax
jmp 0x40ba57
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40bf33
mov edx, dword [ebp + 0x5b8]
cmp edx, dword [esi + 0x5b8]
jmp 0x40ba74
cmp dword [esi + 0x8ac], 0
jne 0x40bf33
mov eax, dword [esi + 0x5f0]
mov ecx, dword [ebp + 0x5f0]
mov edx, dword [eax + 0x48]
xor edx, dword [ecx + 0x48]
test dl, 1
je 0x40baaa
mov eax, dword [eax + 0x44]
cmp eax, dword [ecx + 0x40]
jne 0x40bf33
cmp dword [esi + 0x5bc], 0
je 0x40bf33
mov ecx, dword [ebp + 0x53c]
cmp ecx, dword [esi + 0x53c]
jne 0x40bf33
mov eax, dword [ebp + 0x540]
cmp eax, dword [esi + 0x540]
jne 0x40bf33
test eax, eax
je 0x40baef
lea edx, [ebp + 0x324]
lea edi, [esi + 0x324]
push edx
call fcn.00408990
add esp, 4
test eax, eax
je 0x40bf33
mov eax, dword [ebp + 0x55c]
cmp eax, dword [esi + 0x55c]
jne 0x40bf33
mov ecx, dword [ebp + 0x560]
cmp ecx, dword [esi + 0x560]
jne 0x40bf33
cmp dword [ebp + 0x53c], 0
je 0x40bbb2
lea eax, [esi + 0x344]
lea ecx, [ebp + 0x344]
call fcn.00408960
test eax, eax
je 0x40bf33
mov edx, dword [ebp + 0x548]
cmp edx, dword [esi + 0x548]
jne 0x40bf33
cmp dword [ebp + 0x358], 2
jne 0x40bbb2
mov eax, dword [ebp + 0x5f0]
test byte [eax + 0x48], 1
je 0x40bb87
lea ecx, [esi + 0x4ec]
push ecx
lea edx, [ebp + 0x4ec]
push edx
call fcn.00406a90
add esp, 8
test eax, eax
je 0x40bf33
cmp dword [esi + 0x488], 2
jmp 0x40bbac
lea eax, [esi + 0x4ac]
push eax
lea ecx, [ebp + 0x4ac]
push ecx
call fcn.00406a90
add esp, 8
test eax, eax
je 0x40bf33
cmp dword [esi + 0x468], 2
jne 0x40bf33
cmp dword [esp + 0x38], 0
jne 0x40bbbe
cmp dword [esi], 0
jmp 0x40bbcd
mov eax, dword [esi]
test eax, eax
je 0x40bbd3
mov edx, dword [ebp]
mov eax, dword [eax + 0x78]
cmp eax, dword [edx + 0x78]
jne 0x40bf33
mov ecx, dword [ebp + 0x894]
test ecx, ecx
jne 0x40bbe6
cmp word [ebp + 0x898], cx
je 0x40bc4d
mov dx, word [esi + 0x898]
cmp dx, word [ebp + 0x898]
jne 0x40bf33
mov eax, dword [esi + 0x89c]
cmp eax, dword [ebp + 0x89c]
jne 0x40bf33
test ecx, ecx
je 0x40bc4d
mov eax, dword [esi + 0x894]
test eax, eax
je 0x40bf33
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40bc40
test dl, dl
je 0x40bc3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40bc40
add eax, 2
add ecx, 2
test dl, dl
jne 0x40bc20
xor eax, eax
jmp 0x40bc45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40bf33
mov edi, dword [ebp + 0x5f0]
mov ebx, dword [edi + 0x48]
test bl, bl
js 0x40bccd
mov ecx, dword [esi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40bc86
test dl, dl
je 0x40bc82
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40bc86
add eax, 2
add ecx, 2
test dl, dl
jne 0x40bc66
xor eax, eax
jmp 0x40bc8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40bf33
mov ecx, dword [esi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40bcc0
test dl, dl
je 0x40bcbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40bcc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40bca0
xor eax, eax
jmp 0x40bcc5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40bf33
test bl, 1
jne 0x40bce8
cmp dword [ebp + 0x53c], 0
je 0x40bce8
cmp dword [ebp + 0x548], 0
je 0x40bdd7
mov ecx, dword [esi + 0x5f0]
mov edx, dword [ecx]
mov eax, dword [edi]
push edx
push eax
call fcn.00418b40
add esp, 8
test eax, eax
jne 0x40bd25
mov ecx, dword [esi + 0x5f0]
mov edx, dword [ebp + 0x5f0]
mov eax, dword [ecx + 0x44]
cmp eax, dword [edx + 0x40]
jne 0x40bf33
cmp dword [esi + 0x5bc], 0
je 0x40bf33
cmp dword [ebp + 0x55c], 0
je 0x40bd4c
mov ecx, dword [esi + 0x31c]
mov edx, dword [ebp + 0x31c]
push ecx
push edx
call fcn.00418b40
add esp, 8
test eax, eax
je 0x40bf33
cmp dword [ebp + 0x560], 0
je 0x40bd67
mov eax, dword [ebp + 0x36c]
cmp eax, dword [esi + 0x36c]
jne 0x40bf33
mov ecx, dword [esi + 0x304]
mov edx, dword [ebp + 0x304]
push ecx
push edx
call fcn.00418b40
add esp, 8
test eax, eax
je 0x40bf33
mov eax, dword [ebp + 0x368]
cmp eax, dword [esi + 0x368]
jne 0x40bf33
mov ecx, dword [ebp + 0x5f0]
test byte [ecx + 0x48], 1
je 0x40bdd7
lea edx, [esi + 0x4ac]
push edx
lea eax, [ebp + 0x4ac]
push eax
call fcn.00406a90
add esp, 8
test eax, eax
je 0x40bf33
cmp dword [esi + 0x468], 2
je 0x40bdd7
mov dword [esp + 0x20], 1
jmp 0x40bf33
cmp dword [esp + 0x10], 0
je 0x40be64
mov ecx, dword [esi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40be10
test dl, dl
je 0x40be0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40be10
add eax, 2
add ecx, 2
test dl, dl
jne 0x40bdf0
xor eax, eax
jmp 0x40be15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40be4e
mov ecx, dword [esi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40be45
test dl, dl
je 0x40be41
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40be45
add eax, 2
add ecx, 2
test dl, dl
jne 0x40be25
xor eax, eax
jmp 0x40be4a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40be71
cmp dword [esi + 0x66c], 0
jne 0x40bf33
mov dword [esp + 0x18], esi
jmp 0x40bf33
cmp dword [esi + 0x66c], 0
jne 0x40bf33
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x40befc
mov edx, dword [esi + 0x35c]
test edx, edx
je 0x40bf33
mov edi, dword [esi + 0x360]
test edi, edi
je 0x40bf33
mov eax, dword [ebp + 0x35c]
nop
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x40bec0
test cl, cl
je 0x40bebc
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x40bec0
add eax, 2
add edx, 2
test cl, cl
jne 0x40bea0
xor eax, eax
jmp 0x40bec5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40bf33
mov eax, dword [ebp + 0x360]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40bef1
test dl, dl
je 0x40beed
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40bef1
add eax, 2
add ecx, 2
test dl, dl
jne 0x40bed1
xor eax, eax
jmp 0x40bef6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40bf05
jmp 0x40bf33
cmp dword [esi + 0x670], 0
jne 0x40bf33
cmp dword [esp + 0x10], 0
jne 0x40bf10
test ebx, ebx
je 0x40bf44
cmp dword [esp + 0x10], 0
mov edi, esi
mov dword [esp + 0x18], edi
je 0x40bf26
cmp dword [esi + 0x66c], 0
jne 0x40bf68
test ebx, ebx
je 0x40bf33
cmp dword [esi + 0x670], 0
jne 0x40bf68
cmp dword [esp + 0x14], 0
jne 0x40b910
mov edi, dword [esp + 0x18]
jmp 0x40bf72
cmp dword [esp + 0x38], 0
mov edi, esi
je 0x40bf72
cmp dword [esp + 0x1c], 0
je 0x40bf72
mov ecx, dword [esp + 0x34]
push str.Multiplexed_connection_found__n
push ecx
call fcn.0040ffc0
add esp, 8
jmp 0x40bf72
mov edx, dword [esp + 0x40]
mov dword [edx], 1
test edi, edi
je 0x40bfad
mov esi, dword [esp + 0x34]
push edi
push esi
mov dword [edi], esi
call fcn.0040cc80
add esp, 8
cmp dword [esi + 0x80], 0
je 0x40bf9a
push 5
push esi
call fcn.00418d30
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 0x40bfc5
push 5
push esi
call fcn.00418d30
add esp, 8
cmp dword [esp + 0x20], 0
je 0x40bfed
cmp dword [esi + 0xc48], 0
je 0x40bfed
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set_n
push esi
call fcn.0040ffc0
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