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.0045e170
mov dword [ebp - 4], 0
lea edi, [ebp - 0x110]
mov ecx, dword [ebp - 0xe0]
lea edx, [edi + 2]
mov dword [ebp - 0x110], 0x8e378e80
mov dword [ebp - 0x10c], 0xc5098680
mov dword [ebp - 0x108], 0x87068212
mov dword [ebp - 0x104], 0x96683347
movaps xmm1, xmmword [ebp - 0x110]
mov dword [ebp - 0x90], 0x8e528edf
mov dword [ebp - 0x8c], 0xc56a86ee
mov dword [ebp - 0x88], 0x877f8260
mov dword [ebp - 0x84], 0x961c3337
pxor xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x100], 0x6d274684
mov dword [ebp - 0xfc], 0xb36bf090
mov dword [ebp - 0xf8], 0x24a76342
mov dword [ebp - 0xf4], 0x97ad3619
movaps xmmword [ebp - 0x110], xmm1
movaps xmm1, xmmword [ebp - 0x100]
mov dword [ebp - 0x80], 0x6d4346e1
mov dword [ebp - 0x7c], 0xb36bf090
mov dword [ebp - 0x78], 0x24a76342
mov dword [ebp - 0x74], 0x97ad3619
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 0x44d0bd
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 0x44d0c2
add eax, eax
cmp eax, 0x1000
jb 0x44c6fe
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x44d0c2
push ecx
call fcn.005c7829
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x44d0c7
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 0x44cee8
test edx, edx
je 0x44cee8
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 0x44ce39
push edi
call fcn.005d6457
mov esi, eax
add esp, 4
test esi, esi
je 0x44cce2
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], 0xec33e08a
mov dword [ebp - 0x5c], 0xb14ae382
mov dword [ebp - 0x58], 0xe20da20f
mov dword [ebp - 0x54], 0xf03c5756
mov dword [ebp - 0x50], 0x4d2e2993
mov dword [ebp - 0x4c], 0xc61b9ef9
mov dword [ebp - 0x48], 0x4dc14336
mov dword [ebp - 0x44], 0xbf8d5375
mov dword [ebp - 0x40], 0x72dac26
mov dword [ebp - 0x3c], 0x3d007e20
mov dword [ebp - 0x38], 0x30e64260
mov dword [ebp - 0x34], 0xfc9f37be
mov dword [ebp - 0x30], 0xedbfc845
mov dword [ebp - 0x2c], 0x6c61c814
mov dword [ebp - 0x28], 0xe47b7d46
mov dword [ebp - 0x24], 0x27e39bbd
mov dword [ebp - 0xb0], 0x8e528edf
mov dword [ebp - 0xac], 0xc56a86ee
mov dword [ebp - 0xa8], 0x877f8260
mov dword [ebp - 0xa4], 0x961c3337
movaps xmm1, xmmword [ebp - 0xb0]
pxor xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0x6d4346e1
mov dword [ebp - 0x9c], 0xb36bf090
mov dword [ebp - 0x98], 0x24a76342
mov dword [ebp - 0x94], 0x97ad3619
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x685fde43
mov dword [ebp - 0x8c], 0x52635e52
mov dword [ebp - 0x88], 0x10dc2704
mov dword [ebp - 0x84], 0xf6b6539b
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], 0xedbfc845
mov dword [ebp - 0x7c], 0x6c61c814
mov dword [ebp - 0x78], 0xe47b7d46
mov dword [ebp - 0x74], 0x27e39bbd
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 0x44cff9
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
cmp eax, edi
jne 0x44cb28
cmp dword [esi], 0x905a4d
mov edi, 1
je 0x44c9fa
xor edx, edx
test eax, eax
je 0x44c9fa
mov al, byte [edx + esi]
lea ecx, [edi + 1]
xor al, 0xc0
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 0x44cb1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x50], 0xfa3bfc88
mov dword [ebp - 0x4c], 0xa903c08b
mov dword [ebp - 0x48], 0xe619a205
mov dword [ebp - 0x44], 0xf2795f5e
mov dword [ebp - 0x40], 0x1f266ec1
mov dword [ebp - 0x3c], 0x93199fe2
mov dword [ebp - 0x38], 0x41c30c21
mov dword [ebp - 0x34], 0xf3881623
mov dword [ebp - 0x30], 0x685fd46a
mov dword [ebp - 0x2c], 0x52635e52
mov dword [ebp - 0x28], 0x10dc2704
mov dword [ebp - 0x24], 0xf6b6539b
mov dword [ebp - 0xa0], 0x8e528edf
mov dword [ebp - 0x9c], 0xc56a86ee
mov dword [ebp - 0x98], 0x877f8260
mov dword [ebp - 0x94], 0x961c3337
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x6d4346e1
mov dword [ebp - 0x8c], 0xb36bf090
mov dword [ebp - 0x88], 0x24a76342
mov dword [ebp - 0x84], 0x97ad3619
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], 0x685fde43
mov dword [ebp - 0x7c], 0x52635e52
mov dword [ebp - 0x78], 0x10dc2704
mov dword [ebp - 0x74], 0xf6b6539b
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 0x44cce8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x120]
mov dword [ebp - 0x70], 0xe03dfc88
mov dword [ebp - 0x6c], 0xa018a689
mov dword [ebp - 0x68], 0xf45fe601
mov dword [ebp - 0x64], 0xba79495e
mov dword [ebp - 0x60], 0x192601c1
mov dword [ebp - 0x5c], 0xc71891dc
mov dword [ebp - 0x58], 0x4bd51107
mov dword [ebp - 0x54], 0xf3880b6b
mov dword [ebp - 0x50], 0x12cfe6f
mov dword [ebp - 0x4c], 0x3c433b28
mov dword [ebp - 0x48], 0x30b84261
mov dword [ebp - 0x44], 0x94963cef
mov dword [ebp - 0x40], 0x88cde820
mov dword [ebp - 0x3c], 0x4c5bac75
mov dword [ebp - 0x38], 0xc4571963
mov dword [ebp - 0x34], 0x4299f2ce
mov dword [ebp - 0x30], 0xf4cacfe7
mov dword [ebp - 0x2c], 0xd40b2f12
mov dword [ebp - 0x28], 0xf8490448
mov dword [ebp - 0x24], 0x54f79d7f
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0xc0], 0x8e528edf
mov dword [ebp - 0xbc], 0xc56a86ee
mov dword [ebp - 0xb8], 0x877f8260
mov dword [ebp - 0xb4], 0x961c3337
pxor xmm1, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x70], xmm1
movaps xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0xb0], 0x6d4346e1
mov dword [ebp - 0xac], 0xb36bf090
mov dword [ebp - 0xa8], 0x24a76342
mov dword [ebp - 0xa4], 0x97ad3619
pxor xmm1, xmmword [ebp - 0xb0]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0x685fde43
mov dword [ebp - 0x9c], 0x52635e52
mov dword [ebp - 0x98], 0x10dc2704
mov dword [ebp - 0x94], 0xf6b6539b
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0xedbfc845
mov dword [ebp - 0x8c], 0x6c61c814
mov dword [ebp - 0x88], 0xe47b7d46
mov dword [ebp - 0x84], 0x27e39bbd
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], 0x95afbdc7
mov dword [ebp - 0x7c], 0xee6f4a76
mov dword [ebp - 0x78], 0xf22d2168
mov dword [ebp - 0x74], 0x54f79d7f
pxor xmm1, xmmword [ebp - 0x80]
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.0044b300
push esi
call fcn.005d1b1e
add esp, 0x14
jmp 0x44cff9
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 0x44ce1c
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], 0xeb24e192
mov dword [ebp - 0x8c], 0xa006efa8
mov dword [ebp - 0x88], 0xf51aa237
mov dword [ebp - 0x84], 0xba6e5c45
mov dword [ebp - 0x80], 0x92c25c1
mov dword [ebp - 0x7c], 0xd74ed0f5
mov dword [ebp - 0x78], 0x24a76348
mov dword [ebp - 0x74], 0x97ad3619
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0x8e528edf
mov dword [ebp - 0x3c], 0xc56a86ee
mov dword [ebp - 0x38], 0x877f8260
mov dword [ebp - 0x34], 0x961c3337
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], 0x6d4346e1
mov dword [ebp - 0x2c], 0xb36bf090
mov dword [ebp - 0x28], 0x24a76342
mov dword [ebp - 0x24], 0x97ad3619
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x80], xmm1
call fcn.0044b300
add esp, 8
jmp 0x44cff9
cmp dword [ebp - 0xc4], 8
cmovae eax, dword [ebp - 0xd8]
push eax
call esi
mov byte [ebp - 0x111], 1
jmp 0x44d000
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], 0xef24e096
mov dword [ebp - 0x8c], 0xe50eef82
mov dword [ebp - 0x88], 0xe213eb06
mov dword [ebp - 0x84], 0xec754017
mov dword [ebp - 0x80], 0x48637c84
mov dword [ebp - 0x7c], 0x9643d0f4
mov dword [ebp - 0x78], 0x24ad4a26
mov dword [ebp - 0x74], 0x97ad3619
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0x8e528edf
mov dword [ebp - 0x3c], 0xc56a86ee
mov dword [ebp - 0x38], 0x877f8260
mov dword [ebp - 0x34], 0x961c3337
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
mov dword [ebp - 0x30], 0x6d4346e1
mov dword [ebp - 0x2c], 0xb36bf090
mov dword [ebp - 0x28], 0x24a76342
mov dword [ebp - 0x24], 0x97ad3619
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x80], xmm1
lea eax, [ebp - 0x90]
push edi
jmp 0x44cff0
mov dword [ebp - 0x50], 0xe23bef99
mov ecx, str.false
mov dword [ebp - 0x4c], 0xb14ae28b
test edx, edx
mov dword [ebp - 0x48], 0xe21ba20f
mov eax, ecx
mov dword [ebp - 0x44], 0xe6654154
mov esi, str.true
mov dword [ebp - 0x40], 0x4256695
cmovne eax, esi
mov dword [ebp - 0x3c], 0x9b4b95fc
test edi, edi
mov dword [ebp - 0x38], 0x9871067
mov dword [ebp - 0x34], 0xbede1339
cmovne ecx, esi
mov dword [ebp - 0x30], 0x685fde49
mov dword [ebp - 0x2c], 0x52635e52
mov dword [ebp - 0x28], 0x10dc2704
mov dword [ebp - 0x24], 0xf6b6539b
mov dword [ebp - 0xa0], 0x8e528edf
mov dword [ebp - 0x9c], 0xc56a86ee
mov dword [ebp - 0x98], 0x877f8260
mov dword [ebp - 0x94], 0x961c3337
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
mov dword [ebp - 0x90], 0x6d4346e1
mov dword [ebp - 0x8c], 0xb36bf090
mov dword [ebp - 0x88], 0x24a76342
mov dword [ebp - 0x84], 0x97ad3619
movaps xmm1, xmmword [ebp - 0x90]
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm1
mov dword [ebp - 0x80], 0x685fde43
mov dword [ebp - 0x7c], 0x52635e52
mov dword [ebp - 0x78], 0x10dc2704
mov dword [ebp - 0x74], 0xf6b6539b
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 0x44d040
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44d036
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d0c7
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 0x44d099
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44d08f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d0c7
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