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

Disassembly:
sub esp, 0x34
mov eax, dword [0x699280]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x1c], ebx
push dword [esi + 0x7c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x16], 0
call fcn.0058cc20
push dword [esi + 0x7c]
mov dword [esp + 0x30], eax
call fcn.0058cc40
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xcc4], 0
mov dword [esp + 0x2c], eax
jne 0x599c1a
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005dffa1
add esp, 0x34
ret
push esi
call fcn.005997d0
mov edi, eax
add esp, 4
test edi, edi
jne 0x599c43
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005dffa1
add esp, 0x34
ret
push edi
push esi
mov dword [ebx], edi
call fcn.0059b7a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x59a3b8
mov eax, dword [esi + 0x5f4]
test eax, eax
je 0x599c77
push eax
call dword [0x698e9c]
add esp, 4
mov dword [edi + 0xcc], eax
test eax, eax
je 0x599c29
mov eax, dword [esi + 0x5dc]
test eax, eax
je 0x599c95
push eax
call dword [0x698e9c]
add esp, 4
mov dword [edi + 0xd0], eax
test eax, eax
je 0x599c29
mov eax, dword [esi + 0x5e0]
test eax, eax
je 0x599cc3
push eax
call dword [0x698e9c]
add esp, 4
mov dword [edi + 0x40c], eax
test eax, eax
je 0x599c29
mov al, byte [esi + 0x6d7]
mov byte [edi + 0x1c3], al
push edi
push esi
call fcn.0059a540
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x59a3b8
mov eax, dword [edi + 0x1cc]
test byte [eax + 0x4c], 1
je 0x599cf2
cmp byte [edi + 0x1a8], bl
je 0x599cf2
mov byte [edi + 0x1ab], 1
movzx eax, word [esi + 0x160]
test ax, ax
je 0x599d3e
cmp byte [esi + 0xd78], 0
je 0x599d3e
push eax
push 0x622228
mov dword [edi + 0x424], eax
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.005a1b90
push 0
lea eax, [esp + 0x44]
push eax
push 6
push dword [esi + 0xca0]
call fcn.005c6520
add esp, 0x20
test eax, eax
jne 0x599c29
push edi
push esi
call fcn.0059ab70
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x59a3b8
mov eax, dword [edi + 0x1c8]
mov ecx, str.anonymous
mov ebp, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x599d70
cmp dword [esi + 0xd60], ebx
je 0x599d77
mov ecx, 0x605470
mov ebp, ecx
cmp dword [edi + 0xc0], ebx
jne 0x599d97
push ecx
call dword [0x698e9c]
add esp, 4
mov dword [edi + 0xc0], eax
test eax, eax
je 0x599c29
cmp dword [edi + 0xc4], ebx
jne 0x599db9
push ebp
call dword [0x698e9c]
add esp, 4
mov dword [edi + 0xc4], eax
test eax, eax
mov ecx, 0x1b
cmove ebx, ecx
test ebx, ebx
jne 0x59a3b8
push dword [esi + 0x3a8]
push edi
push esi
call fcn.0059afd0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x59a3b8
cmp byte [edi + 0x1a8], al
je 0x599df7
lea eax, [edi + 0x70]
push eax
call fcn.005c9200
add esp, 4
test eax, eax
jne 0x59a3ba
cmp byte [edi + 0x1a9], 0
je 0x599e14
lea eax, [edi + 0x50]
push eax
call fcn.005c9200
add esp, 4
test eax, eax
jne 0x59a3ba
cmp byte [edi + 0x1b1], 0
je 0x599e52
lea eax, [edi + 0x40]
push eax
call fcn.005c9200
add esp, 4
test eax, eax
jne 0x59a3ba
cmp byte [edi + 0x1b1], al
je 0x599e52
push dword [edi + 0x30]
push dword [edi + 0x48]
call fcn.005a32d0
add esp, 8
test eax, eax
je 0x599e52
mov byte [edi + 0x1b1], 0
mov cl, byte [edi + 0x1b2]
test cl, cl
je 0x599e73
mov eax, dword [edi + 0x428]
cmp eax, dword [edi + 0x424]
jne 0x599e73
mov byte [edi + 0x1b2], 0
xor cl, cl
cmp byte [edi + 0x1b1], 0
jne 0x599e80
test cl, cl
je 0x599e90
cmp byte [edi + 0x1a8], 0
je 0x599e90
mov byte [edi + 0x1ab], 1
mov eax, dword [edi + 0x1c8]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x599eb8
push edi
push esi
call edx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x59a3b8
mov eax, dword [edi + 0x1c8]
mov ecx, eax
cmp dword [edi + 0x420], 0
jge 0x599eca
mov eax, dword [eax + 0x40]
mov dword [edi + 0x420], eax
test byte [ecx + 0x4c], 0x10
je 0x599f7b
push 0xffffffffffffffff
push 0
push edi
push esi
call fcn.0059eaf0
mov eax, dword [edi + 0x1c8]
lea ecx, [esp + 0x22]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x599f5c
push edi
push esi
call fcn.0058c6e0
push esi
call fcn.00594f50
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x59a3b8
push esi
call fcn.0059c1b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x599f49
mov eax, dword [edi + 0x1c8]
push 0
push ebx
push esi
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005dffa1
add esp, 0x34
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.005a54b0
add esp, 0x18
push edi
push esi
call fcn.00599140
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005dffa1
add esp, 0x34
ret
mov dword [edi + 0x110], 0x59d130
mov dword [edi + 0x118], fcn.0059d180
mov dword [edi + 0x114], 0x59d130
mov dword [edi + 0x11c], fcn.0059d180
mov al, byte [esi + 0x6d0]
push esi
mov byte [edi + 0x1c0], al
call fcn.00597270
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x59a3b8
lea eax, [esp + 0x30]
push eax
call fcn.00591da0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
cmp dword [esi + 0x84], ebx
je 0x599fec
push 2
push 5
push esi
call fcn.005a4120
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 + 0x50]
movups xmmword [eax], xmm0
call fcn.00591e50
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x84], 0
mov ebx, edx
je 0x59a02b
push 5
push esi
call fcn.005a4160
add esp, 8
test ebx, ebx
jl 0x59a0de
jg 0x59a041
cmp ebp, 0x3e8
jb 0x59a0de
push 0x5999f0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push dword [esi + 0x880]
mov dword [esp + 0x30], 0
push esi
call fcn.00595550
add esp, 0x10
test al, al
je 0x59a0a5
nop word [eax + eax]
push 1
push dword [esp + 0x28]
push esi
call fcn.00595670
push 1
push dword [esp + 0x34]
push esi
call fcn.00598e20
push 0x5999f0
lea eax, [esp + 0x3c]
push eax
push dword [esi + 0x880]
push esi
call fcn.00595550
add esp, 0x28
test al, al
jne 0x59a070
cmp dword [esi + 0x84], 0
je 0x59a0bb
push 2
push 5
push esi
call fcn.005a4120
add esp, 0xc
mov eax, dword [esi + 0x880]
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x59a0de
push 5
push esi
call fcn.005a4160
add esp, 8
cmp byte [esi + 0x6c6], 0
je 0x59a0f4
cmp dword [esi + 0x93c], 0
je 0x59a308
cmp byte [esi + 0x6a5], 0
jne 0x59a308
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call fcn.00598050
add esp, 0x14
test al, al
je 0x59a308
cmp dword [edi + 0xc0], 0
mov ebx, dword [esp + 0x14]
je 0x59a18a
push dword [ebx + 0xc0]
call dword [0x698e94]
push dword [ebx + 0xc4]
mov dword [ebx + 0xc0], 0
call dword [0x698e94]
mov dword [ebx + 0xc4], 0
add esp, 8
mov eax, dword [edi + 0xc0]
mov dword [ebx + 0xc0], eax
mov eax, dword [edi + 0xc4]
mov dword [ebx + 0xc4], eax
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov al, byte [edi + 0x1aa]
mov byte [ebx + 0x1aa], al
test al, al
je 0x59a233
push dword [ebx + 0x88]
call dword [0x698e94]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x698e94]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x698e94]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x698e94]
mov dword [ebx + 0x6c], 0
add esp, 0x10
mov eax, dword [edi + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [edi + 0x8c]
mov dword [ebx + 0x8c], eax
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x6c], eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x6c], 0
push dword [ebx + 0x28]
call dword [0x698e94]
push dword [ebx + 0x40]
mov dword [ebx + 0x28], 0
call dword [0x698e94]
mov dword [ebx + 0x40], 0
movups xmm0, xmmword [edi + 0x28]
movups xmmword [ebx + 0x28], xmm0
mov dword [edi + 0x28], 0
movups xmm0, xmmword [edi + 0x40]
mov dword [edi + 0x2c], 0
movups xmmword [ebx + 0x40], xmm0
mov eax, dword [edi + 0x428]
mov dword [edi + 0x40], 0
push dword [ebx + 0x38]
mov dword [ebx + 0x428], eax
mov eax, dword [edi + 0x424]
mov dword [ebx + 0x424], eax
call dword [0x698e94]
mov dword [ebx + 0x38], 0
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
push edi
mov dword [edi + 0x38], 0
push esi
mov byte [ebx + 0x1af], 1
call fcn.00599a20
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [eax], ebx
cmp dword [ebx + 0x58], 0
je 0x59a2cf
mov eax, dword [ebx + 0x5c]
jmp 0x59a2dd
cmp dword [ebx + 0x78], 0
je 0x59a2da
mov eax, dword [ebx + 0x7c]
jmp 0x59a2dd
mov eax, dword [ebx + 0x34]
cmp byte [ebx + 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.0059d590
add esp, 0x10
mov edi, ebx
jmp 0x59a499
mov eax, dword [edi + 0x1c8]
test dword [eax + 0x4c], 0x100
je 0x59a327
cmp byte [esi + 0x6d1], 0
je 0x59a327
mov byte [edi + 0x1c1], 1
cmp byte [esp + 0x12], 0
jne 0x59a394
push dword [esi + 0x880]
push edi
push esi
call fcn.005954a0
mov ebp, dword [esp + 0x34]
add esp, 0xc
test ebp, ebp
je 0x59a3cd
test eax, eax
je 0x59a3cd
cmp dword [eax + 4], ebp
jb 0x59a3cd
push eax
push esi
call fcn.005952b0
add esp, 8
mov ebx, eax
cmp dword [esi + 0x84], 0
je 0x59a373
push 5
push esi
call fcn.005a4160
add esp, 8
test ebx, ebx
je 0x59a385
push 0
push ebx
push esi
call fcn.00598e20
add esp, 0xc
jmp 0x59a3e1
push ebp
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.0059d590
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.0059d590
push edi
push esi
call fcn.00599a20
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ebx, 0x59
mov dword [eax], 0
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005dffa1
add esp, 0x34
ret
cmp dword [esi + 0x84], 0
je 0x59a3e1
push 5
push esi
call fcn.005a4160
add esp, 8
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x59a413
push esi
call fcn.00595960
add esp, 4
cmp eax, ebx
jb 0x59a413
push esi
call fcn.00595360
add esp, 4
test eax, eax
je 0x59a4f7
push 0
push eax
push esi
call fcn.00598e20
add esp, 0xc
push edi
push esi
call fcn.005970d0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x59a3b8
push edi
push esi
call fcn.0058c6e0
push esi
call fcn.00594f50
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x59a3b8
test byte [esi + 0x974], 0x28
je 0x59a468
cmp byte [esi + 0x97c], al
je 0x59a468
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.0059d590
add esp, 8
mov dword [esi + 0x974], ebx
mov byte [esi + 0x97c], bl
test byte [esi + 0x984], 0x28
je 0x59a499
cmp byte [esi + 0x98c], 0
je 0x59a499
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.0059d590
add esp, 8
mov dword [esi + 0x984], 0
mov byte [esi + 0x98c], 0
push edi
push esi
call fcn.00599140
push esi
call fcn.0059c1b0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x59a3b8
mov eax, dword [esi + 0x174]
mov dword [edi + 0x22c], eax
mov eax, dword [esi + 0x1c4]
mov dword [edi + 0x230], eax
mov eax, dword [esp + 0x18]
cmp byte [edi + 0x1af], bl
je 0x59a50a
push esi
mov byte [eax], bl
call fcn.0059ce60
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005dffa1
add esp, 0x34
ret
push str.No_connections_available_in_cache
push esi
call fcn.0059d590
add esp, 8
jmp 0x59a394
push eax
push edi
push esi
call fcn.0059bef0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x59a3b8
push esi
call fcn.0059ce60
mov ecx, dword [esp + 0x44]
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dffa1
add esp, 0x34
ret