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

Disassembly:
sub esp, 0x34
mov eax, dword [0x508040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
push dword [esi + 0x70]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0
mov byte [esp + 0x16], 0
call fcn.00462e20
push dword [esi + 0x70]
mov dword [esp + 0x30], eax
call fcn.00462e40
mov byte [ebx], 0
add esp, 8
mov dword [edi], 0
cmp dword [esi + 0xc88], 0
mov dword [esp + 0x2c], eax
jne 0x46f1ba
mov edi, 3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004af2b0
add esp, 0x34
ret
push esi
call fcn.0046ebf0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46f1e3
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004af2b0
add esp, 0x34
ret
push ebx
push esi
mov dword [edi], ebx
call fcn.00470d30
mov edi, eax
add esp, 8
test edi, edi
jne 0x46f95c
mov eax, dword [esi + 0x620]
test eax, eax
je 0x46f217
push eax
call dword [0x50800c]
add esp, 4
mov dword [ebx + 0xf0], eax
test eax, eax
je 0x46f1c9
mov eax, dword [esi + 0x608]
test eax, eax
je 0x46f235
push eax
call dword [0x50800c]
add esp, 4
mov dword [ebx + 0xf4], eax
test eax, eax
je 0x46f1c9
mov eax, dword [esi + 0x60c]
test eax, eax
je 0x46f263
push eax
call dword [0x50800c]
add esp, 4
mov dword [ebx + 0x484], eax
test eax, eax
je 0x46f1c9
mov al, byte [esi + 0x6fc]
mov byte [ebx + 0x213], al
push ebx
push esi
call fcn.0046fac0
mov edi, eax
add esp, 8
test edi, edi
jne 0x46f95c
mov eax, dword [ebx + 0x23c]
test byte [eax + 0x4c], 1
je 0x46f293
cmp byte [ebx + 0x1f8], 0
je 0x46f293
mov byte [ebx + 0x1fb], 1
movzx eax, word [esi + 0x162]
test ax, ax
je 0x46f2df
cmp byte [esi + 0xd18], 0
je 0x46f2df
push eax
push 0x4f593c
mov dword [ebx + 0x4a4], eax
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.00477780
push 0
lea eax, [esp + 0x44]
push eax
push 6
push dword [esi + 0xc60]
call fcn.0049b0b0
add esp, 0x20
test eax, eax
jne 0x46f1c9
push ebx
push esi
call fcn.00470110
mov edi, eax
add esp, 8
test edi, edi
jne 0x46f95c
mov eax, dword [ebx + 0x238]
mov ecx, str.anonymous
mov ebp, str.ftp_example.com
test byte [eax + 0x4c], 0x20
je 0x46f311
cmp dword [esi + 0xd04], edi
je 0x46f318
mov ecx, 0x4f547e
mov ebp, ecx
cmp dword [ebx + 0xe4], edi
jne 0x46f338
push ecx
call dword [0x50800c]
add esp, 4
mov dword [ebx + 0xe4], eax
test eax, eax
je 0x46f1c9
cmp dword [ebx + 0xe8], edi
jne 0x46f35a
push ebp
call dword [0x50800c]
add esp, 4
mov dword [ebx + 0xe8], eax
test eax, eax
mov ecx, 0x1b
cmove edi, ecx
test edi, edi
jne 0x46f95c
push dword [esi + 0x3d0]
push ebx
push esi
call fcn.00470570
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46f95c
cmp byte [ebx + 0x1f8], al
je 0x46f39b
lea eax, [ebx + 0x94]
push eax
call fcn.0049dcc0
add esp, 4
test eax, eax
jne 0x46f95e
cmp byte [ebx + 0x1f9], 0
je 0x46f3b8
lea eax, [ebx + 0x74]
push eax
call fcn.0049dcc0
add esp, 4
test eax, eax
jne 0x46f95e
cmp byte [ebx + 0x201], 0
je 0x46f3da
push dword [ebx + 0x54]
push dword [ebx + 0x6c]
call fcn.00478c70
add esp, 8
test eax, eax
je 0x46f3da
mov byte [ebx + 0x201], 0
mov cl, byte [ebx + 0x202]
test cl, cl
je 0x46f3fb
mov eax, dword [ebx + 0x4a8]
cmp eax, dword [ebx + 0x4a4]
jne 0x46f3fb
mov byte [ebx + 0x202], 0
xor cl, cl
cmp byte [ebx + 0x201], 0
jne 0x46f408
test cl, cl
je 0x46f418
cmp byte [ebx + 0x1f8], 0
je 0x46f418
mov byte [ebx + 0x1fb], 1
mov eax, dword [ebx + 0x238]
mov edx, eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46f440
push ebx
push esi
call ecx
mov edi, eax
add esp, 8
test edi, edi
jne 0x46f95c
mov eax, dword [ebx + 0x238]
mov edx, eax
cmp dword [ebx + 0x4a0], 0
jge 0x46f452
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x4a0], eax
test byte [edx + 0x4c], 0x10
je 0x46f503
push 0xffffffffffffffff
push 0
push ebx
push esi
call fcn.00474090
mov eax, dword [ebx + 0x238]
lea ecx, [esp + 0x22]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x46f4e4
push ebx
push esi
call fcn.004628e0
push esi
call fcn.0046acb0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46f95c
push esi
call fcn.004718c0
mov edi, eax
add esp, 4
test edi, edi
je 0x46f4d1
mov eax, dword [ebx + 0x238]
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 + 0x30]
xor ecx, esp
call fcn.004af2b0
add esp, 0x34
ret
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.0047a460
add esp, 0x18
push ebx
push esi
call fcn.0046e500
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004af2b0
add esp, 0x34
ret
mov dword [ebx + 0x140], 0x482550
mov dword [ebx + 0x148], 0x4825b0
mov dword [ebx + 0x144], 0x482550
mov dword [ebx + 0x14c], 0x4825b0
mov al, byte [esi + 0x6f4]
mov byte [ebx + 0x210], al
mov eax, dword [esi + 0x570]
mov dword [esi + 0x3ec], eax
mov eax, dword [esi + 0x578]
mov dword [esi + 0x3f0], eax
mov eax, dword [esi + 0x5a4]
mov dword [esi + 0x3f4], eax
mov eax, dword [esi + 0x654]
mov dword [esi + 0x414], eax
mov eax, dword [esi + 0x588]
mov dword [esi + 0x3fc], eax
mov eax, dword [esi + 0x590]
mov dword [esi + 0x400], eax
mov eax, dword [esi + 0x580]
mov dword [esi + 0x404], eax
mov eax, dword [esi + 0x644]
mov dword [esi + 0x40c], eax
mov eax, dword [esi + 0x65c]
mov dword [esi + 0x410], eax
mov eax, dword [esi + 0x634]
mov dword [esi + 0x418], eax
mov eax, dword [esi + 0x574]
mov dword [esi + 0x454], eax
mov eax, dword [esi + 0x57c]
mov dword [esi + 0x458], eax
mov eax, dword [esi + 0x58c]
mov dword [esi + 0x464], eax
mov eax, dword [esi + 0x594]
mov dword [esi + 0x468], eax
mov eax, dword [esi + 0x584]
mov dword [esi + 0x46c], eax
mov eax, dword [esi + 0x648]
mov dword [esi + 0x474], eax
mov eax, dword [esi + 0x660]
mov dword [esi + 0x478], eax
mov eax, dword [esi + 0x5a8]
mov dword [esi + 0x45c], eax
mov eax, dword [esi + 0x658]
mov dword [esi + 0x47c], eax
mov eax, dword [esi + 0x5a0]
mov dword [esi + 0x470], eax
mov eax, dword [esi + 0x514]
mov dword [esi + 0x498], eax
mov eax, dword [esi + 0x540]
mov dword [esi + 0x49c], eax
mov eax, dword [esi + 0x550]
mov dword [esi + 0x4a4], eax
mov eax, dword [esi + 0x548]
mov dword [esi + 0x4a8], eax
mov eax, dword [esi + 0x50c]
mov dword [esi + 0x460], eax
mov eax, dword [esi + 0x650]
mov dword [esi + 0x4a0], eax
mov eax, dword [esi + 0x59c]
mov dword [esi + 0x408], eax
mov eax, dword [esi + 0x510]
mov dword [esi + 0x430], eax
mov eax, dword [esi + 0x53c]
mov dword [esi + 0x434], eax
mov eax, dword [esi + 0x54c]
mov dword [esi + 0x43c], eax
mov eax, dword [esi + 0x544]
mov dword [esi + 0x440], eax
mov eax, dword [esi + 0x508]
mov dword [esi + 0x3f8], eax
mov eax, dword [esi + 0x64c]
mov dword [esi + 0x438], eax
lea eax, [ebx + 0x178]
push eax
lea eax, [esi + 0x3e4]
push eax
call fcn.0046bec0
add esp, 8
test al, al
je 0x46f1c9
lea eax, [ebx + 0x1b8]
push eax
lea eax, [esi + 0x44c]
push eax
call fcn.0046bec0
add esp, 8
test al, al
je 0x46f1c9
lea eax, [esp + 0x30]
push eax
call fcn.0047b2b0
add esp, 4
cmp dword [esi + 0x78], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
je 0x46f727
push 2
push 5
push esi
call fcn.00479230
add esp, 0xc
mov ecx, dword [esi + 0x8a0]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
call fcn.0047b360
add esp, 0x20
mov ebp, eax
cmp dword [esi + 0x78], 0
mov edi, edx
je 0x46f763
push 5
push esi
call fcn.00479270
add esp, 8
test edi, edi
jl 0x46f80a
jg 0x46f779
cmp ebp, 0x3e8
jb 0x46f80a
push 0x46ee90
lea eax, [esp + 0x24]
mov dword [esp + 0x24], esi
push eax
push dword [esi + 0x8a0]
mov dword [esp + 0x30], 0
push esi
call fcn.0046b2a0
add esp, 0x10
test al, al
je 0x46f7d7
push 1
push dword [esp + 0x28]
push esi
call fcn.0046b3c0
push 1
push dword [esp + 0x34]
push esi
call fcn.0046e300
push 0x46ee90
lea eax, [esp + 0x3c]
push eax
push dword [esi + 0x8a0]
push esi
call fcn.0046b2a0
add esp, 0x28
test al, al
jne 0x46f7a2
cmp dword [esi + 0x78], 0
je 0x46f7ea
push 2
push 5
push esi
call fcn.00479230
add esp, 0xc
mov eax, dword [esi + 0x8a0]
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x20], xmm0
cmp dword [esi + 0x78], 0
je 0x46f80a
push 5
push esi
call fcn.00479270
add esp, 8
cmp byte [esi + 0x6ea], 0
je 0x46f820
cmp dword [esi + 0x940], 0
je 0x46f8af
cmp byte [esi + 0x6c9], 0
jne 0x46f8af
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push esi
call fcn.0046d590
add esp, 0x14
test al, al
je 0x46f8af
mov edi, dword [esp + 0x14]
push edi
push ebx
push esi
call fcn.00471670
mov eax, dword [esp + 0x28]
mov ebx, edi
add esp, 0xc
mov dword [eax], edi
cmp dword [ebx + 0x7c], 0
je 0x46f86f
mov eax, dword [ebx + 0x80]
jmp 0x46f883
cmp dword [ebx + 0x9c], 0
je 0x46f880
mov eax, dword [ebx + 0xa0]
jmp 0x46f883
mov eax, dword [ebx + 0x58]
cmp byte [ebx + 0x1fd], 0
mov ecx, str.host
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push dword [ebx + 0x38]
push str.Re_using_existing_connection__ld_with__s__s
push esi
call fcn.004728b0
add esp, 0x14
jmp 0x46fa27
mov eax, dword [ebx + 0x238]
test dword [eax + 0x4c], 0x100
je 0x46f8ce
cmp byte [esi + 0x6f5], 0
je 0x46f8ce
mov byte [ebx + 0x211], 1
cmp byte [esp + 0x12], 0
jne 0x46f938
push dword [esi + 0x8a0]
push ebx
push esi
call fcn.0046b1f0
mov ebp, dword [esp + 0x34]
add esp, 0xc
test ebp, ebp
je 0x46f971
test eax, eax
je 0x46f971
cmp dword [eax + 4], ebp
jb 0x46f971
push eax
push esi
call fcn.0046b000
add esp, 8
mov edi, eax
cmp dword [esi + 0x78], 0
je 0x46f917
push 5
push esi
call fcn.00479270
add esp, 8
test edi, edi
je 0x46f929
push 0
push edi
push esi
call fcn.0046e300
add esp, 0xc
jmp 0x46f982
push ebp
push str.No_more_connections_allowed_to_host:__zu
push esi
call fcn.004728b0
add esp, 0xc
push str.No_connections_available.
push esi
call fcn.004728b0
push ebx
push esi
call fcn.0046eec0
mov eax, dword [esp + 0x2c]
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 + 0x30]
xor ecx, esp
call fcn.004af2b0
add esp, 0x34
ret
cmp dword [esi + 0x78], 0
je 0x46f982
push 5
push esi
call fcn.00479270
add esp, 8
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x46f9b4
push esi
call fcn.0046b670
add esp, 4
cmp eax, edi
jb 0x46f9b4
push esi
call fcn.0046b0b0
add esp, 4
test eax, eax
je 0x46fa7e
push 0
push eax
push esi
call fcn.0046e300
add esp, 0xc
push ebx
push esi
call fcn.004628e0
push esi
call fcn.0046acb0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46f95c
test byte [esi + 0x978], 0x28
je 0x46f9f6
cmp byte [esi + 0x980], al
je 0x46f9f6
push str.NTLM_picked_AND_auth_done_set__clear_picked
push esi
call fcn.004728b0
add esp, 8
mov dword [esi + 0x978], edi
mov byte [esi + 0x980], 0
test byte [esi + 0x988], 0x28
je 0x46fa27
cmp byte [esi + 0x990], 0
je 0x46fa27
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked
push esi
call fcn.004728b0
add esp, 8
mov dword [esi + 0x988], 0
mov byte [esi + 0x990], 0
push ebx
push esi
call fcn.0046e500
push esi
call fcn.004718c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46f95c
cmp byte [ebx + 0x1ff], 0
mov eax, dword [esi + 0x178]
mov dword [ebx + 0x29c], eax
mov eax, dword [esi + 0x1d0]
mov dword [ebx + 0x2a0], eax
mov eax, dword [esp + 0x18]
je 0x46fa91
mov byte [eax], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004af2b0
add esp, 0x34
ret
push str.No_connections_available_in_cache
push esi
call fcn.004728b0
add esp, 8
jmp 0x46f938
push eax
push ebx
push esi
call fcn.004713b0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004af2b0
add esp, 0x34
ret