Function at 0x413a20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554416
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5ca1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x20], 0
jne 0x413d86
cmp dword [esi + 0x7c], 0
je 0x413d86
mov eax, dword [esi + 4]
cmp eax, dword [esi]
jbe 0x413d86
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
push 0x593bac
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x244], 0
movups xmmword [ebp - 0x258], xmm0
call fcn.0040f680
lea eax, [esi + 0x24]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x413ab2
mov eax, dword [eax]
push ecx
push eax
push 0
lea ecx, [ebp - 0x258]
call fcn.0041ade0
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x22c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x240], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x230], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [esi + 0x54]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x413b19
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004177a0
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x214], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x228], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x218], xmm0
mov byte [ebp - 4], 3
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0xf
jbe 0x413baa
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413ba0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413da0
push ecx
push edx
call fcn.00524a57
add esp, 8
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x244]
cmp ecx, 0xf
jbe 0x413c03
mov edx, dword [ebp - 0x258]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413bf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413da0
push ecx
push edx
call fcn.00524a57
add esp, 8
cmp dword [esi + 0x80], 0xf
lea edx, [esi + 0x6c]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
jbe 0x413c2c
mov edx, dword [edx]
cmp dword [0x5de79c], 0xf
mov ecx, 0x5de788
push edx
cmova ecx, dword [0x5de788]
mov eax, 0x5de770
cmp dword [0x5de784], 0xf
push ecx
cmova eax, dword [0x5de770]
push eax
push str.ftp:___s__s__s
lea eax, [ebp - 0x210]
push 0x200
push eax
call fcn.0040aa20
add esp, 0x18
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 0xf
cmova eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x214], 0xf
lea eax, [ebp - 0x228]
cmova eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00410030
test al, al
je 0x413d50
cmp dword [esi + 0x1c], 0xf
lea eax, [esi + 8]
jbe 0x413cbd
mov eax, dword [eax]
push eax
push str.2Downloaded_latest_version_of_5Tiny6Rcon2:_1v_s_n
add esi, 0x284
push 0x200
push esi
call fcn.0040aa20
add esp, 0x10
mov edx, esi
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x5de260]
call fcn.004dbe00
add esp, 0x14
lea ecx, [ebp - 0x228]
cmp dword [ebp - 0x214], 0xf
cmova ecx, dword [ebp - 0x228]
call fcn.004f8390
test al, al
jne 0x413da5
cmp dword [ebp - 0x214], 0xf
lea eax, [ebp - 0x228]
cmova eax, dword [ebp - 0x228]
push eax
push str.1Couldnt_start_the_temporary_version:_3_s_n
push 0x200
push esi
call fcn.0040aa20
add esp, 0x10
mov edx, esi
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x5de260]
call fcn.004dbe00
add esp, 0x14
mov ecx, dword [ebp - 0x214]
cmp ecx, 0xf
jbe 0x413d86
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413d7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413db1
push ecx
push edx
call fcn.00524a57
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052450f
mov esp, ebp
pop ebp
ret
call fcn.0053ce3a
call fcn.0040fc10
push 0
call fcn.0053c1fe
call fcn.0053ce3a
int3