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

Disassembly:
sub esp, 0x38
mov eax, dword [0x100b93c0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x20], ebx
push dword [esi + 0x7c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call fcn.1004fbc0
push dword [esi + 0x7c]
mov dword [esp + 0x34], eax
call fcn.1004fbe0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xcc4], 0
mov dword [esp + 0x30], eax
jne 0x1005aa2a
mov edi, 3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1009ca62
add esp, 0x38
ret
push esi
call fcn.1005a5a0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1005aa53
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1009ca62
add esp, 0x38
ret
push ebp
push esi
mov dword [ebx], ebp
call fcn.1005c5c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1005b1d8
mov eax, dword [esi + 0x5f4]
test eax, eax
je 0x1005aa87
push eax
call dword [0x100b900c]
add esp, 4
mov dword [ebp + 0xcc], eax
test eax, eax
je 0x1005aa39
mov eax, dword [esi + 0x5dc]
test eax, eax
je 0x1005aaa5
push eax
call dword [0x100b900c]
add esp, 4
mov dword [ebp + 0xd0], eax
test eax, eax
je 0x1005aa39
mov eax, dword [esi + 0x5e0]
test eax, eax
je 0x1005aad3
push eax
call dword [0x100b900c]
add esp, 4
mov dword [ebp + 0x40c], eax
test eax, eax
je 0x1005aa39
mov al, byte [esi + 0x6d7]
mov byte [ebp + 0x1c3], al
push ebp
push esi
call fcn.1005b360
mov edi, eax
add esp, 8
test edi, edi
jne 0x1005b1d8
mov eax, dword [ebp + 0x1cc]
test byte [eax + 0x4c], 1
je 0x1005ab03
cmp byte [ebp + 0x1a8], 0
je 0x1005ab03
mov byte [ebp + 0x1ab], 1
movzx eax, word [esi + 0x160]
test ax, ax
je 0x1005ab4f
cmp byte [esi + 0xd78], 0
je 0x1005ab4f
push eax
push 0x100b3854
mov dword [ebp + 0x424], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.1004db10
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [esi + 0xca0]
call fcn.10085c00
add esp, 0x20
test eax, eax
jne 0x1005aa39
push ebp
push esi
call fcn.1005b990
mov edi, eax
add esp, 8
test edi, edi
jne 0x1005b1d8
mov eax, dword [ebp + 0x1c8]
mov ecx, str.anonymous
mov ebx, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x1005ab81
cmp dword [esi + 0xd60], edi
je 0x1005ab88
mov ecx, 0x100ae130
mov ebx, ecx
cmp dword [ebp + 0xc0], edi
jne 0x1005aba8
push ecx
call dword [0x100b900c]
add esp, 4
mov dword [ebp + 0xc0], eax
test eax, eax
je 0x1005aa39
cmp dword [ebp + 0xc4], edi
jne 0x1005abca
push ebx
call dword [0x100b900c]
add esp, 4
mov dword [ebp + 0xc4], eax
test eax, eax
mov ecx, 0x1b
cmove edi, ecx
test edi, edi
jne 0x1005b1d8
push dword [esi + 0x3a8]
push ebp
push esi
call fcn.1005bdf0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1005b1d8
cmp byte [ebp + 0x1a8], al
je 0x1005ac08
lea eax, [ebp + 0x70]
push eax
call fcn.10088770
add esp, 4
test eax, eax
jne 0x1005b1da
cmp byte [ebp + 0x1a9], 0
je 0x1005ac25
lea eax, [ebp + 0x50]
push eax
call fcn.10088770
add esp, 4
test eax, eax
jne 0x1005b1da
cmp byte [ebp + 0x1b1], 0
je 0x1005ac63
lea eax, [ebp + 0x40]
push eax
call fcn.10088770
add esp, 4
test eax, eax
jne 0x1005b1da
cmp byte [ebp + 0x1b1], al
je 0x1005ac63
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.1004d8d0
add esp, 8
test eax, eax
je 0x1005ac63
mov byte [ebp + 0x1b1], 0
mov cl, byte [ebp + 0x1b2]
test cl, cl
je 0x1005ac84
mov eax, dword [ebp + 0x428]
cmp eax, dword [ebp + 0x424]
jne 0x1005ac84
mov byte [ebp + 0x1b2], 0
xor cl, cl
cmp byte [ebp + 0x1b1], 0
jne 0x1005ac91
test cl, cl
je 0x1005aca1
cmp byte [ebp + 0x1a8], 0
je 0x1005aca1
mov byte [ebp + 0x1ab], 1
mov eax, dword [ebp + 0x1c8]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x1005acc9
push ebp
push esi
call edx
mov edi, eax
add esp, 8
test edi, edi
jne 0x1005b1d8
mov eax, dword [ebp + 0x1c8]
mov ecx, eax
cmp dword [ebp + 0x420], 0
jge 0x1005acdb
mov eax, dword [eax + 0x40]
mov dword [ebp + 0x420], eax
test byte [ecx + 0x4c], 0x10
je 0x1005ad8c
push 0xffffffffffffffff
push 0
push ebp
push esi
call fcn.1005f910
mov eax, dword [ebp + 0x1c8]
lea ecx, [esp + 0x23]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x1005ad6d
push ebp
push esi
call fcn.1004f680
push esi
call fcn.10055d10
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1005b1d8
push esi
call fcn.1005cfd0
mov edi, eax
add esp, 4
test edi, edi
je 0x1005ad5a
mov eax, dword [ebp + 0x1c8]
push 0
push edi
push esi
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1009ca62
add esp, 0x38
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.10064190
add esp, 0x18
push ebp
push esi
call fcn.10059f10
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1009ca62
add esp, 0x38
ret
mov dword [ebp + 0x110], 0x1005df50
mov dword [ebp + 0x118], fcn.1005dfa0
mov dword [ebp + 0x114], 0x1005df50
mov dword [ebp + 0x11c], fcn.1005dfa0
mov al, byte [esi + 0x6d0]
push esi
mov byte [ebp + 0x1c0], al
call fcn.10058040
mov edi, eax
add esp, 4
test edi, edi
jne 0x1005b1d8
lea eax, [esp + 0x34]
push eax
call fcn.10054d40
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
cmp dword [esi + 0x84], edi
je 0x1005adfd
push 2
push 5
push esi
call fcn.10062b60
add esp, 0xc
mov ecx, dword [esi + 0x880]
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.10054df0
add esp, 0x20
mov ebx, eax
cmp dword [esi + 0x84], 0
mov edi, edx
je 0x1005ae3c
push 5
push esi
call fcn.10062ba0
add esp, 8
test edi, edi
jl 0x1005aeee
jg 0x1005ae52
cmp ebx, 0x3e8
jb 0x1005aeee
push 0x1005a7c0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
push eax
push dword [esi + 0x880]
mov dword [esp + 0x34], 0
push esi
call fcn.10056310
add esp, 0x10
test al, al
je 0x1005aeb5
nop dword [eax + eax]
push 1
push dword [esp + 0x2c]
push esi
call fcn.10056430
push 1
push dword [esp + 0x38]
push esi
call fcn.10059bf0
push 0x1005a7c0
lea eax, [esp + 0x40]
push eax
push dword [esi + 0x880]
push esi
call fcn.10056310
add esp, 0x28
test al, al
jne 0x1005ae80
cmp dword [esi + 0x84], 0
je 0x1005aecb
push 2
push 5
push esi
call fcn.10062b60
add esp, 0xc
mov eax, dword [esi + 0x880]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x1005aeee
push 5
push esi
call fcn.10062ba0
add esp, 8
cmp byte [esi + 0x6c6], 0
je 0x1005af04
cmp dword [esi + 0x93c], 0
je 0x1005b128
cmp byte [esi + 0x6a5], 0
jne 0x1005b128
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
call fcn.10058e20
add esp, 0x14
test al, al
je 0x1005b128
cmp dword [ebp + 0xc0], 0
mov ebx, dword [esp + 0x14]
je 0x1005af9a
push dword [ebx + 0xc0]
call dword [0x100b9004]
push dword [ebx + 0xc4]
mov dword [ebx + 0xc0], 0
call dword [0x100b9004]
mov dword [ebx + 0xc4], 0
add esp, 8
mov eax, dword [ebp + 0xc0]
mov dword [ebx + 0xc0], eax
mov eax, dword [ebp + 0xc4]
mov dword [ebx + 0xc4], eax
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 0
mov al, byte [ebp + 0x1aa]
mov byte [ebx + 0x1aa], al
test al, al
je 0x1005b043
push dword [ebx + 0x88]
call dword [0x100b9004]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x100b9004]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x100b9004]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x100b9004]
mov dword [ebx + 0x6c], 0
add esp, 0x10
mov eax, dword [ebp + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [ebp + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp + 0x8c]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebx + 0x6c], eax
mov dword [ebp + 0x88], 0
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x8c], 0
mov dword [ebp + 0x6c], 0
lea edi, [ebx + 0x28]
push edi
call fcn.10088610
add ebx, 0x40
push ebx
call fcn.10088610
push dword [edi]
call dword [0x100b9004]
push dword [ebx]
mov dword [edi], 0
call dword [0x100b9004]
mov dword [ebx], 0
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [edi], xmm0
mov edi, dword [esp + 0x24]
movups xmm0, xmmword [ebp + 0x40]
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
movups xmmword [ebx], xmm0
mov eax, dword [ebp + 0x428]
mov dword [ebp + 0x40], 0
push dword [edi + 0x38]
mov dword [edi + 0x428], eax
mov eax, dword [ebp + 0x424]
mov dword [edi + 0x424], eax
call dword [0x100b9004]
mov dword [edi + 0x38], 0
mov eax, dword [ebp + 0x38]
mov dword [edi + 0x38], eax
push ebp
mov dword [ebp + 0x38], 0
push esi
mov byte [edi + 0x1af], 1
call fcn.1005a7f0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [eax], edi
cmp dword [edi + 0x58], 0
je 0x1005b0ef
mov eax, dword [edi + 0x5c]
jmp 0x1005b0fd
cmp dword [edi + 0x78], 0
je 0x1005b0fa
mov eax, dword [edi + 0x7c]
jmp 0x1005b0fd
mov eax, dword [edi + 0x34]
cmp byte [edi + 0x1ad], 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 esi
call fcn.1005e3b0
add esp, 0x10
mov ebp, edi
jmp 0x1005b2ba
mov eax, dword [ebp + 0x1c8]
test dword [eax + 0x4c], 0x100
je 0x1005b147
cmp byte [esi + 0x6d1], 0
je 0x1005b147
mov byte [ebp + 0x1c1], 1
cmp byte [esp + 0x13], 0
jne 0x1005b1b4
push dword [esi + 0x880]
push ebp
push esi
call fcn.10056260
mov ebx, dword [esp + 0x38]
add esp, 0xc
test ebx, ebx
je 0x1005b1ed
test eax, eax
je 0x1005b1ed
cmp dword [eax + 4], ebx
jb 0x1005b1ed
push eax
push esi
call fcn.10056070
add esp, 8
mov edi, eax
cmp dword [esi + 0x84], 0
je 0x1005b193
push 5
push esi
call fcn.10062ba0
add esp, 8
test edi, edi
je 0x1005b1a5
push 0
push edi
push esi
call fcn.10059bf0
add esp, 0xc
jmp 0x1005b201
push ebx
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.1005e3b0
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.1005e3b0
push ebp
push esi
call fcn.1005a7f0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov edi, 0x59
mov dword [eax], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1009ca62
add esp, 0x38
ret
cmp dword [esi + 0x84], 0
je 0x1005b201
push 5
push esi
call fcn.10062ba0
add esp, 8
mov edi, dword [esp + 0x30]
test edi, edi
je 0x1005b233
push esi
call fcn.10056720
add esp, 4
cmp eax, edi
jb 0x1005b233
push esi
call fcn.10056120
add esp, 4
test eax, eax
je 0x1005b31a
push 0
push eax
push esi
call fcn.10059bf0
add esp, 0xc
push ebp
push esi
call fcn.10057ea0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1005b1d8
push ebp
push esi
call fcn.1004f680
push esi
call fcn.10055d10
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1005b1d8
test byte [esi + 0x974], 0x28
je 0x1005b289
cmp byte [esi + 0x97c], al
je 0x1005b289
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.1005e3b0
add esp, 8
mov dword [esi + 0x974], edi
mov byte [esi + 0x97c], 0
test byte [esi + 0x984], 0x28
je 0x1005b2ba
cmp byte [esi + 0x98c], 0
je 0x1005b2ba
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.1005e3b0
add esp, 8
mov dword [esi + 0x984], 0
mov byte [esi + 0x98c], 0
push ebp
push esi
call fcn.10059f10
push esi
call fcn.1005cfd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1005b1d8
cmp byte [ebp + 0x1af], 0
mov eax, dword [esi + 0x174]
mov dword [ebp + 0x22c], eax
mov eax, dword [esi + 0x1c4]
mov dword [ebp + 0x230], eax
mov eax, dword [esp + 0x1c]
je 0x1005b32d
push esi
mov byte [eax], 0
call fcn.1005dc80
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1009ca62
add esp, 0x38
ret
push str.No_connections_available_in_cache
push esi
call fcn.1005e3b0
add esp, 8
jmp 0x1005b1b4
push eax
push ebp
push esi
call fcn.1005cd10
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1005b1d8
push esi
call fcn.1005dc80
mov ecx, dword [esp + 0x48]
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1009ca62
add esp, 0x38
ret