Function at 0x44c4f0
Capabilities:
Delete file
Encode data using xor
Get file size
Move file
Read file on windows
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3dc0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x678dc8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0xf0]
call fcn.0045e160
mov dword [ebp - 4], 0
lea edi, [ebp - 0x110]
mov ecx, dword [ebp - 0xe0]
lea edx, [edi + 2]
mov dword [ebp - 0x110], 0xad6ab834
mov dword [ebp - 0x10c], 0x873f9a5c
mov dword [ebp - 0x108], 0x51d904b2
mov dword [ebp - 0x104], 0x864f5eaf
movaps xmm1, xmmword [ebp - 0x110]
mov dword [ebp - 0x90], 0xad0fb86b
mov dword [ebp - 0x8c], 0x875c9a32
mov dword [ebp - 0x88], 0x51a004c0
mov dword [ebp - 0x84], 0x863b5edf
pxor xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x100], 0x705b3510
mov dword [ebp - 0xfc], 0x59cf328
mov dword [ebp - 0xf8], 0x41b1e62
mov dword [ebp - 0xf4], 0x60eff0d5
movaps xmmword [ebp - 0x110], xmm1
movaps xmm1, xmmword [ebp - 0x100]
mov dword [ebp - 0x80], 0x703f3575
mov dword [ebp - 0x7c], 0x59cf328
mov dword [ebp - 0x78], 0x41b1e62
mov dword [ebp - 0x74], 0x60eff0d5
pxor xmm1, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0x100], xmm1
mov dword [ebp - 0x12c], ecx
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x44c616
sub edi, edx
mov eax, 0x7ffffffe
sar edi, 1
sub eax, ecx
cmp eax, edi
jb 0x44d0be
cmp dword [ebp - 0xdc], 8
lea edx, [ebp - 0xf0]
mov esi, 7
mov dword [ebp - 0xc8], 0
cmovae edx, dword [ebp - 0xf0]
lea eax, [ebp - 0xd8]
add ecx, edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0xc4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], eax
movups xmmword [ebp - 0xd8], xmm0
cmp ecx, esi
jbe 0x44c727
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x44c6a8
mov eax, closesocket
mov esi, 0x7ffffffe
add eax, eax
jmp 0x44c6c9
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x44d0c3
add eax, eax
cmp eax, 0x1000
jb 0x44c6fe
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x44d0c3
push ecx
call fcn.005c7829
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x44d0c8
mov edx, dword [ebp - 0x120]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x11c]
jmp 0x44c71b
test eax, eax
je 0x44c719
push eax
call fcn.005c7829
mov ecx, dword [ebp - 0x11c]
add esp, 4
mov edx, dword [ebp - 0x120]
jmp 0x44c71b
xor eax, eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc4], esi
mov esi, dword [ebp - 0x12c]
add esi, esi
mov dword [ebp - 0xc8], ecx
push esi
push edx
push eax
call fcn.005c9000
add esp, 0xc
lea eax, [edi + edi]
mov edi, dword [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [esi + edi]
push eax
call fcn.005c9000
mov eax, dword [ebp - 0x11c]
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
push ecx
push 0x80
push 3
mov word [edi + eax*2], cx
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
push ecx
cmovae eax, dword [ebp - 0xf0]
push 1
push connect
push eax
call esi
cmp dword [ebp - 0xc4], 8
lea ecx, [ebp - 0xd8]
push 0
cmovae ecx, dword [ebp - 0xd8]
mov edi, eax
push 0x80
push 1
push 0
push 0
push 0x40000000
push ecx
mov dword [ebp - 0x118], edi
call esi
mov edx, eax
mov dword [ebp - 0x11c], edx
test edi, edi
je 0x44cee9
test edx, edx
je 0x44cee9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
test edi, edi
je 0x44ce3a
push edi
call fcn.005d6457
mov esi, eax
add esp, 4
test esi, esi
je 0x44cce3
push 0
lea eax, [ebp - 0x124]
push eax
push edi
push esi
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44c9ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], 0xcf6ed63e
mov dword [ebp - 0x5c], 0xf37cff5e
mov dword [ebp - 0x58], 0x34d224af
mov dword [ebp - 0x54], 0xe01b3abe
mov dword [ebp - 0x50], 0x50525a07
mov dword [ebp - 0x4c], 0x70ec9d41
mov dword [ebp - 0x48], 0x6d7d3e16
mov dword [ebp - 0x44], 0x48cf95b9
mov dword [ebp - 0x40], 0x6a97f5ea
mov dword [ebp - 0x3c], 0xa713de24
mov dword [ebp - 0x38], 0x28fe270
mov dword [ebp - 0x34], 0x7fdf6346
mov dword [ebp - 0x30], 0x39e718d9
mov dword [ebp - 0x2c], 0x414bfbfc
mov dword [ebp - 0x28], 0x12771dd6
mov dword [ebp - 0x24], 0x6f59e049
mov dword [ebp - 0xb0], 0xad0fb86b
mov dword [ebp - 0xac], 0x875c9a32
mov dword [ebp - 0xa8], 0x51a004c0
mov dword [ebp - 0xa4], 0x863b5edf
movaps xmm1, xmmword [ebp - 0xb0]
pxor xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0x703f3575
mov dword [ebp - 0x9c], 0x59cf328
mov dword [ebp - 0x98], 0x41b1e62
mov dword [ebp - 0x94], 0x60eff0d5
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x5e5878f
mov dword [ebp - 0x8c], 0xc870fe56
mov dword [ebp - 0x88], 0x22b58714
mov dword [ebp - 0x84], 0x75f60763
pxor xmm1, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x40], xmm1
movaps xmm1, xmmword [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x80], 0x39e718d9
mov dword [ebp - 0x7c], 0x414bfbfc
mov dword [ebp - 0x78], 0x12771dd6
mov dword [ebp - 0x74], 0x6f59e049
pxor xmm1, xmmword [ebp - 0x80]
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.0044b300
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push dword [ebp - 0x118]
call esi
mov edi, dword [ebp - 0x11c]
push edi
call esi
jmp 0x44cffa
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
cmp eax, edi
jne 0x44cb29
cmp dword [esi], 0x905a4d
mov edi, 1
je 0x44c9fb
xor edx, edx
test eax, eax
je 0x44c9fb
mov al, byte [edx + esi]
lea ecx, [edi + 1]
xor al, byte [ebx + 8]
sub al, cl
mov byte [edx + esi], al
inc edx
cmp edi, 0xe
mov eax, 1
cmovne eax, ecx
mov edi, eax
mov eax, dword [ebp - 0x120]
cmp edx, eax
jb 0x44c9d5
mov edi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x128]
push 0
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44cb1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x50], 0xd966ca3c
mov dword [ebp - 0x4c], 0xeb35dc57
mov dword [ebp - 0x48], 0x30c624a5
mov dword [ebp - 0x44], 0xe25e32b6
mov dword [ebp - 0x40], 0x25a1d55
mov dword [ebp - 0x3c], 0x25ee9c5a
mov dword [ebp - 0x38], 0x617f7101
mov dword [ebp - 0x34], 0x4cad0ef
mov dword [ebp - 0x30], 0x5e58da6
mov dword [ebp - 0x2c], 0xc870fe56
mov dword [ebp - 0x28], 0x22b58714
mov dword [ebp - 0x24], 0x75f60763
mov dword [ebp - 0xa0], 0xad0fb86b
mov dword [ebp - 0x9c], 0x875c9a32
mov dword [ebp - 0x98], 0x51a004c0
mov dword [ebp - 0x94], 0x863b5edf
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x703f3575
mov dword [ebp - 0x8c], 0x59cf328
mov dword [ebp - 0x88], 0x41b1e62
mov dword [ebp - 0x84], 0x60eff0d5
pxor xmm1, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x40], xmm1
movaps xmm1, xmmword [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x80], 0x5e5878f
mov dword [ebp - 0x7c], 0xc870fe56
mov dword [ebp - 0x78], 0x22b58714
mov dword [ebp - 0x74], 0x75f60763
pxor xmm1, xmmword [ebp - 0x80]
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.0044b300
add esp, 8
push esi
call fcn.005d1b1e
add esp, 4
jmp 0x44cce9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x120]
mov dword [ebp - 0x70], 0xc360ca3c
mov dword [ebp - 0x6c], 0xe22eba55
mov dword [ebp - 0x68], 0x228060a1
mov dword [ebp - 0x64], 0xaa5e24b6
mov dword [ebp - 0x60], 0x45a7255
mov dword [ebp - 0x5c], 0x71ef9264
mov dword [ebp - 0x58], 0x6b696c27
mov dword [ebp - 0x54], 0x4cacda7
mov dword [ebp - 0x50], 0x6c96a7a3
mov dword [ebp - 0x4c], 0xa6509b2c
mov dword [ebp - 0x48], 0x2d1e271
mov dword [ebp - 0x44], 0x17d66817
mov dword [ebp - 0x40], 0x5c9538bc
mov dword [ebp - 0x3c], 0x61719f9d
mov dword [ebp - 0x38], 0x325b79f3
mov dword [ebp - 0x34], 0xa23893a
mov dword [ebp - 0x30], 0x926b6133
mov dword [ebp - 0x2c], 0x36f4de3e
mov dword [ebp - 0x28], 0x3d79fdc8
mov dword [ebp - 0x24], 0xeacb9107
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0xc0], 0xad0fb86b
mov dword [ebp - 0xbc], 0x875c9a32
mov dword [ebp - 0xb8], 0x51a004c0
mov dword [ebp - 0xb4], 0x863b5edf
pxor xmm1, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x70], xmm1
movaps xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0xb0], 0x703f3575
mov dword [ebp - 0xac], 0x59cf328
mov dword [ebp - 0xa8], 0x41b1e62
mov dword [ebp - 0xa4], 0x60eff0d5
pxor xmm1, xmmword [ebp - 0xb0]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0x5e5878f
mov dword [ebp - 0x9c], 0xc870fe56
mov dword [ebp - 0x98], 0x22b58714
mov dword [ebp - 0x94], 0x75f60763
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x39e718d9
mov dword [ebp - 0x8c], 0x414bfbfc
mov dword [ebp - 0x88], 0x12771dd6
mov dword [ebp - 0x84], 0x6f59e049
pxor xmm1, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x40], xmm1
movaps xmm1, xmmword [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x80], 0xf30e1313
mov dword [ebp - 0x7c], 0xc90bb5a
mov dword [ebp - 0x78], 0x371dd8e8
mov dword [ebp - 0x74], 0xeacb9107
pxor xmm1, xmmword [ebp - 0x80]
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.0044b300
push esi
call fcn.005d1b1e
add esp, 0x14
jmp 0x44cffa
mov edi, dword [ebp - 0x11c]
push dword [ebp - 0x118]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
cmp dword [ebp - 0xdc], 8
lea eax, [ebp - 0xf0]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [ebp - 0xf0]
push eax
call esi
cmp dword [ebp - 0xdc], 8
lea ecx, [ebp - 0xf0]
lea eax, [ebp - 0xd8]
cmovae ecx, dword [ebp - 0xf0]
cmp dword [ebp - 0xc4], 8
push ecx
cmovae eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea eax, [ebp - 0xd8]
jne 0x44ce1d
cmp dword [ebp - 0xc4], 8
cmovae eax, dword [ebp - 0xd8]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], 0xc879d726
mov dword [ebp - 0x8c], 0xe230f374
mov dword [ebp - 0x88], 0x23c52497
mov dword [ebp - 0x84], 0xaa4931ad
mov dword [ebp - 0x80], 0x14505655
mov dword [ebp - 0x7c], 0x61b9d34d
mov dword [ebp - 0x78], 0x41b1e68
mov dword [ebp - 0x74], 0x60eff0d5
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0xad0fb86b
mov dword [ebp - 0x3c], 0x875c9a32
mov dword [ebp - 0x38], 0x51a004c0
mov dword [ebp - 0x34], 0x863b5edf
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x30], 0x703f3575
mov dword [ebp - 0x2c], 0x59cf328
mov dword [ebp - 0x28], 0x41b1e62
mov dword [ebp - 0x24], 0x60eff0d5
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x80], xmm1
call fcn.0044b300
add esp, 8
jmp 0x44cffa
cmp dword [ebp - 0xc4], 8
cmovae eax, dword [ebp - 0xd8]
push eax
call esi
mov byte [ebp - 0x111], 1
jmp 0x44d001
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], 0xcc79d622
mov dword [ebp - 0x8c], 0xa738f35e
mov dword [ebp - 0x88], 0x34cc6da6
mov dword [ebp - 0x84], 0xfc522dff
mov dword [ebp - 0x80], 0x551f0f10
mov dword [ebp - 0x7c], 0x20b4d34c
mov dword [ebp - 0x78], 0x4113706
mov dword [ebp - 0x74], 0x60eff0d5
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0xad0fb86b
mov dword [ebp - 0x3c], 0x875c9a32
mov dword [ebp - 0x38], 0x51a004c0
mov dword [ebp - 0x34], 0x863b5edf
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
mov dword [ebp - 0x30], 0x703f3575
mov dword [ebp - 0x2c], 0x59cf328
mov dword [ebp - 0x28], 0x41b1e62
mov dword [ebp - 0x24], 0x60eff0d5
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x80], xmm1
lea eax, [ebp - 0x90]
push edi
jmp 0x44cff1
mov dword [ebp - 0x50], 0xc166d92d
mov ecx, str.false
mov dword [ebp - 0x4c], 0xf37cfe57
test edx, edx
mov dword [ebp - 0x48], 0x34c424af
mov eax, ecx
mov dword [ebp - 0x44], 0xf6422cbc
mov esi, str.true
mov dword [ebp - 0x40], 0x19591501
cmovne eax, esi
mov dword [ebp - 0x3c], 0x2dbc9644
test edi, edi
mov dword [ebp - 0x38], 0x293b6d47
mov dword [ebp - 0x34], 0x499cd5f5
cmovne ecx, esi
mov dword [ebp - 0x30], 0x5e58785
mov dword [ebp - 0x2c], 0xc870fe56
mov dword [ebp - 0x28], 0x22b58714
mov dword [ebp - 0x24], 0x75f60763
mov dword [ebp - 0xa0], 0xad0fb86b
mov dword [ebp - 0x9c], 0x875c9a32
mov dword [ebp - 0x98], 0x51a004c0
mov dword [ebp - 0x94], 0x863b5edf
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
mov dword [ebp - 0x90], 0x703f3575
mov dword [ebp - 0x8c], 0x59cf328
mov dword [ebp - 0x88], 0x41b1e62
mov dword [ebp - 0x84], 0x60eff0d5
movaps xmm1, xmmword [ebp - 0x90]
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm1
mov dword [ebp - 0x80], 0x5e5878f
mov dword [ebp - 0x7c], 0xc870fe56
mov dword [ebp - 0x78], 0x22b58714
mov dword [ebp - 0x74], 0x75f60763
movaps xmm1, xmmword [ebp - 0x80]
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x30], xmm1
lea eax, [ebp - 0x50]
push ecx
push eax
call fcn.0044b300
add esp, 0xc
mov byte [ebp - 0x111], 0
mov ecx, dword [ebp - 0xc4]
cmp ecx, 8
jb 0x44d041
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44d037
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d0c8
push ecx
push edx
call fcn.005c77f8
add esp, 8
mov ecx, dword [ebp - 0xdc]
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
cmp ecx, 8
jb 0x44d09a
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44d090
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d0c8
push ecx
push edx
call fcn.005c77f8
add esp, 8
mov al, byte [ebp - 0x111]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c77ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0044b530
call fcn.0044b490
call fcn.005d1d6e
int3