Function at 0x4120e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520576
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x58b18c]
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 0x41243a
cmp dword [esi + 0x7c], 0
je 0x41243a
mov eax, dword [esi + 4]
cmp eax, dword [esi]
jbe 0x41243a
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0
push 0x55b5ec
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x158], xmm0
call fcn.004185e0
lea eax, [esi + 0x24]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x412172
mov eax, dword [eax]
push ecx
push eax
push 0
lea ecx, [ebp - 0x158]
call fcn.00419850
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x12c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x140], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x130], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x140]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [esi + 0x54]
push eax
mov byte [ebp - 4], 1
call fcn.00414cd0
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov byte [ebp - 4], 3
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x41225e
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412254
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412454
push ecx
push edx
call fcn.004f79ae
add esp, 8
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x144]
cmp ecx, 0x10
jb 0x4122b7
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4122ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412454
push ecx
push edx
call fcn.004f79ae
add esp, 8
cmp dword [esi + 0x80], 0x10
lea edx, [esi + 0x6c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
jb 0x4122e0
mov edx, dword [edx]
cmp dword [0x5990ac], 0x10
mov ecx, 0x599098
push edx
cmovae ecx, dword [0x599098]
mov eax, 0x599080
cmp dword [0x599094], 0x10
push ecx
cmovae eax, dword [0x599080]
push eax
push str.ftp:___s__s__s
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.0040a250
add esp, 0x18
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], 0x10
cmovae eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0040f390
test al, al
je 0x412404
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x412371
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.0040a250
add esp, 0x10
mov edx, esi
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
lea ecx, [ebp - 0x128]
cmp dword [ebp - 0x114], 0x10
cmovae ecx, dword [ebp - 0x128]
call fcn.004cd2c0
test al, al
jne 0x412459
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
push str.1Couldnt_start_the_temporary_version:_3_s_n
push 0x200
push esi
call fcn.0040a250
add esp, 0x10
mov edx, esi
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x41243a
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412430
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412483
push ecx
push edx
call fcn.004f79ae
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.004f7466
mov esp, ebp
pop ebp
ret
call fcn.005094c8
mov eax, dword [0x598bf0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41246b
push eax
call esi
mov eax, dword [0x598bf4]
test eax, eax
je 0x412477
push eax
call esi
call fcn.0040ef50
push 0
call fcn.0050888c
call fcn.005094c8
int3