Function at 0x405cf0
Capabilities:
Delete file
Get hostname
Get session user name
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50033b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
call fcn.004d8530
add esp, 0xc
mov dword [ebp - 0x234], 0x104
lea ecx, [ebp - 0x230]
push 6
push 0x532b10
call fcn.004080f0
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x244], ax
mov dword [ebp - 0x23a], eax
mov word [ebp - 0x236], ax
lea eax, [ebp - 0x244]
push eax
movq qword [ebp - 0x242], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x238]
push eax
movzx eax, word [ebp - 0x23a]
push eax
movzx eax, word [ebp - 0x23c]
push eax
movzx eax, word [ebp - 0x23e]
push eax
movzx eax, word [ebp - 0x242]
push eax
movzx eax, word [ebp - 0x244]
push eax
lea eax, [ebp - 0x218]
push str._d__d__d__d:_d:_d
push eax
call fcn.00408e20
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x405e03
xor ecx, ecx
jmp 0x405e1f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405e10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 6
push 0x532b44
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0xb0]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408220
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0xc8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408220
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 6
push 0x532b54
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 4
push str._N:g_rT
lea ecx, [ebp - 0x230]
call fcn.004080f0
cmp word [ebp - 0x218], 0
jne 0x405f1a
xor ecx, ecx
jmp 0x405f32
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405f23
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 4
push str._u7b_rT
lea ecx, [ebp - 0x230]
call fcn.004080f0
cmp word [ebp - 0x218], 0
jne 0x405f95
xor ecx, ecx
jmp 0x405faf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405fa0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 5
push 0x532b7c
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x68]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408220
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 5
push str._g:gI
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x80]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408220
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 6
push 0x532b94
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x98]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408220
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 6
push 0x532ba4
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xc
push 0x532bb4
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0xe0]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408220
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 9
push str.version:
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0xf8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408220
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 5
push 0x532be4
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x110]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408220
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 6
push 0x532bf0
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
mov edi, dword [ebx + 0x130]
mov esi, dword [edi]
cmp esi, edi
je 0x4061ac
push 0xffffffffffffffff
push 0
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408220
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
mov esi, dword [esi]
cmp esi, edi
jne 0x406181
push 2
push 0x532964
lea ecx, [ebp - 0x230]
call fcn.004080f0
push 0xfde9
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x25c]
call fcn.004175d0
lea esi, [ebx + 0x38]
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x4061e4
mov eax, dword [esi]
jmp 0x4061e6
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x260], 0
jb 0x4061ff
mov esi, dword [esi]
push 0x532c00
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.004de1a4
add esp, 0xc
test eax, eax
je 0x406223
push str._wfopen_s___failed__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x260]
cmp dword [ebp - 0x248], 0x10
lea eax, [ebp - 0x25c]
push dword [ebp - 0x24c]
cmovae eax, dword [ebp - 0x25c]
push 1
push eax
call fcn.004de530
push dword [ebp - 0x260]
call fcn.004de278
mov eax, dword [ebp - 0x248]
add esp, 0x14
cmp eax, 0x10
jb 0x4062a9
mov ecx, dword [ebp - 0x25c]
inc eax
cmp eax, 0x1000
jb 0x4062a0
test cl, 0x1f
je 0x40627c
call fcn.004db752
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x406288
call fcn.004db752
sub ecx, eax
cmp ecx, 4
jae 0x406294
call fcn.004db752
cmp ecx, 0x23
jbe 0x40629e
call fcn.004db752
mov ecx, eax
push ecx
call fcn.0048f980
add esp, 4
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], 0
mov byte [ebp - 0x25c], 0
cmp eax, 8
jb 0x4062e2
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004024e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret