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

Disassembly:
push 0xffffffffffffffff
push 0x41c1f6
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x426008]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x426008]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x4b0]
mov esi, dword [esp + 0x4b4]
mov dword [esp + 0x28], eax
test eax, eax
je 0x408eb1
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x408eb1
push 0
push 0
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movq qword [esp + 0x30], xmm0
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4a8], ebx
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x28]
push eax
lea eax, [esp + 0x40]
movlpd qword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x24]
movlpd qword [esp + 0x44], xmm0
push eax
movlpd qword [esp + 0x60], xmm0
call fcn.004085f0
test al, al
je 0x408c4f
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov eax, dword [esp + 0x20]
add edx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x408c4f
jb 0x408bee
cmp edx, 0xffffe
ja 0x408c4f
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00405340
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
mov edi, dword [esp + 0x30]
push 0
push eax
push ebx
push edi
push ebp
mov dword [esp + 0x68], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp ecx, dword [esp + 0x20]
ja 0x408c4b
jb 0x408c34
cmp eax, ebx
jae 0x408c4b
mov byte [esp + 0x1b], cl
lea ecx, [esp + 0x1b]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00405340
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jne 0x408c93
mov dword [esp + 0x4a8], 0xffffffff
test edi, edi
je 0x408eb1
push edi
call fcn.0040eef6
add esp, 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jmp 0x408eb1
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x4a8], 1
lea ecx, [esp + 0x5c]
call fcn.0040c660
lea eax, [esp + 0x3c]
sub ebx, edi
push eax
push ebx
push edi
call fcn.0040c920
test al, al
je 0x408e8c
mov eax, dword [esp + 0x40]
xor edx, edx
mov ebx, dword [esp + 0x3c]
mov ecx, 0x69d
sub eax, ebx
div ecx
mov edi, eax
test edx, edx
jne 0x408e8c
test edi, edi
je 0x408e8c
push edi
mov ecx, esi
call fcn.0040a2e0
imul eax, edi, 0x69d
push eax
push ebx
push dword [esi]
call fcn.0040f420
xor eax, eax
push 0x208
push eax
mov word [esp + 0x90], ax
lea eax, [esp + 0x92]
push eax
call fcn.00416110
add esp, 0x18
mov dword [esp + 0x50], 0x104
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
push 0x208
push eax
mov word [esp + 0x28a], ax
mov word [esp + 0x294], ax
lea eax, [esp + 0x296]
push eax
call fcn.00416110
mov ebx, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x50], 0x104
cmp dword [ebx + 0x103c], 0
jne 0x408da8
push str.AdvApi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0x103c], eax
mov eax, dword [ebx + 0x103c]
test eax, eax
je 0x408dd1
push str.GetUserNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408dd1
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x290]
push ecx
call eax
mov ecx, dword [esi + 4]
xor eax, eax
sub ecx, dword [esi]
xor ebx, ebx
mov word [esp + 0x492], ax
mov eax, 0x9ad70599
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x408e34
xor edi, edi
lea esp, [esp]
mov eax, dword [esi]
lea edi, [edi + 0x69d]
xor ecx, ecx
inc ebx
mov word [eax + edi - 0x41f], cx
mov word [eax + edi - 0x1f], cx
mov eax, 0x9ad70599
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x408e00
mov edi, dword [esi]
cmp edi, dword [esi + 4]
je 0x408e8c
cmp byte [edi + 0x69c], 1
je 0x408e49
mov dword [esi + 4], edi
jmp 0x408e7b
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.0041ab24
add esp, 8
test eax, eax
jne 0x408e76
lea eax, [esp + 0x28c]
push eax
lea eax, [edi + 0x280]
push eax
call fcn.0041ab24
add esp, 8
test eax, eax
je 0x408e7b
mov eax, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x408e8c
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x4a8], 0
lea ecx, [esp + 0x3c]
call fcn.00405310
mov dword [esp + 0x4a8], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00405310
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.0040e73a
add esp, 0x498
ret 8