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

Disassembly:
sub esp, 0x38
mov eax, dword [section..data]
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.006444b0
push dword [esi + 0x7c]
mov dword [esp + 0x34], eax
call fcn.006444d0
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xcc4], 0
mov dword [esp + 0x30], eax
jne 0x65150a
mov edi, 3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0063ff59
add esp, 0x38
ret
push esi
call fcn.00651080
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x651533
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0063ff59
add esp, 0x38
ret
push ebp
push esi
mov dword [ebx], ebp
call fcn.006530a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x651cb8
mov eax, dword [esi + 0x5f4]
test eax, eax
je 0x651567
push eax
call dword [0x6cd068]
add esp, 4
mov dword [ebp + 0xcc], eax
test eax, eax
je 0x651519
mov eax, dword [esi + 0x5dc]
test eax, eax
je 0x651585
push eax
call dword [0x6cd068]
add esp, 4
mov dword [ebp + 0xd0], eax
test eax, eax
je 0x651519
mov eax, dword [esi + 0x5e0]
test eax, eax
je 0x6515b3
push eax
call dword [0x6cd068]
add esp, 4
mov dword [ebp + 0x40c], eax
test eax, eax
je 0x651519
mov al, byte [esi + 0x6d7]
mov byte [ebp + 0x1c3], al
push ebp
push esi
call fcn.00651e40
mov edi, eax
add esp, 8
test edi, edi
jne 0x651cb8
mov eax, dword [ebp + 0x1cc]
test byte [eax + 0x4c], 1
je 0x6515e3
cmp byte [ebp + 0x1a8], 0
je 0x6515e3
mov byte [ebp + 0x1ab], 1
movzx eax, word [esi + 0x160]
test ax, ax
je 0x65162f
cmp byte [esi + 0xd78], 0
je 0x65162f
push eax
push 0x6b7a6c
mov dword [ebp + 0x424], eax
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.0065b880
push 0
lea eax, [esp + 0x48]
push eax
push 6
push dword [esi + 0xca0]
call fcn.0067f330
add esp, 0x20
test eax, eax
jne 0x651519
push ebp
push esi
call fcn.00652470
mov edi, eax
add esp, 8
test edi, edi
jne 0x651cb8
mov eax, dword [ebp + 0x1c8]
mov ecx, str.anonymous
mov ebx, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x651661
cmp dword [esi + 0xd60], edi
je 0x651668
mov ecx, 0x6b73a5
mov ebx, ecx
cmp dword [ebp + 0xc0], edi
jne 0x651688
push ecx
call dword [0x6cd068]
add esp, 4
mov dword [ebp + 0xc0], eax
test eax, eax
je 0x651519
cmp dword [ebp + 0xc4], edi
jne 0x6516aa
push ebx
call dword [0x6cd068]
add esp, 4
mov dword [ebp + 0xc4], eax
test eax, eax
mov ecx, 0x1b
cmove edi, ecx
test edi, edi
jne 0x651cb8
push dword [esi + 0x3a8]
push ebp
push esi
call fcn.006528d0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x651cb8
cmp byte [ebp + 0x1a8], al
je 0x6516e8
lea eax, [ebp + 0x70]
push eax
call fcn.00682180
add esp, 4
test eax, eax
jne 0x651cba
cmp byte [ebp + 0x1a9], 0
je 0x651705
lea eax, [ebp + 0x50]
push eax
call fcn.00682180
add esp, 4
test eax, eax
jne 0x651cba
cmp byte [ebp + 0x1b1], 0
je 0x651743
lea eax, [ebp + 0x40]
push eax
call fcn.00682180
add esp, 4
test eax, eax
jne 0x651cba
cmp byte [ebp + 0x1b1], al
je 0x651743
push dword [ebp + 0x30]
push dword [ebp + 0x48]
call fcn.00659430
add esp, 8
test eax, eax
je 0x651743
mov byte [ebp + 0x1b1], 0
mov cl, byte [ebp + 0x1b2]
test cl, cl
je 0x651764
mov eax, dword [ebp + 0x428]
cmp eax, dword [ebp + 0x424]
jne 0x651764
mov byte [ebp + 0x1b2], 0
xor cl, cl
cmp byte [ebp + 0x1b1], 0
jne 0x651771
test cl, cl
je 0x651781
cmp byte [ebp + 0x1a8], 0
je 0x651781
mov byte [ebp + 0x1ab], 1
mov eax, dword [ebp + 0x1c8]
mov ecx, eax
mov edx, dword [eax + 4]
test edx, edx
je 0x6517a9
push ebp
push esi
call edx
mov edi, eax
add esp, 8
test edi, edi
jne 0x651cb8
mov eax, dword [ebp + 0x1c8]
mov ecx, eax
cmp dword [ebp + 0x420], 0
jge 0x6517bb
mov eax, dword [eax + 0x40]
mov dword [ebp + 0x420], eax
test byte [ecx + 0x4c], 0x10
je 0x65186c
push 0xffffffffffffffff
push 0
push ebp
push esi
call fcn.00656490
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 0x65184d
push ebp
push esi
call fcn.00643f70
push esi
call fcn.0064c810
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x651cb8
push esi
call fcn.00653ab0
mov edi, eax
add esp, 4
test edi, edi
je 0x65183a
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.0063ff59
add esp, 0x38
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.0065ad20
add esp, 0x18
push ebp
push esi
call fcn.006509f0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0063ff59
add esp, 0x38
ret
mov dword [ebp + 0x110], 0x654ad0
mov dword [ebp + 0x118], fcn.00654b20
mov dword [ebp + 0x114], 0x654ad0
mov dword [ebp + 0x11c], fcn.00654b20
mov al, byte [esi + 0x6d0]
push esi
mov byte [ebp + 0x1c0], al
call fcn.0064eb20
mov edi, eax
add esp, 4
test edi, edi
jne 0x651cb8
lea eax, [esp + 0x34]
push eax
call fcn.00649640
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
cmp dword [esi + 0x84], edi
je 0x6518dd
push 2
push 5
push esi
call fcn.00659990
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.006496f0
add esp, 0x20
mov ebx, eax
cmp dword [esi + 0x84], 0
mov edi, edx
je 0x65191c
push 5
push esi
call fcn.006599d0
add esp, 8
test edi, edi
jl 0x6519ce
jg 0x651932
cmp ebx, 0x3e8
jb 0x6519ce
push 0x6512a0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
push eax
push dword [esi + 0x880]
mov dword [esp + 0x34], 0
push esi
call fcn.0064ce10
add esp, 0x10
test al, al
je 0x651995
nop dword [eax + eax]
push 1
push dword [esp + 0x2c]
push esi
call fcn.0064cf30
push 1
push dword [esp + 0x38]
push esi
call fcn.006506d0
push 0x6512a0
lea eax, [esp + 0x40]
push eax
push dword [esi + 0x880]
push esi
call fcn.0064ce10
add esp, 0x28
test al, al
jne 0x651960
cmp dword [esi + 0x84], 0
je 0x6519ab
push 2
push 5
push esi
call fcn.00659990
add esp, 0xc
mov eax, dword [esi + 0x880]
movups xmm0, xmmword [esp + 0x34]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x6519ce
push 5
push esi
call fcn.006599d0
add esp, 8
cmp byte [esi + 0x6c6], 0
je 0x6519e4
cmp dword [esi + 0x93c], 0
je 0x651c08
cmp byte [esi + 0x6a5], 0
jne 0x651c08
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
call fcn.0064f900
add esp, 0x14
test al, al
je 0x651c08
cmp dword [ebp + 0xc0], 0
mov ebx, dword [esp + 0x14]
je 0x651a7a
push dword [ebx + 0xc0]
call dword [0x6cd060]
push dword [ebx + 0xc4]
mov dword [ebx + 0xc0], 0
call dword [0x6cd060]
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 0x651b23
push dword [ebx + 0x88]
call dword [0x6cd060]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x6cd060]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x6cd060]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x6cd060]
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.00682020
add ebx, 0x40
push ebx
call fcn.00682020
push dword [edi]
call dword [0x6cd060]
push dword [ebx]
mov dword [edi], 0
call dword [0x6cd060]
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 [0x6cd060]
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.006512d0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov dword [eax], edi
cmp dword [edi + 0x58], 0
je 0x651bcf
mov eax, dword [edi + 0x5c]
jmp 0x651bdd
cmp dword [edi + 0x78], 0
je 0x651bda
mov eax, dword [edi + 0x7c]
jmp 0x651bdd
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.00654f30
add esp, 0x10
mov ebp, edi
jmp 0x651d9a
mov eax, dword [ebp + 0x1c8]
test dword [eax + 0x4c], 0x100
je 0x651c27
cmp byte [esi + 0x6d1], 0
je 0x651c27
mov byte [ebp + 0x1c1], 1
cmp byte [esp + 0x13], 0
jne 0x651c94
push dword [esi + 0x880]
push ebp
push esi
call fcn.0064cd60
mov ebx, dword [esp + 0x38]
add esp, 0xc
test ebx, ebx
je 0x651ccd
test eax, eax
je 0x651ccd
cmp dword [eax + 4], ebx
jb 0x651ccd
push eax
push esi
call fcn.0064cb70
add esp, 8
mov edi, eax
cmp dword [esi + 0x84], 0
je 0x651c73
push 5
push esi
call fcn.006599d0
add esp, 8
test edi, edi
je 0x651c85
push 0
push edi
push esi
call fcn.006506d0
add esp, 0xc
jmp 0x651ce1
push ebx
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.00654f30
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.00654f30
push ebp
push esi
call fcn.006512d0
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.0063ff59
add esp, 0x38
ret
cmp dword [esi + 0x84], 0
je 0x651ce1
push 5
push esi
call fcn.006599d0
add esp, 8
mov edi, dword [esp + 0x30]
test edi, edi
je 0x651d13
push esi
call fcn.0064d220
add esp, 4
cmp eax, edi
jb 0x651d13
push esi
call fcn.0064cc20
add esp, 4
test eax, eax
je 0x651dfa
push 0
push eax
push esi
call fcn.006506d0
add esp, 0xc
push ebp
push esi
call fcn.0064e980
mov edi, eax
add esp, 8
test edi, edi
jne 0x651cb8
push ebp
push esi
call fcn.00643f70
push esi
call fcn.0064c810
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x651cb8
test byte [esi + 0x974], 0x28
je 0x651d69
cmp byte [esi + 0x97c], al
je 0x651d69
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00654f30
add esp, 8
mov dword [esi + 0x974], edi
mov byte [esi + 0x97c], 0
test byte [esi + 0x984], 0x28
je 0x651d9a
cmp byte [esi + 0x98c], 0
je 0x651d9a
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00654f30
add esp, 8
mov dword [esi + 0x984], 0
mov byte [esi + 0x98c], 0
push ebp
push esi
call fcn.006509f0
push esi
call fcn.00653ab0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x651cb8
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 0x651e0d
push esi
mov byte [eax], 0
call fcn.00654800
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0063ff59
add esp, 0x38
ret
push str.No_connections_available_in_cache
push esi
call fcn.00654f30
add esp, 8
jmp 0x651c94
push eax
push ebp
push esi
call fcn.006537f0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x651cb8
push esi
call fcn.00654800
mov ecx, dword [esp + 0x48]
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0063ff59
add esp, 0x38
ret