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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x12], 0
mov eax, dword [edi + 0x560]
test byte [eax + 0x40], 3
je 0x579a98
cmp byte [edi + 0x51f], 0
je 0x579a74
cmp byte [edi + 0x515], 0
jne 0x579a98
mov ebx, dword [esp + 0x2c]
push dword [ebx + 0x78]
call fcn.00570210
add esp, 4
test al, al
je 0x579a9c
cmp dword [ebx + 0x83c], 3
mov eax, 2
cmovge esi, eax
jmp 0x579a9c
mov ebx, dword [esp + 0x2c]
test esi, esi
setne al
test byte [ebx + 0xdc0], 0x28
mov byte [esp + 0x30], al
je 0x579abe
mov eax, dword [edi + 0x560]
test byte [eax + 0x40], 3
je 0x579abe
mov al, 1
jmp 0x579ac0
xor al, al
cmp byte [edi + 0x512], 0
mov byte [esp + 0x13], al
je 0x579ae9
test byte [ebx + 0xdd0], 0x28
je 0x579ae9
mov eax, dword [edi + 0x560]
test byte [eax + 0x40], 3
je 0x579ae9
mov byte [esp + 0x11], 1
jmp 0x579aef
xor al, al
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x38]
mov byte [eax], 0
mov eax, dword [esp + 0x3c]
mov byte [eax], 0
lea eax, [esp + 0x24]
push eax
push dword [ebx + 0xd00]
push edi
call fcn.00577e20
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x57a24e
cmp dword [ebp], 2
mov eax, str.serially
mov ecx, str.can_multiplex
cmovne ecx, eax
push ecx
push ebp
push dword [esp + 0x2c]
push str.Found_bundle_for_host__s:__p___s__n
push ebx
call fcn.0057f050
add esp, 0x14
test esi, esi
je 0x579beb
cmp dword [ebp], 0
jne 0x579ba6
cmp byte [ebx + 0xb55], 0
je 0x579b92
push str.Server_doesnt_support_multiplex_yet__wait_n
push ebx
call fcn.0057f050
mov eax, dword [esp + 0x44]
add esp, 8
mov byte [eax], 1
cmp dword [ebx + 0x80], 0
je 0x57a287
push 5
push ebx
call fcn.00582840
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Server_doesnt_support_multiplex__yet__n
push ebx
call fcn.0057f050
add esp, 8
xor al, al
mov byte [esp + 0x30], al
cmp dword [ebp], 2
jne 0x579bcf
push dword [ebx + 0x78]
call fcn.00570210
add esp, 4
test al, al
jne 0x579bcf
push str.Could_multiplex__but_not_asked_to__n
push ebx
call fcn.0057f050
add esp, 8
xor al, al
mov byte [esp + 0x30], al
cmp dword [ebp], 0xffffffff
jne 0x579beb
push str.Can_not_multiplex__even_if_we_wanted_to__n
push ebx
call fcn.0057f050
add esp, 8
xor dl, dl
mov byte [esp + 0x30], dl
jmp 0x579bef
mov dl, byte [esp + 0x30]
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x57a24e
nop
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov esi, dword [esi]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x1c], ecx
cmp byte [esi + 0x52c], al
jne 0x57a1cf
cmp byte [esi + 0x515], al
jne 0x57a1cf
cmp dword [ebp], 2
jne 0x579c3b
mov eax, dword [esi + 0x5cc]
mov dword [esp + 0x20], eax
test dl, dl
jne 0x579c8f
test eax, eax
jne 0x57a1cf
cmp byte [esi + 0x2c4], al
jne 0x579c68
push dword [esi + 0x2b0]
push str.Connection__ld_is_still_name_resolving__cant_reuse_n
push ebx
call fcn.0057f050
add esp, 0xc
jmp 0x57a1cb
cmp dword [esi + 0x420], 0xffffffff
jne 0x579c8f
push dword [esi + 0x2b0]
mov byte [esp + 0x16], 1
push str.Connection__ld_isnt_open_enough__cant_reuse_n
push ebx
call fcn.0057f050
add esp, 0xc
jmp 0x57a1cb
mov eax, dword [edi + 0x7e4]
test eax, eax
je 0x579ce8
mov ecx, dword [esi + 0x7e4]
test ecx, ecx
je 0x57a1cf
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x579cc7
test dl, dl
je 0x579cc3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x579cc7
add eax, 2
add ecx, 2
test dl, dl
jne 0x579ca7
xor eax, eax
jmp 0x579ccc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x57a1cb
mov al, byte [edi + 0x52e]
cmp al, byte [esi + 0x52e]
jne 0x57a1cb
jmp 0x579cf5
cmp dword [esi + 0x7e4], 0
jne 0x57a1cf
mov ecx, dword [esi + 0x560]
mov edx, dword [edi + 0x560]
mov eax, dword [ecx + 0x44]
xor eax, dword [edx + 0x44]
test al, 1
je 0x579d2c
push dword [ecx + 0x40]
call fcn.0057c6e0
add esp, 4
cmp eax, dword [edx + 0x40]
jne 0x57a1cb
cmp byte [esi + 0x52f], 0
je 0x57a1cb
mov al, byte [edi + 0x510]
cmp al, byte [esi + 0x510]
jne 0x57a1cb
mov al, byte [edi + 0x511]
cmp al, byte [esi + 0x511]
jne 0x57a1cb
test al, al
je 0x579d72
lea eax, [esi + 0x324]
push eax
lea eax, [edi + 0x324]
push eax
call fcn.0057dea0
add esp, 8
test al, al
je 0x57a1cb
mov al, byte [edi + 0x518]
cmp al, byte [esi + 0x518]
jne 0x57a1cb
mov al, byte [edi + 0x519]
cmp al, byte [esi + 0x519]
jne 0x57a1cb
cmp byte [edi + 0x510], 0
je 0x579e3a
lea eax, [esi + 0x344]
push eax
lea eax, [edi + 0x344]
push eax
call fcn.0057d610
add esp, 8
test al, al
je 0x57a1cb
mov al, byte [edi + 0x513]
cmp al, byte [esi + 0x513]
jne 0x57a1cb
cmp dword [edi + 0x358], 2
jne 0x579e3a
mov eax, dword [edi + 0x560]
test byte [eax + 0x44], 1
je 0x579e0f
lea eax, [esi + 0x4dc]
push eax
lea eax, [edi + 0x4dc]
push eax
call fcn.00578f50
add esp, 8
test al, al
je 0x57a1cb
cmp dword [esi + 0x488], 2
jmp 0x579e34
lea eax, [esi + 0x4ac]
push eax
lea eax, [edi + 0x4ac]
push eax
call fcn.00578f50
add esp, 8
test al, al
je 0x57a1cb
cmp dword [esi + 0x468], 2
jne 0x57a1cb
mov dl, byte [esp + 0x30]
test dl, dl
jne 0x579e47
cmp dword [esi], 0
jmp 0x579e55
mov eax, dword [esi]
test eax, eax
je 0x579e5b
mov ecx, dword [edi]
mov eax, dword [eax + 0x78]
cmp eax, dword [ecx + 0x78]
jne 0x57a1cf
mov ecx, dword [edi + 0x7cc]
test ecx, ecx
jne 0x579e6e
cmp word [edi + 0x7d0], cx
je 0x579ed3
mov ax, word [esi + 0x7d0]
cmp ax, word [edi + 0x7d0]
jne 0x57a1cf
mov eax, dword [esi + 0x7d4]
cmp eax, dword [edi + 0x7d4]
jne 0x57a1cf
test ecx, ecx
je 0x579ed3
mov eax, dword [esi + 0x7cc]
test eax, eax
je 0x57a1cf
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x579ec6
test dl, dl
je 0x579ec2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x579ec6
add eax, 2
add ecx, 2
test dl, dl
jne 0x579ea6
xor eax, eax
jmp 0x579ecb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x57a1cb
mov ebp, dword [edi + 0x560]
mov ebx, dword [ebp + 0x44]
test bl, bl
js 0x579f5d
mov ecx, dword [esi + 0x3d8]
mov eax, dword [edi + 0x3d8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x579f10
test dl, dl
je 0x579f0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x579f10
add eax, 2
add ecx, 2
test dl, dl
jne 0x579ef0
xor eax, eax
jmp 0x579f15
sbb eax, eax
or eax, 1
test eax, eax
jne 0x57a1c3
mov ecx, dword [esi + 0x3dc]
mov eax, dword [edi + 0x3dc]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x579f50
test dl, dl
je 0x579f4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x579f50
add eax, 2
add ecx, 2
test dl, dl
jne 0x579f30
xor eax, eax
jmp 0x579f55
sbb eax, eax
or eax, 1
test eax, eax
jne 0x57a1c3
test bl, 1
jne 0x579f78
cmp byte [edi + 0x510], 0
je 0x579f78
cmp byte [edi + 0x513], 0
je 0x57a067
mov eax, dword [esi + 0x560]
push dword [eax]
push dword [ebp]
call fcn.00581a70
add esp, 8
test eax, eax
jne 0x579fbc
mov eax, dword [esi + 0x560]
push dword [eax + 0x40]
call fcn.0057c6e0
mov ecx, dword [edi + 0x560]
add esp, 4
cmp eax, dword [ecx + 0x40]
jne 0x57a1c3
cmp byte [esi + 0x52f], 0
je 0x57a1c3
cmp byte [edi + 0x518], 0
je 0x579fe1
push dword [esi + 0x31c]
push dword [edi + 0x31c]
call fcn.00581a70
add esp, 8
test eax, eax
je 0x57a1c3
cmp byte [edi + 0x519], 0
je 0x579ffc
mov eax, dword [edi + 0x36c]
cmp eax, dword [esi + 0x36c]
jne 0x57a1c3
push dword [esi + 0x304]
push dword [edi + 0x304]
call fcn.00581a70
add esp, 8
test eax, eax
je 0x57a1c3
mov eax, dword [edi + 0x368]
cmp eax, dword [esi + 0x368]
jne 0x57a1c3
mov eax, dword [edi + 0x560]
test byte [eax + 0x44], 1
je 0x57a067
lea eax, [esi + 0x4ac]
push eax
lea eax, [edi + 0x4ac]
push eax
call fcn.00578f50
add esp, 8
test al, al
je 0x57a1c3
cmp dword [esi + 0x468], 2
je 0x57a067
mov byte [esp + 0x12], 1
jmp 0x57a1c3
mov bh, byte [esp + 0x13]
test bh, bh
je 0x57a100
mov ecx, dword [esi + 0x3d8]
mov eax, dword [edi + 0x3d8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x57a0a0
test dl, dl
je 0x57a09c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x57a0a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x57a080
xor eax, eax
jmp 0x57a0a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x57a0de
mov ecx, dword [esi + 0x3dc]
mov eax, dword [edi + 0x3dc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x57a0d5
test dl, dl
je 0x57a0d1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x57a0d5
add eax, 2
add ecx, 2
test dl, dl
jne 0x57a0b5
xor eax, eax
jmp 0x57a0da
sbb eax, eax
or eax, 1
test eax, eax
je 0x57a10d
cmp dword [esi + 0x5dc], 0
mov ebx, dword [esp + 0x2c]
mov dl, byte [esp + 0x30]
mov ebp, dword [esp + 0x14]
jne 0x57a1cf
mov dword [esp + 0x18], esi
jmp 0x57a1cf
cmp dword [esi + 0x5dc], 0
jne 0x57a1c3
mov al, byte [esp + 0x11]
test al, al
je 0x57a1dd
mov eax, dword [esi + 0x35c]
test eax, eax
je 0x57a1c3
mov edx, dword [esi + 0x360]
test edx, edx
je 0x57a1c3
mov ecx, dword [edi + 0x35c]
nop dword [eax + eax]
mov bl, byte [ecx]
cmp bl, byte [eax]
jne 0x57a160
test bl, bl
je 0x57a15c
mov bl, byte [ecx + 1]
cmp bl, byte [eax + 1]
jne 0x57a160
add ecx, 2
add eax, 2
test bl, bl
jne 0x57a140
xor eax, eax
jmp 0x57a165
sbb eax, eax
or eax, 1
test eax, eax
jne 0x57a1c3
mov eax, dword [edi + 0x360]
nop
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x57a190
test cl, cl
je 0x57a18c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x57a190
add eax, 2
add edx, 2
test cl, cl
jne 0x57a170
xor eax, eax
jmp 0x57a195
sbb eax, eax
or eax, 1
test eax, eax
jne 0x57a1c3
mov al, byte [esp + 0x11]
test bh, bh
jne 0x57a1a5
test al, al
je 0x57a1e8
mov dword [esp + 0x18], esi
test bh, bh
je 0x57a1b6
cmp dword [esi + 0x5dc], 0
jne 0x57a20b
test al, al
je 0x57a1c3
cmp dword [esi + 0x5e0], 0
jne 0x57a20b
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x14]
mov dl, byte [esp + 0x30]
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x579c00
jmp 0x57a216
cmp dword [esi + 0x5e0], 0
jne 0x57a1c3
jmp 0x57a19d
mov al, byte [esp + 0x30]
mov ebx, dword [esp + 0x2c]
test al, al
je 0x57a21a
cmp dword [esp + 0x20], 0
je 0x57a21a
push str.Multiplexed_connection_found__n
push ebx
call fcn.0057f050
add esp, 8
jmp 0x57a21a
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov byte [eax], 1
mov esi, dword [esp + 0x18]
test esi, esi
je 0x57a24e
push esi
push ebx
mov dword [esi], ebx
call fcn.0056f8a0
add esp, 8
cmp dword [ebx + 0x80], 0
je 0x57a23e
push 5
push ebx
call fcn.00582840
add esp, 8
mov eax, dword [esp + 0x34]
pop edi
mov dword [eax], esi
mov al, 1
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp dword [ebx + 0x80], 0
je 0x57a262
push 5
push ebx
call fcn.00582840
add esp, 8
cmp byte [esp + 0x12], 0
je 0x57a287
cmp byte [ebx + 0xb55], 0
je 0x57a287
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set_n
push ebx
call fcn.0057f050
mov eax, dword [esp + 0x44]
add esp, 8
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x18
ret