Function at 0x405bd0
Capabilities:
Delete file
Get hostname
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x411d2a
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x41b230]
xor eax, esp
mov dword [esp + 0x47c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41b230]
xor eax, esp
push eax
lea eax, [esp + 0x494]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x4a4]
mov esi, dword [esp + 0x4a8]
mov dword [esp + 0x34], eax
test eax, eax
je 0x405f18
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
je 0x405f18
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, ebx
mov edi, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push eax
push dword [esp + 0x40]
mov dword [esp + 0x4ac], ebx
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x60], xmm0
call fcn.00405683
test al, al
jne 0x405cad
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add ecx, 0xffffffff
adc eax, 0xffffffff
cmp eax, ebx
ja 0x405d29
jb 0x405cc9
cmp ecx, 0xffffe
ja 0x405d29
lea eax, [esp + 0x17]
push eax
push dword [esp + 0x28]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], bl
call fcn.004037e0
mov ebp, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x5c], ebx
push ebp
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x50]
cmp ebx, dword [esp + 0x28]
ja 0x405d25
jb 0x405d0e
cmp eax, dword [esp + 0x24]
jae 0x405d25
lea ecx, [esp + 0x17]
push ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], bl
call fcn.004037e0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, edi
je 0x405f0f
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x49c], 1
call fcn.00407a06
lea eax, [esp + 0x44]
push eax
sub edi, ebp
push edi
push ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0x4a8], 2
call fcn.00407adf
test al, al
je 0x405ef5
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x44]
xor edx, edx
mov ecx, 0x69d
div ecx
mov edi, eax
test edx, edx
jne 0x405ef5
test edi, edi
je 0x405ef5
push edi
mov ecx, esi
call fcn.0040744a
imul edi, edi, 0x69d
push edi
push dword [esp + 0x48]
push dword [esi]
call fcn.0040a240
xor eax, eax
mov ebp, 0x208
push ebp
mov word [esp + 0x88], ax
lea eax, [esp + 0x8a]
push ebx
push eax
call fcn.0040a890
add esp, 0x18
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x7c]
mov edi, 0x104
push eax
mov dword [esp + 0x48], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
push ebp
mov word [esp + 0x282], ax
mov word [esp + 0x288], ax
lea eax, [esp + 0x28a]
push ebx
push eax
call fcn.0040a890
mov ebp, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x40], edi
cmp dword [ebp + 0x1044], ebx
jne 0x405e36
push str.AdvApi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp + 0x1044], eax
mov eax, dword [ebp + 0x1044]
test eax, eax
je 0x405e5f
push str.GetUserNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405e5f
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x288]
push ecx
call eax
xor eax, eax
mov word [esp + 0x48a], ax
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov edi, 0x69d
cdq
idiv edi
test eax, eax
je 0x405e9f
mov ecx, ebx
mov eax, dword [esi]
xor edx, edx
mov word [ecx + eax + 0x27e], dx
mov word [ecx + eax + 0x67e], dx
mov eax, dword [esi + 4]
sub eax, dword [esi]
inc ebx
cdq
idiv edi
add ecx, edi
cmp ebx, eax
jb 0x405e7c
mov edi, dword [esi]
cmp edi, dword [esi + 4]
je 0x405ef5
cmp byte [edi + 0x69c], 1
je 0x405eb4
mov dword [esi + 4], edi
jmp 0x405ee4
lea eax, [esp + 0x78]
push eax
push edi
call fcn.0040b11f
pop ecx
pop ecx
test eax, eax
jne 0x405edf
lea eax, [esp + 0x284]
push eax
lea eax, [edi + 0x280]
push eax
call fcn.0040b11f
pop ecx
pop ecx
test eax, eax
je 0x405ee4
mov eax, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x405ef5
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x58]
mov byte [esp + 0x49c], 1
call fcn.00407a9e
lea ecx, [esp + 0x44]
call fcn.004037b0
lea ecx, [esp + 0x18]
call fcn.004037b0
mov ecx, dword [esp + 0x494]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.00408f2b
add esp, 0x48c
ret 8