Function at 0x44788c
Capabilities:
Delete file
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8e21
mov eax, dword fs:[0]
push eax
mov eax, 0x311c
call fcn.004a3980
mov eax, dword [0x4e8070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x303c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3060], eax
mov esi, ecx
call fcn.00446f37
push esi
lea eax, [ebp - 0x3080]
push eax
call fcn.004485f1
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x3070]
sub eax, dword [ebp - 0x3074]
test eax, 0xffffffe0
jg 0x44790e
lea esi, [ebp - 0x3080]
call fcn.004485c4
xor eax, eax
jmp 0x447e39
or dword [ebp - 0x3038], 0xffffffff
mov dword [ebp - 0x3090], 1
mov dword [ebp - 0x308c], 5
mov dword [ebp - 0x3088], 3
mov dword [ebp - 0x3084], 7
mov byte [ebp - 4], 1
xor edi, edi
push ebx
push 0x8000000
push 3
push ebx
push dword [ebp + edi*4 - 0x3090]
push SysReAllocString
push dword [ebp - 0x303c]
call dword [0x4ef7b4]
push eax
lea esi, [ebp - 0x3038]
call fcn.00445df9
mov esi, dword [ebp - 0x3038]
cmp esi, ebx
je 0x44797f
cmp esi, 0xffffffff
jne 0x447985
inc edi
cmp edi, 4
jb 0x447943
cmp esi, ebx
je 0x44798e
cmp esi, 0xffffffff
jne 0x44799e
lea eax, [ebp - 0x3038]
call fcn.0040681e
jmp 0x4478fc
push 0xfff
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], 0
call fcn.00499dd0
add esp, 0xc
push ebx
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00446001
add esp, 0xc
test eax, eax
je 0x44798e
push 4
call fcn.00497f23
pop ecx
cmp eax, ebx
je 0x4479e5
lea ecx, [ebp - 0x3058]
mov dword [eax], ecx
jmp 0x4479e7
xor eax, eax
mov dword [ebp - 0x3058], eax
lea eax, [ebp - 0x302d]
push eax
lea eax, [ebp - 0x3058]
push eax
push 0x40
mov byte [ebp - 4], 2
pop eax
mov byte [ebp - 0x302d], 0
call fcn.00448e5e
mov byte [ebp - 4], 3
cmp dword [ebp - 0x758], 0x63636573
sete al
test al, al
je 0x447a4c
push dword [ebp - 0x304c]
lea edi, [ebp - 0x3058]
lea esi, [ebp - 0x3068]
call fcn.0040c5c5
call fcn.00427a9f
push 0x10
pop ecx
lea esi, [ebp - 0x754]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3034], ebx
cmp dword [ebp - 0xe70], ebx
jbe 0x447b4b
lea eax, [ebp - 0xe6c]
mov dword [ebp - 0x303c], eax
push 0xa
push dword [ebp - 0x303c]
lea esi, [ebp - 0x3104]
call fcn.00430ba3
mov dword [ebp - 0x3064], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x3048]
sub eax, dword [ebp - 0x304c]
cmp eax, dword [ebp - 0x3034]
jbe 0x447b82
push dword [ebp - 0x304c]
lea edi, [ebp - 0x3058]
lea esi, [ebp - 0x30a4]
call fcn.0040c5c5
push dword [ebp - 0x3034]
lea eax, [ebp - 0x3088]
push eax
mov eax, esi
call fcn.00448af1
mov esi, eax
call fcn.00427a9f
movzx eax, byte [eax]
push eax
push dword [ebp - 0x3064]
lea eax, [ebp - 0x3124]
push eax
call fcn.0040c56a
push eax
lea eax, [ebp - 0x3080]
push eax
mov byte [ebp - 4], 6
call fcn.004486f6
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x3124]
mov byte [ebp - 0x302d], al
call fcn.00403db0
push ebx
push esi
lea ecx, [ebp - 0x3104]
mov byte [ebp - 4], 3
call fcn.00403db0
cmp byte [ebp - 0x302d], 0
jne 0x447bc3
inc dword [ebp - 0x3034]
mov eax, dword [ebp - 0x3034]
add dword [ebp - 0x303c], 0xa
cmp eax, dword [ebp - 0xe70]
jb 0x447a6a
cmp dword [ebp - 0x304c], ebx
je 0x447b5f
push dword [ebp - 0x304c]
call fcn.00497e2f
pop ecx
mov dword [ebp - 0x304c], ebx
mov dword [ebp - 0x3048], ebx
mov dword [ebp - 0x3044], ebx
push dword [ebp - 0x3058]
call fcn.00497e2f
pop ecx
jmp 0x44798e
push str.invalid_vector_T__subscript
lea ecx, [ebp - 0x30e8]
call fcn.00403461
lea eax, [ebp - 0x30e8]
push eax
lea ecx, [ebp - 0x30cc]
mov byte [ebp - 4], 5
call fcn.0040108b
push 0x4d78ec
lea eax, [ebp - 0x30cc]
push eax
mov dword [ebp - method.std::out_of_range.virtual_0], vtable.std::out_of_range.0
call fcn.00498c93
lea eax, [ebp - 0xbec]
push eax
lea ecx, [ebp - 0x309c]
call fcn.00403461
lea eax, [ebp - 0x309c]
push eax
lea eax, [ebp - 0x302c]
push eax
mov byte [ebp - 4], 7
call fcn.00445fd2
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x309c]
mov byte [ebp - 4], 9
call fcn.00403db0
push ebx
push 0x8000080
push 2
push ebx
push esi
push 0x40000000
push dword [ebp - 0x3060]
call dword [0x4ef7b4]
mov dword [ebp - 0x3034], eax
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x447c2d
cmp eax, 0xffffffff
jne 0x447c4a
lea eax, [ebp - 0x3034]
call fcn.0040681e
push ebx
push esi
lea ecx, [ebp - 0x302c]
call fcn.00403db0
jmp 0x447b4b
push ebx
push ebx
mov ebx, 0x1000
push ebx
push dword [ebp - 0x3038]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x3028]
xor esi, esi
xor eax, eax
cmp dword [ebp - 0x3014], 0x10
lea edi, [ebp - 0x303c]
mov dword [ebp - 0x3040], esi
stosd dword es:[edi], eax
jae 0x447c84
lea ecx, [ebp - 0x3028]
lea edx, [ebp - 0x3010]
call fcn.00446ebc
push 0xfff
lea eax, [ebp - 0x200f]
push esi
push eax
mov byte [ebp - 0x2010], 0
call fcn.00499dd0
add esp, 0xc
push esi
lea eax, [ebp - 0x305c]
push eax
push ebx
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x3038]
mov dword [ebp - 0x305c], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x447da7
cmp dword [ebp - 0x305c], esi
jbe 0x447daf
xor edi, edi
lea eax, [ebp - 0x3040]
call fcn.00446fec
mov ecx, dword [eax]
lea esi, [ebp + edi - 0x2010]
xor dword [esi], ecx
mov ecx, dword [eax + 4]
xor dword [esi + 4], ecx
mov ecx, dword [eax + 8]
xor dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
xor dword [esi + 0xc], eax
push 0
push ebx
push dword [ebp - 0x303c]
push dword [ebp - 0x3040]
call fcn.004b0240
lea eax, [ebp + eax - 0x3010]
mov ecx, dword [eax]
xor dword [esi], ecx
mov ecx, dword [eax + 4]
xor dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor dword [esi + 8], ecx
xor dword [esi + 0xc], eax
add dword [ebp - 0x3040], 0x10
adc dword [ebp - 0x303c], 0
add edi, 0x10
cmp edi, ebx
jb 0x447ce0
xor esi, esi
push esi
lea eax, [ebp - 0x3064]
push eax
push ebx
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x3034]
mov dword [ebp - 0x3064], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x447e53
push ebx
lea eax, [ebp - 0x2010]
push esi
push eax
call fcn.00499dd0
add esp, 0xc
push esi
lea eax, [ebp - 0x305c]
push eax
push ebx
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x3038]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x447cd2
push esi
lea eax, [ebp - 0xb64]
push eax
push dword [ebp - 0xb68]
push dword [ebp - 0x3034]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0x3034]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [ebp - 0x3034]
call fcn.0040681e
push esi
push 1
lea ecx, [ebp - 0x302c]
call fcn.00403db0
cmp dword [ebp - 0x304c], esi
je 0x447e02
push dword [ebp - 0x304c]
call fcn.00497e2f
pop ecx
push dword [ebp - 0x3058]
mov dword [ebp - 0x304c], esi
mov dword [ebp - 0x3048], esi
mov dword [ebp - 0x3044], esi
call fcn.00497e2f
pop ecx
lea eax, [ebp - 0x3038]
call fcn.0040681e
lea esi, [ebp - 0x3080]
call fcn.004485c4
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049795f
leave
ret
mov eax, dword [ebp - 0x3034]
or dword [ebp - 0x3034], 0xffffffff
cmp eax, 0xffffffff
je 0x447e70
cmp eax, esi
je 0x447e70
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3060]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x3034]
call fcn.0040681e
push esi
push 1
lea ecx, [ebp - 0x302c]
call fcn.00403db0
cmp dword [ebp - 0x304c], esi
je 0x447ea9
push dword [ebp - 0x304c]
call fcn.00497e2f
pop ecx
mov dword [ebp - 0x304c], esi
mov dword [ebp - 0x3048], esi
mov dword [ebp - 0x3044], esi
jmp 0x447b71