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

Disassembly:
sub esp, 0x38
mov eax, dword [0x6ec7c0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
push dword [ebx + 0x7c]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call fcn.00591310
push dword [ebx + 0x7c]
mov dword [esp + 0x34], eax
call fcn.00591330
mov byte [edi], 0
add esp, 8
mov dword [esi], 0
cmp dword [ebx + 0xcb4], 0
mov dword [esp + 0x30], eax
jne 0x5a3a1a
mov esi, 3
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00604ed9
add esp, 0x38
ret
push ebx
call fcn.005a3590
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x5a3a43
mov esi, 0x1b
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00604ed9
add esp, 0x38
ret
push ebp
push ebx
mov dword [esi], ebp
call fcn.005a55a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5a41c8
mov eax, dword [ebx + 0x618]
test eax, eax
je 0x5a3a77
push eax
call dword [0x6ec2d4]
add esp, 4
mov dword [ebp + 0x164], eax
test eax, eax
je 0x5a3a29
mov eax, dword [ebx + 0x600]
test eax, eax
je 0x5a3a95
push eax
call dword [0x6ec2d4]
add esp, 4
mov dword [ebp + 0x168], eax
test eax, eax
je 0x5a3a29
mov eax, dword [ebx + 0x604]
test eax, eax
je 0x5a3ac3
push eax
call dword [0x6ec2d4]
add esp, 4
mov dword [ebp + 0x39c], eax
test eax, eax
je 0x5a3a29
mov al, byte [ebx + 0x6fa]
mov byte [ebp + 0x26a], al
push ebp
push ebx
call fcn.005a4340
mov esi, eax
add esp, 8
test esi, esi
jne 0x5a41c8
mov eax, dword [ebp + 0x274]
test byte [eax + 0x4c], 1
je 0x5a3af3
cmp byte [ebp + 0x250], 0
je 0x5a3af3
mov byte [ebp + 0x253], 1
movzx eax, word [ebx + 0x158]
test ax, ax
je 0x5a3b3f
cmp byte [ebx + 0xd6c], 0
je 0x5a3b3f
push eax
push 0x677dc8
mov dword [ebp + 0x3ac], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.005aeda0
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [ebx + 0xc90]
call fcn.005e8160
add esp, 0x20
test eax, eax
jne 0x5a3a29
push ebp
push ebx
call fcn.005a4970
mov esi, eax
add esp, 8
test esi, esi
jne 0x5a41c8
mov eax, dword [ebp + 0x270]
mov ecx, str.anonymous
mov edi, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x5a3b71
cmp dword [ebx + 0xd54], esi
je 0x5a3b78
mov ecx, 0x6432a6
mov edi, ecx
cmp dword [ebp + 0x158], esi
jne 0x5a3b98
push ecx
call dword [0x6ec2d4]
add esp, 4
mov dword [ebp + 0x158], eax
test eax, eax
je 0x5a3a29
cmp dword [ebp + 0x15c], esi
jne 0x5a3bba
push edi
call dword [0x6ec2d4]
add esp, 4
mov dword [ebp + 0x15c], eax
test eax, eax
mov ecx, 0x1b
cmove esi, ecx
test esi, esi
jne 0x5a41c8
push dword [ebx + 0x3a0]
push ebp
push ebx
call fcn.005a4dd0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5a41c8
cmp byte [ebp + 0x250], al
je 0x5a3bf8
lea eax, [ebp + 0x70]
push eax
call fcn.005eaaa0
add esp, 4
test eax, eax
jne 0x5a41ca
cmp byte [ebp + 0x251], 0
je 0x5a3c15
lea eax, [ebp + 0x50]
push eax
call fcn.005eaaa0
add esp, 4
test eax, eax
jne 0x5a41ca
cmp byte [ebp + 0x259], 0
je 0x5a3c53
lea eax, [ebp + 0x40]
push eax
call fcn.005eaaa0
add esp, 4
test eax, eax
jne 0x5a41ca
cmp byte [ebp + 0x259], al
je 0x5a3c53
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.005ac9a0
add esp, 8
test eax, eax
je 0x5a3c53
mov byte [ebp + 0x259], 0
mov cl, byte [ebp + 0x25a]
test cl, cl
je 0x5a3c74
mov eax, dword [ebp + 0x3b0]
cmp eax, dword [ebp + 0x3ac]
jne 0x5a3c74
mov byte [ebp + 0x25a], 0
xor cl, cl
cmp byte [ebp + 0x259], 0
jne 0x5a3c81
test cl, cl
je 0x5a3c91
cmp byte [ebp + 0x250], 0
je 0x5a3c91
mov byte [ebp + 0x253], 1
mov eax, dword [ebp + 0x270]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x5a3cb9
push ebp
push ebx
call edx
mov esi, eax
add esp, 8
test esi, esi
jne 0x5a41c8
mov eax, dword [ebp + 0x270]
mov ecx, eax
cmp dword [ebp + 0xec], 0
jge 0x5a3ccb
mov eax, dword [eax + 0x40]
mov dword [ebp + 0xec], eax
test byte [ecx + 0x4c], 0x10
je 0x5a3d7a
push 0
push ebp
push ebx
call fcn.005a9af0
mov eax, dword [ebp + 0x270]
lea ecx, [esp + 0x1f]
push ecx
push ebx
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x5a3d5b
push ebp
push ebx
call fcn.00590dc0
push ebx
call fcn.0059edf0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5a41c8
push ebx
call fcn.005a5fc0
mov esi, eax
add esp, 4
test esi, esi
je 0x5a3d48
mov eax, dword [ebp + 0x270]
push 0
push esi
push ebx
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00604ed9
add esp, 0x38
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.005ae820
add esp, 0x18
push ebp
push ebx
call fcn.005a2ef0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00604ed9
add esp, 0x38
ret
mov dword [ebp + 0x1a8], 0x5a6650
mov dword [ebp + 0x1b0], 0x5a66b0
mov dword [ebp + 0x1ac], 0x5a6650
mov dword [ebp + 0x1b4], 0x5a66b0
mov al, byte [ebx + 0x6f3]
push ebx
mov byte [ebp + 0x267], al
call fcn.005a10a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x5a41c8
lea eax, [esp + 0x34]
push eax
call fcn.00596600
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
cmp dword [ebx + 0x84], esi
je 0x5a3deb
push 2
push 5
push ebx
call fcn.005ad7f0
add esp, 0xc
mov ecx, dword [ebx + 0x8a8]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x54]
movups xmmword [eax], xmm0
call fcn.005966b0
add esp, 0x20
mov edi, eax
cmp dword [ebx + 0x84], 0
mov esi, edx
je 0x5a3e2a
push 5
push ebx
call fcn.005ad830
add esp, 8
test esi, esi
jl 0x5a3ede
jg 0x5a3e40
cmp edi, 0x3e8
jb 0x5a3ede
push 0x5a37b0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebx
push eax
push dword [ebx + 0x8a8]
mov dword [esp + 0x34], 0
push ebx
call fcn.0059f3a0
add esp, 0x10
test al, al
je 0x5a3ea5
nop dword [eax]
push 1
push dword [esp + 0x2c]
push ebx
call fcn.0059f4c0
push 1
push dword [esp + 0x38]
push ebx
call fcn.005a2c50
push 0x5a37b0
lea eax, [esp + 0x40]
push eax
push dword [ebx + 0x8a8]
push ebx
call fcn.0059f3a0
add esp, 0x28
test al, al
jne 0x5a3e70
cmp dword [ebx + 0x84], 0
je 0x5a3ebb
push 2
push 5
push ebx
call fcn.005ad7f0
add esp, 0xc
mov eax, dword [ebx + 0x8a8]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x30], xmm0
cmp dword [ebx + 0x84], 0
je 0x5a3ede
push 5
push ebx
call fcn.005ad830
add esp, 8
cmp byte [ebx + 0x6ea], 0
je 0x5a3ef4
cmp dword [ebx + 0x910], 0
je 0x5a4118
cmp byte [ebx + 0x6c9], 0
jne 0x5a4118
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call fcn.005a1f20
add esp, 0x14
test al, al
je 0x5a4118
cmp dword [ebp + 0x158], 0
mov edi, dword [esp + 0x14]
je 0x5a3f8a
push dword [edi + 0x158]
call dword [0x6ec2cc]
push dword [edi + 0x15c]
mov dword [edi + 0x158], 0
call dword [0x6ec2cc]
mov dword [edi + 0x15c], 0
add esp, 8
mov eax, dword [ebp + 0x158]
mov dword [edi + 0x158], eax
mov eax, dword [ebp + 0x15c]
mov dword [edi + 0x15c], eax
mov dword [ebp + 0x158], 0
mov dword [ebp + 0x15c], 0
mov al, byte [ebp + 0x252]
mov byte [edi + 0x252], al
test al, al
je 0x5a4033
push dword [edi + 0x88]
call dword [0x6ec2cc]
push dword [edi + 0x68]
mov dword [edi + 0x88], 0
call dword [0x6ec2cc]
push dword [edi + 0x8c]
mov dword [edi + 0x68], 0
call dword [0x6ec2cc]
push dword [edi + 0x6c]
mov dword [edi + 0x8c], 0
call dword [0x6ec2cc]
mov dword [edi + 0x6c], 0
add esp, 0x10
mov eax, dword [ebp + 0x88]
mov dword [edi + 0x88], eax
mov eax, dword [ebp + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [ebp + 0x8c]
mov dword [edi + 0x8c], eax
mov eax, dword [ebp + 0x6c]
mov dword [edi + 0x6c], eax
mov dword [ebp + 0x88], 0
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x8c], 0
mov dword [ebp + 0x6c], 0
lea esi, [edi + 0x28]
push esi
call fcn.005ea940
add edi, 0x40
push edi
call fcn.005ea940
push dword [esi]
call dword [0x6ec2cc]
push dword [edi]
mov dword [esi], 0
call dword [0x6ec2cc]
mov dword [edi], 0
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [esi], xmm0
mov esi, dword [esp + 0x24]
movups xmm0, xmmword [ebp + 0x40]
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
movups xmmword [edi], xmm0
mov eax, dword [ebp + 0x3b0]
mov dword [ebp + 0x40], 0
push dword [esi + 0x38]
mov dword [esi + 0x3b0], eax
mov eax, dword [ebp + 0x3ac]
mov dword [esi + 0x3ac], eax
call dword [0x6ec2cc]
mov dword [esi + 0x38], 0
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x38], eax
push ebp
mov dword [ebp + 0x38], 0
push ebx
mov byte [esi + 0x257], 1
call fcn.005a37e0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [eax], esi
cmp dword [esi + 0x58], 0
je 0x5a40df
mov eax, dword [esi + 0x5c]
jmp 0x5a40ed
cmp dword [esi + 0x78], 0
je 0x5a40ea
mov eax, dword [esi + 0x7c]
jmp 0x5a40ed
mov eax, dword [esi + 0x34]
cmp byte [esi + 0x255], 0
mov ecx, str.host
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push str.Re_using_existing_connection_with__s__s
push ebx
call fcn.005a7500
add esp, 0x10
mov ebp, esi
jmp 0x5a42aa
mov eax, dword [ebp + 0x270]
test dword [eax + 0x4c], 0x100
je 0x5a4137
cmp byte [ebx + 0x6f4], 0
je 0x5a4137
mov byte [ebp + 0x268], 1
cmp byte [esp + 0x13], 0
jne 0x5a41a4
push dword [ebx + 0x8a8]
push ebp
push ebx
call fcn.0059f2f0
mov edi, dword [esp + 0x38]
add esp, 0xc
test edi, edi
je 0x5a41dd
test eax, eax
je 0x5a41dd
cmp dword [eax + 4], edi
jb 0x5a41dd
push eax
push ebx
call fcn.0059f100
add esp, 8
mov esi, eax
cmp dword [ebx + 0x84], 0
je 0x5a4183
push 5
push ebx
call fcn.005ad830
add esp, 8
test esi, esi
je 0x5a4195
push 0
push esi
push ebx
call fcn.005a2c50
add esp, 0xc
jmp 0x5a41f1
push edi
push str.No_more_connections_allowed_to_host:__zu
push ebx
call fcn.005a7500
add esp, 0xc
push str.No_connections_available.
push ebx
call fcn.005a7500
push ebp
push ebx
call fcn.005a37e0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov esi, 0x59
mov dword [eax], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00604ed9
add esp, 0x38
ret
cmp dword [ebx + 0x84], 0
je 0x5a41f1
push 5
push ebx
call fcn.005ad830
add esp, 8
mov esi, dword [esp + 0x30]
test esi, esi
je 0x5a4223
push ebx
call fcn.0059f790
add esp, 4
cmp eax, esi
jb 0x5a4223
push ebx
call fcn.0059f1b0
add esp, 4
test eax, eax
je 0x5a42f2
push 0
push eax
push ebx
call fcn.005a2c50
add esp, 0xc
push ebp
push ebx
call fcn.005a0f00
mov esi, eax
add esp, 8
test esi, esi
jne 0x5a41c8
push ebp
push ebx
call fcn.00590dc0
push ebx
call fcn.0059edf0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5a41c8
test byte [ebx + 0x960], 0x28
je 0x5a4279
cmp byte [ebx + 0x968], al
je 0x5a4279
push str.NTLM_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.005a7500
add esp, 8
mov dword [ebx + 0x960], esi
mov byte [ebx + 0x968], 0
test byte [ebx + 0x970], 0x28
je 0x5a42aa
cmp byte [ebx + 0x978], 0
je 0x5a42aa
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push ebx
call fcn.005a7500
add esp, 8
mov dword [ebx + 0x970], 0
mov byte [ebx + 0x978], 0
push ebp
push ebx
call fcn.005a2ef0
push ebx
call fcn.005a5fc0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5a41c8
cmp byte [ebp + 0x257], 0
mov eax, dword [esp + 0x1c]
je 0x5a4305
push ebx
mov byte [eax], 0
call fcn.005a6db0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00604ed9
add esp, 0x38
ret
push str.No_connections_available_in_cache
push ebx
call fcn.005a7500
add esp, 8
jmp 0x5a41a4
push eax
push ebp
push ebx
call fcn.005a5cf0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x5a41c8
push ebx
call fcn.005a6db0
mov ecx, dword [esp + 0x48]
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00604ed9
add esp, 0x38
ret