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.0045e6a0
mov dword [ebp - 4], 0
lea edi, [ebp - 0x110]
mov ecx, dword [ebp - 0xe0]
lea edx, [edi + 2]
mov dword [ebp - 0x110], 0x4037e47a
mov dword [ebp - 0x10c], 0x8fa165d1
mov dword [ebp - 0x108], 0xc01e6c04
mov dword [ebp - 0x104], 0xb26f7942
movaps xmm1, xmmword [ebp - 0x110]
mov dword [ebp - 0x90], 0x4052e425
mov dword [ebp - 0x8c], 0x8fc265bf
mov dword [ebp - 0x88], 0xc0676c76
mov dword [ebp - 0x84], 0xb21b7932
pxor xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x100], 0x97b18542
mov dword [ebp - 0xfc], 0x779efebd
mov dword [ebp - 0xf8], 0x9ef18ec8
mov dword [ebp - 0xf4], 0xe0d84f08
movaps xmmword [ebp - 0x110], xmm1
movaps xmm1, xmmword [ebp - 0x100]
mov dword [ebp - 0x80], 0x97d58527
mov dword [ebp - 0x7c], 0x779efebd
mov dword [ebp - 0x78], 0x9ef18ec8
mov dword [ebp - 0x74], 0xe0d84f08
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.005c7d49
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.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 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.005d6977
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], 0x22338a70
mov dword [ebp - 0x5c], 0xfbe200d3
mov dword [ebp - 0x58], 0xa5154c19
mov dword [ebp - 0x54], 0xd43b1d53
mov dword [ebp - 0x50], 0xb7b8ea55
mov dword [ebp - 0x4c], 0x2ee90d4
mov dword [ebp - 0x48], 0xf797aebc
mov dword [ebp - 0x44], 0xc8f82a64
mov dword [ebp - 0x40], 0x640f0cbc
mov dword [ebp - 0x3c], 0xd8d7b369
mov dword [ebp - 0x38], 0x27dc3d9e
mov dword [ebp - 0x34], 0x4c0ca59b
mov dword [ebp - 0x30], 0x900119fb
mov dword [ebp - 0x2c], 0x4f782f69
mov dword [ebp - 0x28], 0xcde857ec
mov dword [ebp - 0x24], 0x491a1404
mov dword [ebp - 0xb0], 0x4052e425
mov dword [ebp - 0xac], 0x8fc265bf
mov dword [ebp - 0xa8], 0xc0676c76
mov dword [ebp - 0xa4], 0xb21b7932
movaps xmm1, xmmword [ebp - 0xb0]
pxor xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0x97d58527
mov dword [ebp - 0x9c], 0x779efebd
mov dword [ebp - 0x98], 0x9ef18ec8
mov dword [ebp - 0x94], 0xe0d84f08
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0xb7d7ed9
mov dword [ebp - 0x8c], 0xb7b4931b
mov dword [ebp - 0x88], 0x7e658fa
mov dword [ebp - 0x84], 0x4625c1be
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], 0x900119fb
mov dword [ebp - 0x7c], 0x4f782f69
mov dword [ebp - 0x78], 0xcde857ec
mov dword [ebp - 0x74], 0x491a1404
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], 0x343b9672
mov dword [ebp - 0x4c], 0xe3ab23da
mov dword [ebp - 0x48], 0xa1014c13
mov dword [ebp - 0x44], 0xd67e155b
mov dword [ebp - 0x40], 0xe5b0ad07
mov dword [ebp - 0x3c], 0x57ec91cf
mov dword [ebp - 0x38], 0xfb95e1ab
mov dword [ebp - 0x34], 0x84fd6f32
mov dword [ebp - 0x30], 0xb7d74f0
mov dword [ebp - 0x2c], 0xb7b4931b
mov dword [ebp - 0x28], 0x7e658fa
mov dword [ebp - 0x24], 0x4625c1be
mov dword [ebp - 0xa0], 0x4052e425
mov dword [ebp - 0x9c], 0x8fc265bf
mov dword [ebp - 0x98], 0xc0676c76
mov dword [ebp - 0x94], 0xb21b7932
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x97d58527
mov dword [ebp - 0x8c], 0x779efebd
mov dword [ebp - 0x88], 0x9ef18ec8
mov dword [ebp - 0x84], 0xe0d84f08
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], 0xb7d7ed9
mov dword [ebp - 0x7c], 0xb7b4931b
mov dword [ebp - 0x78], 0x7e658fa
mov dword [ebp - 0x74], 0x4625c1be
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 0x44cce8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x120]
mov dword [ebp - 0x70], 0x2e3d9672
mov dword [ebp - 0x6c], 0xeab045d8
mov dword [ebp - 0x68], 0xb3470817
mov dword [ebp - 0x64], 0x9e7e035b
mov dword [ebp - 0x60], 0xe3b0c207
mov dword [ebp - 0x5c], 0x3ed9ff1
mov dword [ebp - 0x58], 0xf183fc8d
mov dword [ebp - 0x54], 0x84fd727a
mov dword [ebp - 0x50], 0x620e5ef5
mov dword [ebp - 0x4c], 0xd994f661
mov dword [ebp - 0x48], 0x27823d9f
mov dword [ebp - 0x44], 0x2405aeca
mov dword [ebp - 0x40], 0xf573399e
mov dword [ebp - 0x3c], 0x6f424b08
mov dword [ebp - 0x38], 0xedc433c9
mov dword [ebp - 0x34], 0x2c607d77
mov dword [ebp - 0x30], 0x9fdea2cd
mov dword [ebp - 0x2c], 0x31821fb3
mov dword [ebp - 0x28], 0x88034d7e
mov dword [ebp - 0x24], 0x38fd932a
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0xc0], 0x4052e425
mov dword [ebp - 0xbc], 0x8fc265bf
mov dword [ebp - 0xb8], 0xc0676c76
mov dword [ebp - 0xb4], 0xb21b7932
pxor xmm1, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x70], xmm1
movaps xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0xb0], 0x97d58527
mov dword [ebp - 0xac], 0x779efebd
mov dword [ebp - 0xa8], 0x9ef18ec8
mov dword [ebp - 0xa4], 0xe0d84f08
pxor xmm1, xmmword [ebp - 0xb0]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0xa0], 0xb7d7ed9
mov dword [ebp - 0x9c], 0xb7b4931b
mov dword [ebp - 0x98], 0x7e658fa
mov dword [ebp - 0x94], 0x4625c1be
pxor xmm1, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x90], 0x900119fb
mov dword [ebp - 0x8c], 0x4f782f69
mov dword [ebp - 0x88], 0xcde857ec
mov dword [ebp - 0x84], 0x491a1404
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], 0xfebbd0ed
mov dword [ebp - 0x7c], 0xbe67ad7
mov dword [ebp - 0x78], 0x8267685e
mov dword [ebp - 0x74], 0x38fd932a
pxor xmm1, xmmword [ebp - 0x80]
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.0044b300
push esi
call fcn.005d203e
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], 0x25248b68
mov dword [ebp - 0x8c], 0xeaae0cf9
mov dword [ebp - 0x88], 0xb2024c21
mov dword [ebp - 0x84], 0x9e691640
mov dword [ebp - 0x80], 0xf3bae607
mov dword [ebp - 0x7c], 0x13bbded8
mov dword [ebp - 0x78], 0x9ef18ec2
mov dword [ebp - 0x74], 0xe0d84f08
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0x4052e425
mov dword [ebp - 0x3c], 0x8fc265bf
mov dword [ebp - 0x38], 0xc0676c76
mov dword [ebp - 0x34], 0xb21b7932
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], 0x97d58527
mov dword [ebp - 0x2c], 0x779efebd
mov dword [ebp - 0x28], 0x9ef18ec8
mov dword [ebp - 0x24], 0xe0d84f08
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], 0x21248a6c
mov dword [ebp - 0x8c], 0xafa60cd3
mov dword [ebp - 0x88], 0xa50b0510
mov dword [ebp - 0x84], 0xc8720a12
mov dword [ebp - 0x80], 0xb2f5bf42
mov dword [ebp - 0x7c], 0x52b6ded9
mov dword [ebp - 0x78], 0x9efba7ac
mov dword [ebp - 0x74], 0xe0d84f08
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x40], 0x4052e425
mov dword [ebp - 0x3c], 0x8fc265bf
mov dword [ebp - 0x38], 0xc0676c76
mov dword [ebp - 0x34], 0xb21b7932
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
mov dword [ebp - 0x30], 0x97d58527
mov dword [ebp - 0x2c], 0x779efebd
mov dword [ebp - 0x28], 0x9ef18ec8
mov dword [ebp - 0x24], 0xe0d84f08
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x80], xmm1
lea eax, [ebp - 0x90]
push edi
jmp 0x44cff0
mov dword [ebp - 0x50], 0x2c3b8563
mov ecx, str.false
mov dword [ebp - 0x4c], 0xfbe201da
test edx, edx
mov dword [ebp - 0x48], 0xa5034c19
mov eax, ecx
mov dword [ebp - 0x44], 0xc2620b51
mov esi, str.true
mov dword [ebp - 0x40], 0xfeb3a553
cmovne eax, esi
mov dword [ebp - 0x3c], 0x5fbe9bd1
test edi, edi
mov dword [ebp - 0x38], 0xb3d1fded
mov dword [ebp - 0x34], 0xc9ab6a28
cmovne ecx, esi
mov dword [ebp - 0x30], 0xb7d7ed3
mov dword [ebp - 0x2c], 0xb7b4931b
mov dword [ebp - 0x28], 0x7e658fa
mov dword [ebp - 0x24], 0x4625c1be
mov dword [ebp - 0xa0], 0x4052e425
mov dword [ebp - 0x9c], 0x8fc265bf
mov dword [ebp - 0x98], 0xc0676c76
mov dword [ebp - 0x94], 0xb21b7932
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm1
mov dword [ebp - 0x90], 0x97d58527
mov dword [ebp - 0x8c], 0x779efebd
mov dword [ebp - 0x88], 0x9ef18ec8
mov dword [ebp - 0x84], 0xe0d84f08
movaps xmm1, xmmword [ebp - 0x90]
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm1
mov dword [ebp - 0x80], 0xb7d7ed9
mov dword [ebp - 0x7c], 0xb7b4931b
mov dword [ebp - 0x78], 0x7e658fa
mov dword [ebp - 0x74], 0x4625c1be
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.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 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.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