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], 0xe2ac9a88
mov dword [ebp - 0x10c], 0xe3bc9360
mov dword [ebp - 0x108], 0x63fef09a
mov dword [ebp - 0x104], 0xba51497f
movaps xmm1, xmmword [ebp - 0x110]
mov dword [ebp - 0x90], 0xe2c99ad7
mov dword [ebp - 0x8c], 0xe3df930e
mov dword [ebp - 0x88], 0x6387f0e8
mov dword [ebp - 0x84], 0xba25490f
pxor xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x100], 0x81bbfb3c
mov dword [ebp - 0xfc], 0x8d84d620
mov dword [ebp - 0xf8], 0x4ca9096a
mov dword [ebp - 0xf4], 0xe14dbf41
movaps xmmword [ebp - 0x110], xmm1
movaps xmm1, xmmword [ebp - 0x100]
mov dword [ebp - 0x80], 0x81dffb59
mov dword [ebp - 0x7c], 0x8d84d620
mov dword [ebp - 0x78], 0x4ca9096a
mov dword [ebp - 0x74], 0xe14dbf41
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], 0x80a8f482
mov dword [ebp - 0x5c], 0x97fff662
mov dword [ebp - 0x58], 0x6f5d087
mov dword [ebp - 0x54], 0xdc052d6e
mov dword [ebp - 0x50], 0xa1b2942b
mov dword [ebp - 0x4c], 0xf8f4b849
mov dword [ebp - 0x48], 0x25cf291e
mov dword [ebp - 0x44], 0xc96dda2d
mov dword [ebp - 0x40], 0x10ca179e
mov dword [ebp - 0x3c], 0xab748fa0
mov dword [ebp - 0x38], 0x27eabaf8
mov dword [ebp - 0x34], 0xe75ef616
mov dword [ebp - 0x30], 0xe2686cd
mov dword [ebp - 0x2c], 0xb84a48b4
mov dword [ebp - 0x28], 0xedb3c4ee
mov dword [ebp - 0x24], 0x465efde5
mov dword [ebp - 0xb0], 0xe2c99ad7
mov dword [ebp - 0xac], 0xe3df930e
mov dword [ebp - 0xa8], 0x6387f0e8
mov dword [ebp - 0xa4], 0xba25490f
movaps xmm1, xmmword [ebp - 0xb0]
pxor xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0x81dffb59
mov dword [ebp - 0x9c], 0x8d84d620
mov dword [ebp - 0x98], 0x4ca9096a
mov dword [ebp - 0x94], 0xe14dbf41
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x7fb865fb
mov dword [ebp - 0x8c], 0xc417afd2
mov dword [ebp - 0x88], 0x7d0df9c
mov dword [ebp - 0x84], 0xed779233
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], 0xe2686cd
mov dword [ebp - 0x7c], 0xb84a48b4
mov dword [ebp - 0x78], 0xedb3c4ee
mov dword [ebp - 0x74], 0x465efde5
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], 0x96a0e880
mov dword [ebp - 0x4c], 0x8fb6d56b
mov dword [ebp - 0x48], 0x2e1d08d
mov dword [ebp - 0x44], 0xde402566
mov dword [ebp - 0x40], 0xf3bad379
mov dword [ebp - 0x3c], 0xadf6b952
mov dword [ebp - 0x38], 0x29cd6609
mov dword [ebp - 0x34], 0x85689f7b
mov dword [ebp - 0x30], 0x7fb86fd2
mov dword [ebp - 0x2c], 0xc417afd2
mov dword [ebp - 0x28], 0x7d0df9c
mov dword [ebp - 0x24], 0xed779233
mov dword [ebp - 0xa0], 0xe2c99ad7
mov dword [ebp - 0x9c], 0xe3df930e
mov dword [ebp - 0x98], 0x6387f0e8
mov dword [ebp - 0x94], 0xba25490f
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x81dffb59
mov dword [ebp - 0x8c], 0x8d84d620
mov dword [ebp - 0x88], 0x4ca9096a
mov dword [ebp - 0x84], 0xe14dbf41
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], 0x7fb865fb
mov dword [ebp - 0x7c], 0xc417afd2
mov dword [ebp - 0x78], 0x7d0df9c
mov dword [ebp - 0x74], 0xed779233
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], 0x8ca6e880
mov dword [ebp - 0x6c], 0x86adb369
mov dword [ebp - 0x68], 0x10a79489
mov dword [ebp - 0x64], 0x96403366
mov dword [ebp - 0x60], 0xf5babc79
mov dword [ebp - 0x5c], 0xf9f7b76c
mov dword [ebp - 0x58], 0x23db7b2f
mov dword [ebp - 0x54], 0x85688233
mov dword [ebp - 0x50], 0x16cb45d7
mov dword [ebp - 0x4c], 0xaa37caa8
mov dword [ebp - 0x48], 0x27b4baf9
mov dword [ebp - 0x44], 0x8f57fd47
mov dword [ebp - 0x40], 0x6b54a6a8
mov dword [ebp - 0x3c], 0x98702cd5
mov dword [ebp - 0x38], 0xcd9fa0cb
mov dword [ebp - 0x34], 0x23249496
mov dword [ebp - 0x30], 0x4eef8b1f
mov dword [ebp - 0x2c], 0xfcf371b2
mov dword [ebp - 0x28], 0x3e705630
mov dword [ebp - 0x24], 0xb1cacf17
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0xc0], 0xe2c99ad7
mov dword [ebp - 0xbc], 0xe3df930e
mov dword [ebp - 0xb8], 0x6387f0e8
mov dword [ebp - 0xb4], 0xba25490f
pxor xmm1, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x70], xmm1
movaps xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0xb0], 0x81dffb59
mov dword [ebp - 0xac], 0x8d84d620
mov dword [ebp - 0xa8], 0x4ca9096a
mov dword [ebp - 0xa4], 0xe14dbf41
pxor xmm1, xmmword [ebp - 0xb0]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0x7fb865fb
mov dword [ebp - 0x9c], 0xc417afd2
mov dword [ebp - 0x98], 0x7d0df9c
mov dword [ebp - 0x94], 0xed779233
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0xe2686cd
mov dword [ebp - 0x8c], 0xb84a48b4
mov dword [ebp - 0x88], 0xedb3c4ee
mov dword [ebp - 0x84], 0x465efde5
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], 0x2f8af93f
mov dword [ebp - 0x7c], 0xc69714d6
mov dword [ebp - 0x78], 0x34147310
mov dword [ebp - 0x74], 0xb1cacf17
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], 0x87bff59a
mov dword [ebp - 0x8c], 0x86b3fa48
mov dword [ebp - 0x88], 0x11e2d0bf
mov dword [ebp - 0x84], 0x9657267d
mov dword [ebp - 0x80], 0xe5b09879
mov dword [ebp - 0x7c], 0xe9a1f645
mov dword [ebp - 0x78], 0x4ca90960
mov dword [ebp - 0x74], 0xe14dbf41
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0xe2c99ad7
mov dword [ebp - 0x3c], 0xe3df930e
mov dword [ebp - 0x38], 0x6387f0e8
mov dword [ebp - 0x34], 0xba25490f
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], 0x81dffb59
mov dword [ebp - 0x2c], 0x8d84d620
mov dword [ebp - 0x28], 0x4ca9096a
mov dword [ebp - 0x24], 0xe14dbf41
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], 0x83bff49e
mov dword [ebp - 0x8c], 0xc3bbfa62
mov dword [ebp - 0x88], 0x6eb998e
mov dword [ebp - 0x84], 0xc04c3a2f
mov dword [ebp - 0x80], 0xa4ffc13c
mov dword [ebp - 0x7c], 0xa8acf644
mov dword [ebp - 0x78], 0x4ca3200e
mov dword [ebp - 0x74], 0xe14dbf41
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0xe2c99ad7
mov dword [ebp - 0x3c], 0xe3df930e
mov dword [ebp - 0x38], 0x6387f0e8
mov dword [ebp - 0x34], 0xba25490f
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
mov dword [ebp - 0x30], 0x81dffb59
mov dword [ebp - 0x2c], 0x8d84d620
mov dword [ebp - 0x28], 0x4ca9096a
mov dword [ebp - 0x24], 0xe14dbf41
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x80], xmm1
lea eax, [ebp - 0x90]
push edi
jmp 0x44cff1
mov dword [ebp - 0x50], 0x8ea0fb91
mov ecx, str.false
mov dword [ebp - 0x4c], 0x97fff76b
test edx, edx
mov dword [ebp - 0x48], 0x6e3d087
mov eax, ecx
mov dword [ebp - 0x44], 0xca5c3b6c
mov esi, str.true
mov dword [ebp - 0x40], 0xe8b9db2d
cmovne eax, esi
mov dword [ebp - 0x3c], 0xa5a4b34c
test edi, edi
mov dword [ebp - 0x38], 0x61897a4f
mov dword [ebp - 0x34], 0xc83e9a61
cmovne ecx, esi
mov dword [ebp - 0x30], 0x7fb865f1
mov dword [ebp - 0x2c], 0xc417afd2
mov dword [ebp - 0x28], 0x7d0df9c
mov dword [ebp - 0x24], 0xed779233
mov dword [ebp - 0xa0], 0xe2c99ad7
mov dword [ebp - 0x9c], 0xe3df930e
mov dword [ebp - 0x98], 0x6387f0e8
mov dword [ebp - 0x94], 0xba25490f
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
mov dword [ebp - 0x90], 0x81dffb59
mov dword [ebp - 0x8c], 0x8d84d620
mov dword [ebp - 0x88], 0x4ca9096a
mov dword [ebp - 0x84], 0xe14dbf41
movaps xmm1, xmmword [ebp - 0x90]
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm1
mov dword [ebp - 0x80], 0x7fb865fb
mov dword [ebp - 0x7c], 0xc417afd2
mov dword [ebp - 0x78], 0x7d0df9c
mov dword [ebp - 0x74], 0xed779233
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