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

Disassembly:
push 0xffffffffffffffff
push 0x1003ea96
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x10052120]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10052120]
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 0x10015a41
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 0x10015a41
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.10015180
test al, al
je 0x100157df
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov eax, dword [esp + 0x20]
add edx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x100157df
jb 0x1001577e
cmp edx, 0xffffe
ja 0x100157df
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.10004e10
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 0x100157db
jb 0x100157c4
cmp eax, ebx
jae 0x100157db
mov byte [esp + 0x1b], cl
lea ecx, [esp + 0x1b]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10004e10
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jne 0x10015823
mov dword [esp + 0x4a8], 0xffffffff
test edi, edi
je 0x10015a41
push edi
call fcn.1002dcc0
add esp, 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jmp 0x10015a41
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.1001bca0
lea eax, [esp + 0x3c]
sub ebx, edi
push eax
push ebx
push edi
call fcn.1001bd40
test al, al
je 0x10015a1c
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 0x10015a1c
test edi, edi
je 0x10015a1c
push edi
mov ecx, esi
call fcn.10016350
imul eax, edi, 0x69d
push eax
push ebx
push dword [esi]
call fcn.1002e2a0
xor eax, eax
push 0x208
push eax
mov word [esp + 0x90], ax
lea eax, [esp + 0x92]
push eax
call fcn.1002ee90
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.1002ee90
mov ebx, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x50], 0x104
cmp dword [ebx + 0x103c], 0
jne 0x10015938
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 0x10015961
push str.GetUserNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10015961
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 0x100159c4
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 0x10015990
mov edi, dword [esi]
cmp edi, dword [esi + 4]
je 0x10015a1c
cmp byte [edi + 0x69c], 1
je 0x100159d9
mov dword [esi + 4], edi
jmp 0x10015a0b
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.1002fbbc
add esp, 8
test eax, eax
jne 0x10015a06
lea eax, [esp + 0x28c]
push eax
lea eax, [edi + 0x280]
push eax
call fcn.1002fbbc
add esp, 8
test eax, eax
je 0x10015a0b
mov eax, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x10015a1c
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x4a8], 0
lea ecx, [esp + 0x3c]
call fcn.10004de0
mov dword [esp + 0x4a8], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.10004de0
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.1002d43e
add esp, 0x498
ret 8