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

Disassembly:
sub esp, 0x34
mov eax, dword [0x5200a8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x48]
push edi
push dword [ebx + 0x78]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], 0
mov byte [esp + 0x13], 0
call fcn.004a1c30
push dword [ebx + 0x78]
mov dword [esp + 0x28], eax
call fcn.004a1c50
mov byte [esi], 0
add esp, 8
mov dword [edi], 0
cmp dword [ebx + 0xb30], 0
mov dword [esp + 0x24], eax
jne 0x4ad668
mov edi, 3
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004e635f
add esp, 0x34
ret
push ebx
call fcn.004ace10
mov esi, eax
add esp, 4
test esi, esi
jne 0x4ad690
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004e635f
add esp, 0x34
ret
push esi
push ebx
mov dword [edi], esi
call fcn.004af060
mov edi, eax
add esp, 8
test edi, edi
jne 0x4add3c
mov eax, dword [ebx + 0xa6c]
test eax, eax
je 0x4ad6c4
push eax
call dword [0x520088]
add esp, 4
mov dword [esi + 0x3e4], eax
test eax, eax
je 0x4ad677
mov eax, dword [ebx + 0xa5c]
test eax, eax
je 0x4ad6ee
push eax
call dword [0x520088]
add esp, 4
mov dword [esi + 0x7e8], eax
test eax, eax
je 0x4ad677
mov al, byte [ebx + 0xb2a]
mov byte [esi + 0x7ec], al
push esi
call fcn.004adf50
mov edi, eax
add esp, 4
test edi, edi
jne 0x4add3c
mov eax, dword [esi + 0x54c]
test byte [eax + 0x44], 1
je 0x4ad71d
cmp byte [esi + 0x50e], 0
je 0x4ad71d
mov byte [esi + 0x517], 1
mov eax, dword [ebx + 0x5b8]
test eax, eax
je 0x4ad76a
cmp byte [ebx + 0x1038], 0
je 0x4ad76a
movzx eax, ax
push eax
push 0x502148
mov dword [esi + 0x368], eax
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.004b3500
push 0
lea eax, [esp + 0x40]
push eax
push 6
push dword [ebx + 0x1004]
call fcn.004d7290
add esp, 0x20
test eax, eax
jne 0x4ad677
push ebp
lea eax, [esi + 0x3e0]
push eax
lea ecx, [esi + 0x3dc]
push ecx
lea ebp, [esi + 0x3d8]
push ebp
push esi
push ebx
call fcn.004ae730
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4add3b
mov eax, dword [esi + 0x548]
mov ecx, str.anonymous
mov dword [esp + 0x1c], str.ftp_example.com
test byte [eax + 0x44], 0x20
je 0x4ad7b6
cmp byte [esi + 0x510], 0
je 0x4ad7bf
mov ecx, 0x517b5b
mov dword [esp + 0x1c], ecx
cmp dword [ebp], edi
jne 0x4ad7d9
push ecx
call dword [0x520088]
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x4adb9f
cmp dword [esi + 0x3dc], edi
jne 0x4ad7fe
push dword [esp + 0x1c]
call dword [0x520088]
add esp, 4
mov dword [esi + 0x3dc], eax
test eax, eax
mov ecx, 0x1b
cmove edi, ecx
test edi, edi
jne 0x4add3b
push dword [ebx + 0x830]
push esi
push ebx
call fcn.004aeb40
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4add3b
lea eax, [esi + 0x2fc]
push eax
push esi
call fcn.004ac480
mov edi, eax
add esp, 8
test edi, edi
jne 0x4add3b
cmp byte [esi + 0x50b], al
je 0x4ad85c
lea eax, [esi + 0x314]
push eax
push esi
call fcn.004ac480
mov edi, eax
add esp, 8
test edi, edi
jne 0x4add3b
cmp byte [esi + 0x50e], 0
je 0x4ad87f
lea eax, [esi + 0x344]
push eax
push esi
call fcn.004ac480
mov edi, eax
add esp, 8
test edi, edi
jne 0x4add3b
cmp byte [esi + 0x50f], 0
je 0x4ad8a2
lea eax, [esi + 0x324]
push eax
push esi
call fcn.004ac480
mov edi, eax
add esp, 8
test edi, edi
jne 0x4add3b
cmp byte [esi + 0x50b], 0
je 0x4ad8ca
push dword [esi + 0x304]
push dword [esi + 0x31c]
call fcn.004b4880
add esp, 8
test eax, eax
je 0x4ad8ca
mov byte [esi + 0x50b], 0
mov cl, byte [esi + 0x50c]
test cl, cl
je 0x4ad8eb
mov eax, dword [esi + 0x36c]
cmp eax, dword [esi + 0x368]
jne 0x4ad8eb
mov byte [esi + 0x50c], 0
xor cl, cl
cmp byte [esi + 0x50b], 0
jne 0x4ad8f8
test cl, cl
je 0x4ad908
cmp byte [esi + 0x50e], 0
je 0x4ad908
mov byte [esi + 0x517], 1
mov eax, dword [esi + 0x548]
mov edx, eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4ad92f
push esi
call ecx
mov edi, eax
add esp, 4
test edi, edi
jne 0x4add3b
mov eax, dword [esi + 0x548]
mov edx, eax
cmp dword [esi + 0x364], 0
jge 0x4ad941
mov eax, dword [eax + 0x3c]
mov dword [esi + 0x364], eax
mov dword [esi + 0x438], 0x4b06b0
mov dword [esi + 0x440], 0x4b0800
mov dword [esi + 0x43c], 0x4b06b0
mov dword [esi + 0x444], 0x4b0800
mov al, byte [ebx + 0xb21]
mov byte [esi + 0x523], al
test byte [edx + 0x44], 0x10
je 0x4ada1b
push esi
call fcn.004b18b0
mov eax, dword [esi + 0x548]
lea ecx, [esp + 0x17]
push ecx
push esi
mov eax, dword [eax + 0x14]
call eax
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4ad9fc
mov byte [esi + 0x506], 1
push esi
push dword [ebx + 0xcd0]
call fcn.004a9130
mov edi, eax
add esp, 8
test edi, edi
jne 0x4add3b
push ebx
call fcn.004afef0
mov edi, eax
add esp, 4
test edi, edi
je 0x4ad9e2
mov eax, dword [esi + 0x548]
push 0
push edi
push esi
mov eax, dword [eax + 0xc]
call eax
jmp 0x4add38
push esi
push ebx
call fcn.004a1740
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.004b6e00
add esp, 0x20
push esi
push ebx
call fcn.004ac550
add esp, 8
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004e635f
add esp, 0x34
ret
mov eax, dword [ebx + 0x9bc]
mov dword [ebx + 0x850], eax
mov eax, dword [ebx + 0x9c0]
mov dword [ebx + 0x8ac], eax
mov eax, dword [ebx + 0x9c4]
mov dword [ebx + 0x854], eax
mov eax, dword [ebx + 0x9c8]
mov dword [ebx + 0x8b0], eax
mov eax, dword [ebx + 0x9e8]
mov dword [ebx + 0x85c], eax
mov dword [ebx + 0x8b8], eax
mov eax, dword [ebx + 0x9e4]
mov dword [ebx + 0x860], eax
mov dword [ebx + 0x8bc], eax
mov eax, dword [ebx + 0x9d4]
mov dword [ebx + 0x864], eax
mov eax, dword [ebx + 0x9d8]
mov dword [ebx + 0x8c0], eax
mov eax, dword [ebx + 0x9dc]
mov dword [ebx + 0x868], eax
mov eax, dword [ebx + 0x9e0]
mov dword [ebx + 0x8c4], eax
mov eax, dword [ebx + 0x9cc]
mov dword [ebx + 0x86c], eax
mov eax, dword [ebx + 0x9d0]
mov dword [ebx + 0x8c8], eax
mov eax, dword [ebx + 0x9f0]
mov dword [ebx + 0x878], eax
mov eax, dword [ebx + 0x9f4]
mov dword [ebx + 0x8d4], eax
mov eax, dword [ebx + 0x9f8]
mov dword [ebx + 0x87c], eax
mov eax, dword [ebx + 0x9fc]
mov edx, dword [ebx + 0x954]
mov ecx, dword [ebx + 0x958]
mov dword [ebx + 0x8d8], eax
mov eax, dword [ebx + 0x95c]
mov dword [ebx + 0x88c], eax
mov eax, dword [ebx + 0x960]
mov dword [ebx + 0x8e8], eax
mov eax, dword [ebx + 0x988]
mov dword [ebx + 0x890], eax
mov eax, dword [ebx + 0x98c]
mov dword [ebx + 0x8ec], eax
mov eax, dword [ebx + 0x998]
mov dword [ebx + 0x894], eax
mov eax, dword [ebx + 0x99c]
mov dword [ebx + 0x8f0], eax
mov eax, dword [ebx + 0x990]
mov dword [ebx + 0x898], eax
mov eax, dword [ebx + 0x994]
mov dword [ebx + 0x8f4], eax
lea eax, [esi + 0x4ac]
push eax
lea eax, [ebx + 0x848]
mov dword [ebx + 0x888], edx
push eax
mov dword [ebx + 0x8e4], ecx
mov dword [ebx + 0x858], edx
mov dword [ebx + 0x8b4], ecx
call fcn.004a9ec0
add esp, 8
test al, al
je 0x4adb9f
lea eax, [esi + 0x4d8]
push eax
lea eax, [ebx + 0x8a4]
push eax
call fcn.004a9ec0
add esp, 8
test al, al
jne 0x4adbb9
mov edi, 0x1b
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004e635f
add esp, 0x34
ret
push ebx
call fcn.004af460
add esp, 4
cmp byte [ebx + 0xb15], 0
je 0x4adbd8
cmp byte [ebx + 0x1035], 0
je 0x4adc86
cmp byte [ebx + 0xb19], 0
jne 0x4adc86
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
call fcn.004ab450
add esp, 0x14
test al, al
je 0x4adc86
mov edi, dword [esp + 0x14]
push edi
push esi
call fcn.004afba0
push dword [esi + 0x4a8]
call dword [0x520080]
push esi
call dword [0x520080]
mov eax, dword [esp + 0x30]
mov esi, edi
add esp, 0x10
mov dword [eax], edi
cmp dword [esi + 0x32c], 0
je 0x4adc40
mov eax, dword [esi + 0x330]
jmp 0x4adc57
cmp dword [esi + 0x34c], 0
je 0x4adc51
mov eax, dword [esi + 0x350]
jmp 0x4adc57
mov eax, dword [esi + 0x308]
cmp byte [esi + 0x50d], 0
mov ecx, 0x50ded8
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push dword [esi + 0x2b0]
push str.Re_using_existing_connection____ld__with__s__s_n
push ebx
call fcn.004b04d0
add esp, 0x14
jmp 0x4addfd
mov eax, dword [esi + 0x548]
test dword [eax + 0x44], 0x100
je 0x4adcb5
cmp byte [ebx + 0xb23], 0
je 0x4adca5
mov byte [esi + 0x525], 1
cmp byte [ebx + 0xb22], 0
je 0x4adcb5
mov byte [esi + 0x524], 1
cmp byte [esp + 0x13], 0
jne 0x4add18
lea eax, [esp + 0x14]
push eax
push dword [ebx + 0xcd0]
push esi
call fcn.004a9620
mov ebp, dword [esp + 0x30]
add esp, 0xc
test ebp, ebp
je 0x4add50
test eax, eax
je 0x4add50
cmp dword [eax + 4], ebp
jb 0x4add50
push eax
push ebx
call fcn.004a9420
push ebx
mov edi, eax
call fcn.004a9b60
add esp, 0xc
test edi, edi
je 0x4add05
push 0
push edi
push ebx
call fcn.004ac240
add esp, 0xc
jmp 0x4add59
push ebp
push dword [esp + 0x18]
push str.No_more_connections_allowed_to_host__s:__zu_n
push ebx
call fcn.004b04d0
add esp, 0x10
push str.No_connections_available._n
push ebx
call fcn.004b04d0
push esi
call fcn.004ad240
mov eax, dword [esp + 0x2c]
mov edi, 0x59
mov dword [eax], 0
add esp, 0xc
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004e635f
add esp, 0x34
ret
push ebx
call fcn.004a9b60
add esp, 4
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4add8b
push ebx
call fcn.004a9b20
add esp, 4
cmp eax, edi
jb 0x4add8b
push ebx
call fcn.004a94d0
add esp, 4
test eax, eax
je 0x4adf39
push 0
push eax
push ebx
call fcn.004ac240
add esp, 0xc
push esi
push dword [ebx + 0xcd0]
call fcn.004a9130
mov edi, eax
add esp, 8
test edi, edi
jne 0x4add3b
test byte [ebx + 0xd74], 0x28
je 0x4addcc
cmp byte [ebx + 0xd7c], al
je 0x4addcc
push str.NTLM_picked_AND_auth_done_set__clear_picked__n
push ebx
call fcn.004b04d0
add esp, 8
mov dword [ebx + 0xd74], edi
mov byte [ebx + 0xd7c], 0
test byte [ebx + 0xd84], 0x28
je 0x4addfd
cmp byte [ebx + 0xd8c], 0
je 0x4addfd
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked__n
push ebx
call fcn.004b04d0
add esp, 8
mov dword [ebx + 0xd84], 0
mov byte [ebx + 0xd8c], 0
push esi
push ebx
call fcn.004ac550
push ebx
call fcn.004afef0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4add3b
push dword [esp + 0x2c]
mov eax, dword [ebx + 0x5d8]
mov dword [esi + 0x5e0], eax
mov eax, dword [ebx + 0x628]
push esi
push ebx
mov dword [esi + 0x5e4], eax
call fcn.004af910
lea edx, [esi + 0x2fc]
add esp, 0xc
mov edi, eax
test edx, edx
je 0x4ade6b
mov edx, dword [edx + 8]
test edx, edx
je 0x4ade6b
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ade55
sub ecx, ebx
je 0x4ade6b
cmp byte [edx + ecx - 1], 0x2e
jne 0x4ade6b
mov byte [edx + ecx - 1], al
cmp byte [esi + 0x50e], 0
je 0x4adea6
lea edx, [esi + 0x344]
test edx, edx
je 0x4adea6
mov edx, dword [edx + 8]
test edx, edx
je 0x4adea6
mov ecx, edx
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ade90
sub ecx, ebx
je 0x4adea6
cmp byte [edx + ecx - 1], 0x2e
jne 0x4adea6
mov byte [edx + ecx - 1], al
cmp byte [esi + 0x50f], 0
je 0x4adedb
lea edx, [esi + 0x324]
test edx, edx
je 0x4adedb
mov edx, dword [edx + 8]
test edx, edx
je 0x4adedb
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4adec5
sub ecx, ebx
je 0x4adedb
cmp byte [edx + ecx - 1], 0x2e
jne 0x4adedb
mov byte [edx + ecx - 1], al
cmp byte [esi + 0x50b], 0
je 0x4add3b
lea edx, [esi + 0x314]
test edx, edx
je 0x4add3b
mov edx, dword [edx + 8]
test edx, edx
je 0x4add3b
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4adf06
sub ecx, esi
je 0x4add3b
cmp byte [ecx + edx - 1], 0x2e
jne 0x4add3b
mov byte [ecx + edx - 1], al
mov eax, edi
mov ecx, dword [esp + 0x40]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e635f
add esp, 0x34
ret
push str.No_connections_available_in_cache_n
push ebx
call fcn.004b04d0
add esp, 8
jmp 0x4add18