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

Disassembly:
sub esp, 0x30
mov eax, dword [0x4e3180]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x20], ebx
push dword [esi + 0x7c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
mov byte [esp + 0x16], 0
call fcn.00470440
push dword [esi + 0x7c]
mov dword [esp + 0x2c], eax
call fcn.00470460
mov byte [edi], 0
add esp, 8
mov dword [ebx], 0
cmp dword [esi + 0xc34], 0
mov dword [esp + 0x28], eax
jne 0x46ae8a
mov ebx, 3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00434db6
add esp, 0x30
ret
push esi
call fcn.0046aa40
mov edi, eax
add esp, 4
test edi, edi
jne 0x46aeb3
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00434db6
add esp, 0x30
ret
push edi
push esi
mov dword [ebx], edi
call fcn.0046c7e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x46b612
mov eax, dword [esi + 0x5c4]
test eax, eax
je 0x46aee7
push eax
call dword [0x4e3ca8]
add esp, 4
mov dword [edi + 0x164], eax
test eax, eax
je 0x46ae99
mov eax, dword [esi + 0x5ac]
test eax, eax
je 0x46af05
push eax
call dword [0x4e3ca8]
add esp, 4
mov dword [edi + 0x168], eax
test eax, eax
je 0x46ae99
mov eax, dword [esi + 0x5b0]
test eax, eax
je 0x46af33
push eax
call dword [0x4e3ca8]
add esp, 4
mov dword [edi + 0x4ac], eax
test eax, eax
je 0x46ae99
mov al, byte [esi + 0x69d]
mov byte [edi + 0x25a], al
push edi
push esi
call fcn.0046b780
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x46b612
mov eax, dword [edi + 0x264]
test byte [eax + 0x50], 1
je 0x46af62
cmp byte [edi + 0x240], bl
je 0x46af62
mov byte [edi + 0x243], 1
movzx eax, word [esi + 0x158]
test ax, ax
je 0x46afae
cmp byte [esi + 0xcec], 0
je 0x46afae
push eax
push 0x4c329c
mov dword [edi + 0x4c0], eax
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00462f00
push 0
lea eax, [esp + 0x40]
push eax
push 6
push dword [esi + 0xc10]
call fcn.0049fa50
add esp, 0x20
test eax, eax
jne 0x46ae99
push edi
push esi
call fcn.0046bbc0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x46b612
mov eax, dword [edi + 0x260]
mov ecx, str.anonymous
mov ebp, str.ftp_example.com
test byte [eax + 0x50], 0x20
je 0x46afe0
cmp dword [esi + 0xcd0], ebx
je 0x46afe7
mov ecx, 0x4db89c
mov ebp, ecx
cmp dword [edi + 0x158], ebx
jne 0x46b007
push ecx
call dword [0x4e3ca8]
add esp, 4
mov dword [edi + 0x158], eax
test eax, eax
je 0x46ae99
cmp dword [edi + 0x15c], ebx
jne 0x46b029
push ebp
call dword [0x4e3ca8]
add esp, 4
mov dword [edi + 0x15c], eax
test eax, eax
mov ecx, 0x1b
cmove ebx, ecx
test ebx, ebx
jne 0x46b612
push dword [esi + 0x3a0]
push edi
push esi
call fcn.0046c020
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x46b612
cmp byte [edi + 0x240], al
je 0x46b067
lea eax, [edi + 0x70]
push eax
call fcn.004a4fd0
add esp, 4
test eax, eax
jne 0x46b614
cmp byte [edi + 0x241], 0
je 0x46b084
lea eax, [edi + 0x50]
push eax
call fcn.004a4fd0
add esp, 4
test eax, eax
jne 0x46b614
cmp byte [edi + 0x249], 0
je 0x46b0c2
lea eax, [edi + 0x40]
push eax
call fcn.004a4fd0
add esp, 4
test eax, eax
jne 0x46b614
cmp byte [edi + 0x249], al
je 0x46b0c2
push dword [edi + 0x30]
push dword [edi + 0x48]
call fcn.00462cc0
add esp, 8
test eax, eax
je 0x46b0c2
mov byte [edi + 0x249], 0
mov cl, byte [edi + 0x24a]
test cl, cl
je 0x46b0e3
mov eax, dword [edi + 0x4c4]
cmp eax, dword [edi + 0x4c0]
jne 0x46b0e3
mov byte [edi + 0x24a], 0
xor cl, cl
cmp byte [edi + 0x249], 0
jne 0x46b0f0
test cl, cl
je 0x46b100
cmp byte [edi + 0x240], 0
je 0x46b100
mov byte [edi + 0x243], 1
mov eax, dword [edi + 0x260]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46b124
push edi
push esi
call ecx
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x46b612
mov eax, dword [edi + 0x260]
cmp dword [edi + 0xec], 0
jge 0x46b136
mov eax, dword [eax + 0x44]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0x260]
test byte [eax + 0x50], 0x10
je 0x46b1eb
push 0
push edi
push esi
call fcn.00478470
mov eax, dword [edi + 0x260]
lea ecx, [esp + 0x1e]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x46b1cc
push edi
push esi
call fcn.0046ff00
push esi
call fcn.00475510
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x46b612
push esi
call fcn.0046d370
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46b1b9
mov eax, dword [edi + 0x260]
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 + 0x2c]
xor ecx, esp
call fcn.00434db6
add esp, 0x30
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.004a4130
add esp, 0x18
push edi
push esi
call fcn.0046a480
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00434db6
add esp, 0x30
ret
mov dword [edi + 0x1a8], 0x476da0
mov dword [edi + 0x1b0], 0x476e00
mov dword [edi + 0x1ac], 0x476da0
mov dword [edi + 0x1b4], 0x476e00
mov al, byte [esi + 0x696]
push esi
mov byte [edi + 0x257], al
call fcn.00466590
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46b612
lea eax, [esp + 0x2c]
push eax
call fcn.00473a70
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x2c], xmm0
cmp dword [esi + 0x84], ebx
je 0x46b25c
push 2
push 5
push esi
call fcn.0046e420
add esp, 0xc
mov ecx, dword [esi + 0x848]
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 + 0x4c]
movups xmmword [eax], xmm0
call fcn.00473b20
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x84], 0
mov ebx, edx
je 0x46b29b
push 5
push esi
call fcn.0046e460
add esp, 8
test ebx, ebx
jl 0x46b338
jg 0x46b2b1
cmp ebp, 0x3e8
jb 0x46b338
push 0x46ac60
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esi + 0x848]
push esi
call fcn.00475ac0
add esp, 0x10
test al, al
je 0x46b2ff
push 1
push dword [esp + 0x18]
push esi
call fcn.0046a1d0
push 0x46ac60
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x848]
push esi
call fcn.00475ac0
add esp, 0x1c
test al, al
jne 0x46b2d6
cmp dword [esi + 0x84], 0
je 0x46b315
push 2
push 5
push esi
call fcn.0046e420
add esp, 0xc
mov eax, dword [esi + 0x848]
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [eax + 0x30], xmm0
cmp dword [esi + 0x84], 0
je 0x46b338
push 5
push esi
call fcn.0046e460
add esp, 8
cmp byte [esi + 0x68c], 0
je 0x46b34e
cmp dword [esi + 0x8b0], 0
je 0x46b562
cmp byte [esi + 0x66d], 0
jne 0x46b562
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x20]
push eax
push edi
push esi
call fcn.004694b0
add esp, 0x14
test al, al
je 0x46b562
cmp dword [edi + 0x158], 0
mov ebx, dword [esp + 0x18]
je 0x46b3e4
push dword [ebx + 0x158]
call dword [0x4e3ca0]
push dword [ebx + 0x15c]
mov dword [ebx + 0x158], 0
call dword [0x4e3ca0]
mov dword [ebx + 0x15c], 0
add esp, 8
mov eax, dword [edi + 0x158]
mov dword [ebx + 0x158], eax
mov eax, dword [edi + 0x15c]
mov dword [ebx + 0x15c], eax
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov al, byte [edi + 0x242]
mov byte [ebx + 0x242], al
test al, al
je 0x46b48d
push dword [ebx + 0x88]
call dword [0x4e3ca0]
push dword [ebx + 0x68]
mov dword [ebx + 0x88], 0
call dword [0x4e3ca0]
push dword [ebx + 0x8c]
mov dword [ebx + 0x68], 0
call dword [0x4e3ca0]
push dword [ebx + 0x6c]
mov dword [ebx + 0x8c], 0
call dword [0x4e3ca0]
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 [0x4e3ca0]
push dword [ebx + 0x40]
mov dword [ebx + 0x28], 0
call dword [0x4e3ca0]
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 + 0x4c4]
mov dword [edi + 0x40], 0
push dword [ebx + 0x38]
mov dword [ebx + 0x4c4], eax
mov eax, dword [edi + 0x4c0]
mov dword [ebx + 0x4c0], eax
call dword [0x4e3ca0]
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 + 0x247], 1
call fcn.0046ac90
mov eax, dword [esp + 0x34]
add esp, 0x14
mov dword [eax], ebx
cmp dword [ebx + 0x58], 0
je 0x46b529
mov eax, dword [ebx + 0x5c]
jmp 0x46b537
cmp dword [ebx + 0x78], 0
je 0x46b534
mov eax, dword [ebx + 0x7c]
jmp 0x46b537
mov eax, dword [ebx + 0x34]
cmp byte [ebx + 0x245], 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.00464900
add esp, 0x10
mov edi, ebx
jmp 0x46b6f3
mov eax, dword [edi + 0x260]
test dword [eax + 0x50], 0x100
je 0x46b581
cmp byte [esi + 0x697], 0
je 0x46b581
mov byte [edi + 0x258], 1
cmp byte [esp + 0x12], 0
jne 0x46b5ee
push dword [esi + 0x848]
push edi
push esi
call fcn.00475a10
mov ebp, dword [esp + 0x30]
add esp, 0xc
test ebp, ebp
je 0x46b627
test eax, eax
je 0x46b627
cmp dword [eax + 4], ebp
jb 0x46b627
push eax
push esi
call fcn.00475820
add esp, 8
mov ebx, eax
cmp dword [esi + 0x84], 0
je 0x46b5cd
push 5
push esi
call fcn.0046e460
add esp, 8
test ebx, ebx
je 0x46b5df
push 0
push ebx
push esi
call fcn.0046a1d0
add esp, 0xc
jmp 0x46b63b
push ebp
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.00464900
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.00464900
push edi
push esi
call fcn.0046ac90
mov eax, dword [esp + 0x30]
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 + 0x2c]
xor ecx, esp
call fcn.00434db6
add esp, 0x30
ret
cmp dword [esi + 0x84], 0
je 0x46b63b
push 5
push esi
call fcn.0046e460
add esp, 8
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x46b66d
push esi
call fcn.00475eb0
add esp, 4
cmp eax, ebx
jb 0x46b66d
push esi
call fcn.004758d0
add esp, 4
test eax, eax
je 0x46b739
push 0
push eax
push esi
call fcn.0046a1d0
add esp, 0xc
push edi
push esi
call fcn.004663e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x46b612
push edi
push esi
call fcn.0046ff00
push esi
call fcn.00475510
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x46b612
test byte [esi + 0x8e8], 8
je 0x46b6c2
cmp byte [esi + 0x8f0], al
je 0x46b6c2
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00464900
add esp, 8
mov dword [esi + 0x8e8], ebx
mov byte [esi + 0x8f0], bl
test byte [esi + 0x8f8], 8
je 0x46b6f3
cmp byte [esi + 0x900], 0
je 0x46b6f3
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.00464900
add esp, 8
mov dword [esi + 0x8f8], 0
mov byte [esi + 0x900], 0
push edi
push esi
call fcn.0046a480
push esi
call fcn.0046d370
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x46b612
mov eax, dword [esp + 0x1c]
cmp byte [edi + 0x247], bl
je 0x46b74c
push esi
mov byte [eax], bl
call fcn.00477570
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00434db6
add esp, 0x30
ret
push str.No_connections_available_in_cache
push esi
call fcn.00464900
add esp, 8
jmp 0x46b5ee
push eax
push edi
push esi
call fcn.0046d0b0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x46b612
push esi
call fcn.00477570
mov ecx, dword [esp + 0x40]
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00434db6
add esp, 0x30
ret