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

Disassembly:
push 0xffffffffffffffff
push 0x571541
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0x1c]
call fcn.00530b1a
lea eax, [esp + 0x18]
push 0x11
push eax
call fcn.004ef2a0
mov eax, dword [eax]
xor ebp, ebp
push eax
push edi
mov dword [esp + 0xb0], ebp
call fcn.004b08b0
or esi, 0xffffffff
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0xa0], esi
call fcn.00530b8f
push 0x400
lea ecx, [esp + 0x1c]
push ebp
lea edx, [esp + 0x94]
push ecx
push edx
call fcn.0050ba9d
mov ecx, eax
call fcn.0050beca
mov eax, dword [eax]
mov dword [esp + 0xa0], 1
push eax
push str._Generated_at:__s.
push edi
call fcn.004b08b0
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0xa0], esi
call fcn.00530b8f
push 0x5d7b88
push edi
call fcn.004b08b0
mov eax, dword [edi + 4]
add esp, 8
cmp eax, ebp
je 0x4afcaa
push str._Create_TEConnection_object
push edi
call fcn.004b08b0
add esp, 8
push str.Set_MySite__CreateObject__CuteFTPPro.TEConnection__
push edi
call fcn.004b08b0
mov eax, dword [edi + 0x10]
add esp, 8
cmp eax, ebp
jne 0x4afccd
push str._Empty_macro_generated
push edi
call fcn.004b08b0
add esp, 8
mov eax, dword [edi + 0x10]
mov dword [esp + 0x5c], ebp
cmp eax, ebp
mov dword [esp + 0x48], ebp
jle 0x4b07fd
push ebx
mov ebx, 2
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x4c]
mov eax, dword [ecx + edx*4]
mov esi, dword [eax]
test esi, esi
jne 0x4afd03
push eax
mov ecx, edi
call fcn.004b11a0
jmp 0x4b07e8
test ebp, ebp
mov dword [esp + 0x64], 1
je 0x4afd31
lea eax, [esi + 4]
lea ecx, [ebp + 4]
push eax
call fcn.004bdc00
test eax, eax
je 0x4afd29
mov dword [esp + 0x64], 0
jmp 0x4afd31
mov dword [esp + 0x60], 1
lea ecx, [esp + 0x2c]
call fcn.0052b958
mov eax, dword [esi + 0x1b4]
mov dword [esp + 0xa4], ebx
cmp eax, 0x20016
je 0x4afd64
cmp eax, 0x20002
je 0x4afd64
cmp eax, 0x20003
je 0x4afd64
xor edx, edx
mov dword [esp + 0x1c], edx
jmp 0x4afd6e
mov dword [esp + 0x1c], 1
xor edx, edx
cmp eax, 0x20002
jg 0x4b00af
je 0x4b0056
sub eax, 0x10007
cmp eax, 9
ja case.0x4afd95.65547
xor ecx, ecx
mov cl, byte [eax + 0x4b0840]
jmp dword [ecx*4 + 0x4b082c]
mov edx, dword [0x5d2d10]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
mov byte [esp + 0xa8], 8
call fcn.004b0850
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push ecx
push str.MySite.RemoteFolder____s_
push edx
mov byte [esp + 0xb0], 9
call fcn.00528823
add esp, 0xc
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 8
call fcn.00530b8f
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0052bbb2
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.004b0880
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 0xa
call fcn.00528a0b
push 0xa
lea ecx, [esp + 0x24]
call fcn.00531056
test eax, eax
jle 0x4afe5f
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x28]
call fcn.005283d8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 0xb
call fcn.00530cc8
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 0xa
call fcn.00530b8f
push 0x5cc274
lea ecx, [esp + 0x24]
call fcn.0052887f
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call fcn.004b0880
mov edx, dword [eax]
lea eax, [esp + 0x10]
push edx
push str.MySite.RemoteCommand___s_
push eax
mov byte [esp + 0xb0], 0xc
call fcn.00528823
add esp, 0xc
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 0xa
call fcn.00530b8f
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0052bbb2
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 8
call fcn.00530b8f
lea ecx, [esp + 0x10]
jmp 0x4b0388
lea eax, [esi + 0x1a8]
lea ecx, [esp + 0x14]
push eax
call fcn.00530904
mov ecx, dword [0x5d2d10]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
mov byte [esp + 0xa4], 0xe
mov eax, dword [edx - 8]
test eax, eax
je 0x4affe9
push 0xa
lea ecx, [esp + 0x18]
call fcn.00531056
mov ebp, eax
lea ecx, [esp + 0x14]
test ebp, ebp
jl 0x4aff5d
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.005283d8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 0xf
call fcn.00530cc8
lea ecx, [esp + 0x70]
mov byte [esp + 0xa4], 0xe
call fcn.00530b8f
inc ebp
lea ecx, [esp + 0x14]
push ebp
push 0
call fcn.00527f21
jmp 0x4aff70
push ecx
lea ecx, [esp + 0x1c]
call fcn.00530cc8
lea ecx, [esp + 0x14]
call fcn.00530b1a
push 0xa
lea ecx, [esp + 0x1c]
call fcn.005288d2
push 0xd
lea ecx, [esp + 0x1c]
call fcn.005288d2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4affda
mov edx, dword [0x5d2d10]
mov dword [esp + 0x54], edx
push eax
lea eax, [esp + 0x58]
push str.MySite.RemoteRemove___s_
push eax
mov byte [esp + 0xb0], 0x10
call fcn.00528823
mov edx, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0052bbb2
lea ecx, [esp + 0x54]
mov byte [esp + 0xa4], 0xe
call fcn.00530b8f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4aff0b
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 0xd
call fcn.00530b8f
lea ecx, [esp + 0x14]
jmp 0x4b0388
mov ecx, dword [0x5d2d10]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x1a8]
lea eax, [esp + 0x10]
push edx
push str.MySite.CreateRemoteFolder___s_
push eax
mov byte [esp + 0xb0], 0x11
call fcn.00528823
add esp, 0xc
jmp 0x4b0093
mov eax, dword [0x5d2d10]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x1a8]
mov edx, dword [esi + 0x1a4]
push ecx
push edx
mov byte [esp + 0xac], 0x12
push str.MySite.RemoteRename___s_____s_
jmp 0x4b0086
cmp dword [esi + 0x178], edx
jne 0x4b0261
mov eax, dword [0x5d2d10]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x1a4]
mov edx, dword [esi + 0x1a8]
push ecx
push edx
mov byte [esp + 0xac], 0x13
push str.MySite.Download___s_____s_
lea eax, [esp + 0x1c]
push eax
call fcn.00528823
add esp, 0x10
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0052bbb2
lea ecx, [esp + 0x10]
jmp 0x4b0388
mov ecx, eax
sub ecx, 0x20003
je 0x4b020b
sub ecx, 0x11
je 0x4b0261
sub ecx, ebx
jne case.0x4afd95.65547
lea eax, [esi + 0xf4]
lea ecx, [esp + 0x48]
push eax
call fcn.00530904
lea ecx, [esi + 0xf0]
mov byte [esp + 0xa4], 3
push ecx
lea ecx, [esp + 0x60]
call fcn.00530904
lea ecx, [esi + 0x94]
mov byte [esp + 0xa4], 4
call fcn.004bd650
cmp eax, 1
jne 0x4b0156
mov edx, dword [str.anonymous]
lea ecx, [esp + 0x48]
push edx
call fcn.00530d18
lea eax, [esp + 0x8c]
mov ecx, 0x66d030
push eax
call fcn.004d10d0
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 5
call fcn.00530cc8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], 4
call fcn.00530b8f
mov ecx, dword [0x5d2d10]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 0x104]
lea eax, [esp + 0x74]
push edx
push eax
mov byte [esp + 0xac], 6
call fcn.004af600
mov ecx, dword [eax]
mov edx, dword [esi + 0x108]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esi + 0xec]
push eax
mov eax, dword [esi + 0x1a4]
push ecx
mov ecx, dword [esi + 0x1a8]
push edx
push eax
push ecx
lea edx, [esp + 0x64]
push str.MySite.S2Sxfer___s_____s_____s_____s_____s____d____s_
push edx
mov byte [esp + 0xd0], 7
call fcn.00528823
add esp, 0x2c
lea ecx, [esp + 0x74]
mov byte [esp + 0xa4], 6
call fcn.00530b8f
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0052bbb2
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], 4
call fcn.00530b8f
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 3
call fcn.00530b8f
lea ecx, [esp + 0x48]
jmp 0x4b0388
cmp dword [esi + 0x178], edx
jne 0x4b0261
mov edx, dword [0x5d2d10]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x1a8]
mov ecx, dword [esi + 0x1a4]
push eax
push ecx
lea edx, [esp + 0x18]
push str.MySite.Upload___s_____s_
push edx
mov byte [esp + 0xb4], 0x14
call fcn.00528823
mov ecx, dword [esp + 0x44]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0052bbb2
lea ecx, [esp + 0x10]
jmp 0x4b0388
and eax, 0xffff
cmp eax, 3
jne 0x4b0280
mov dword [esp + 0x58], edx
mov eax, dword [esi + 0x178]
cmp eax, 1
jne 0x4b02c7
mov dword [esp + 0x10], edx
jmp 0x4b02e3
cmp eax, ebx
jne 0x4b028e
mov dword [esp + 0x58], 1
jmp 0x4b026f
cmp eax, 0x14
mov dword [esp + 0x58], ebx
jne 0x4b026f
mov eax, dword [esi + 0x178]
cmp eax, 7
jne 0x4b02a8
mov dword [esp + 0x10], edx
jmp 0x4b02e3
cmp eax, 6
jne 0x4b02b7
mov dword [esp + 0x10], 1
jmp 0x4b02e3
xor edx, edx
cmp eax, 5
setne dl
add edx, ebx
mov dword [esp + 0x10], edx
jmp 0x4b02e3
cmp eax, ebx
jne 0x4b02d5
mov dword [esp + 0x10], 1
jmp 0x4b02e3
xor ecx, ecx
cmp eax, 3
setne cl
add ecx, ebx
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x17c]
xor ecx, ecx
mov edx, eax
mov ebp, dword [esi + 0x180]
and edx, 0x10
cmp dl, 0x10
mov edx, eax
sete cl
and edx, 1
dec dl
neg dl
sbb edx, edx
xor ebx, ebx
inc edx
mov dword [esp + 0x78], edx
mov edx, eax
and edx, 4
cmp dl, 4
sete bl
mov edx, ebx
and eax, 8
xor ebx, ebx
cmp al, 8
sete bl
mov eax, ebx
mov ebx, dword [0x5d2d10]
mov dword [esp + 0x50], ebx
push eax
mov eax, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esi + 0x1a4]
push ecx
mov ecx, dword [esp + 0x20]
push ebp
push ecx
mov ecx, dword [esi + 0x1a8]
push edx
push eax
push ecx
lea edx, [esp + 0x74]
push str.MySite.Synchronize___s_____s____d___d___d___d___d___d___d
push edx
mov byte [esp + 0xd0], 0x15
call fcn.00528823
mov ecx, dword [esp + 0x60]
add esp, 0x2c
lea eax, [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0052bbb2
mov ebx, 2
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], bl
call fcn.00530b8f
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4b03aa
push str.MySite.Disconnect
push edi
call fcn.004b08b0
add esp, 8
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4b063a
push 0x5d7b88
push edi
call fcn.004b08b0
mov eax, dword [edi + 4]
add esp, 8
test eax, eax
je 0x4b03d9
push str._Initialize_remote_server_host_name__protocol__port__etc.
push edi
call fcn.004b08b0
add esp, 8
mov edx, dword [esi + 0x5c]
push edx
push str.MySite.Host____s_
push edi
call fcn.004b08b0
mov eax, dword [esi + 0x74]
lea ecx, [esp + 0x8c]
push eax
push ecx
call fcn.004af600
mov edx, dword [eax]
mov byte [esp + 0xb8], 0x16
push edx
push str.MySite.Protocol____s_
push edi
call fcn.004b08b0
add esp, 0x20
lea ecx, [esp + 0x80]
mov byte [esp + 0xa4], bl
call fcn.00530b8f
mov eax, dword [esi + 0x78]
push eax
push str.MySite.Port___d
push edi
call fcn.004b08b0
mov ecx, dword [esi + 0x80]
push ecx
push str.MySite.Retries___d
push edi
call fcn.004b08b0
mov edx, dword [esi + 0x84]
push edx
push str.MySite.Delay___d
push edi
call fcn.004b08b0
mov eax, dword [esi + 0x88]
push eax
push str.MySite.MaxConnections___d
push edi
call fcn.004b08b0
mov eax, dword [esi + 0x16c]
add esp, 0x30
cmp eax, 1
jne 0x4b047f
push str.MySite.TransferType___ASCII_
jmp 0x4b048f
cmp eax, ebx
jne 0x4b048a
push str.MySite.TransferType___BINARY_
jmp 0x4b048f
push str.MySite.TransferType___AUTO_
push edi
call fcn.004b08b0
mov eax, dword [esi + 0x70]
add esp, 8
test eax, eax
jne 0x4b04a6
push str.MySite.DataChannel___PORT_
jmp 0x4b04cf
cmp eax, 1
jne 0x4b04b2
push str.MySite.DataChannel___PASV_
jmp 0x4b04cf
cmp eax, 3
jne 0x4b04be
push str.MySite.DataChannel___EPRT_
jmp 0x4b04cf
cmp eax, 4
jne 0x4b04ca
push str.MySite.DataChannel___EPSV_
jmp 0x4b04cf
push str.MySite.DataChannel___DEFAULT_
push edi
call fcn.004b08b0
mov eax, dword [esi + 0x74]
add esp, 8
cmp eax, 1
je 0x4b04e9
cmp eax, ebx
je 0x4b04e9
cmp eax, 8
jne 0x4b052c
lea ebp, [esi + 4]
mov ecx, ebp
call fcn.004bded0
test eax, eax
je 0x4b04fe
push str.MySite.ClearCommandChannel__true
jmp 0x4b0503
push str.MySite.ClearCommandChannel__false
push edi
call fcn.004b08b0
add esp, 8
mov ecx, ebp
call fcn.004bde50
test eax, eax
je 0x4b051e
push str.MySite.ClearDataConnection__true
jmp 0x4b0523
push str.MySite.ClearDataConnection__false
push edi
call fcn.004b08b0
add esp, 8
mov eax, dword [esi + 0x1a0]
and eax, 4
cmp al, 4
jne 0x4b0540
push str.MySite.AutoRename___ON_
jmp 0x4b0545
push str.MySite.AutoRename___OFF_
push edi
call fcn.004b08b0
mov ecx, dword [esi + 0x64]
add esp, 8
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4b056f
mov edx, dword [str.anonymous]
push edx
push str.MySite.Login____s_
push edi
call fcn.004b08b0
add esp, 0xc
jmp 0x4b05a5
mov eax, dword [edi + 4]
test eax, eax
je 0x4b0584
push str._WARNING____SENSITIVE_DATA:_user_name_and_password.
push edi
call fcn.004b08b0
add esp, 8
mov eax, dword [esi + 0x64]
push eax
push str.MySite.Login____s_
push edi
call fcn.004b08b0
mov ecx, dword [esi + 0x60]
push ecx
push str.MySite.Password____s_
push edi
call fcn.004b08b0
add esp, 0x18
lea edx, [esi + 0x40]
lea eax, [esp + 0x68]
push edx
push eax
call fcn.004af890
mov ecx, dword [esp + 0x70]
mov byte [esp + 0xac], 0x17
push ecx
push str.MySite.SocksInfo____s_
push edi
call fcn.004b08b0
add esp, 0x14
lea ecx, [esp + 0x68]
mov byte [esp + 0xa4], bl
call fcn.00530b8f
lea edx, [esi + 8]
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.004af910
mov ecx, dword [esp + 0x74]
mov byte [esp + 0xac], 0x18
push ecx
push str.MySite.ProxyInfo____s_
push edi
call fcn.004b08b0
add esp, 0x14
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa4], bl
call fcn.00530b8f
mov eax, dword [edi + 4]
test eax, eax
je 0x4b062c
push str._Connect_to_remote_server
push edi
call fcn.004b08b0
add esp, 8
push str.MySite.Connect
push edi
call fcn.004b08b0
add esp, 8
mov ecx, esi
call fcn.0047d770
test eax, eax
jne 0x4b07ae
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b07ae
mov eax, dword [0x5d2d10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x168]
mov byte [esp + 0xa4], 0x1b
mov edx, eax
and edx, ebx
cmp dl, bl
je 0x4b068a
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x4b070f
and eax, 4
cmp al, 4
jne 0x4b06f1
mov ebp, dword [esi + 0x134]
test ebp, ebp
je 0x4b06c1
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x28]
push eax
call fcn.00530fa7
test ebp, ebp
je 0x4b06c1
push 0x5cda84
lea ecx, [esp + 0x2c]
call fcn.00530f6b
jmp 0x4b069b
mov ebp, dword [esi + 0x150]
test ebp, ebp
je 0x4b06f1
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x24]
push eax
call fcn.00530fa7
test ebp, ebp
je 0x4b06f1
push 0x5cda84
lea ecx, [esp + 0x28]
call fcn.00530f6b
jmp 0x4b06cb
mov edx, dword [esi + 0x168]
and edx, 0x20
cmp dl, 0x20
jne 0x4b070f
lea eax, [esi + 0x12c]
lea ecx, [esp + 0x44]
push eax
call fcn.00530cc8
mov eax, dword [esi + 0x1b4]
cmp eax, 0x20002
je 0x4b0746
cmp eax, 0x20016
je 0x4b0746
cmp eax, 0x20003
jne 0x4b0769
mov ecx, dword [esp + 0x28]
push ecx
push str.MySite.LocalFilterInclude____s_
push edi
call fcn.004b08b0
mov edx, dword [esp + 0x30]
push edx
push str.MySite.LocalFilterExclude____s_
jmp 0x4b0760
mov eax, dword [esp + 0x28]
push eax
push str.MySite.RemoteFilterInclude____s_
push edi
call fcn.004b08b0
mov ecx, dword [esp + 0x30]
push ecx
push str.MySite.RemoteFilterExclude____s_
push edi
call fcn.004b08b0
add esp, 0x18
mov edx, dword [esp + 0x44]
push edx
push str.MySite.RemoteSiteFilter____s_
push edi
call fcn.004b08b0
add esp, 0xc
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], 0x1a
call fcn.00530b8f
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 0x19
call fcn.00530b8f
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], bl
call fcn.00530b8f
mov eax, dword [esp + 0x34]
xor ebp, ebp
test eax, eax
jle 0x4b07d2
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ebp*4]
push eax
push edi
call fcn.004b08b0
mov eax, dword [esp + 0x3c]
add esp, 8
inc ebp
cmp ebp, eax
jl 0x4b07b8
mov ebp, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0052b98b
mov eax, dword [esp + 0x4c]
mov ecx, dword [edi + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x4c], eax
jl 0x4afce6
pop ebx
mov eax, dword [edi + 0x10]
test eax, eax
jle 0x4b0812
push str.MySite.Disconnect
push edi
call fcn.004b08b0
add esp, 8
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x98
ret