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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0a49
mov eax, dword fs:[0]
push eax
mov eax, 0x311c
call fcn.0049bf00
mov eax, dword [0x4dd070]
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.004413d0
push esi
lea eax, [ebp - 0x3080]
push eax
call fcn.00442985
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x3070]
sub eax, dword [ebp - 0x3074]
test eax, 0xffffffe0
jg 0x441d09
lea esi, [ebp - 0x3080]
call fcn.00442958
xor eax, eax
jmp 0x442234
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 [0x4e443c]
push eax
lea esi, [ebp - 0x3038]
call fcn.00440318
mov esi, dword [ebp - 0x3038]
cmp esi, ebx
je 0x441d7a
cmp esi, 0xffffffff
jne 0x441d80
inc edi
cmp edi, 4
jb 0x441d3e
cmp esi, ebx
je 0x441d89
cmp esi, 0xffffffff
jne 0x441d99
lea eax, [ebp - 0x3038]
call fcn.004011d5
jmp 0x441cf7
push 0xfff
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], 0
call fcn.00492360
add esp, 0xc
push ebx
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00440520
add esp, 0xc
test eax, eax
je 0x441d89
push 4
call fcn.004904b4
pop ecx
cmp eax, ebx
je 0x441de0
lea ecx, [ebp - 0x3058]
mov dword [eax], ecx
jmp 0x441de2
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.00443655
mov byte [ebp - 4], 3
cmp dword [ebp - 0x758], 0x63636573
sete al
test al, al
je 0x441e47
push dword [ebp - 0x304c]
lea edi, [ebp - 0x3058]
lea esi, [ebp - 0x3068]
call fcn.0042015e
call fcn.0041fa4c
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 0x441f46
lea eax, [ebp - 0xe6c]
mov dword [ebp - 0x303c], eax
push 0xa
push dword [ebp - 0x303c]
lea esi, [ebp - 0x3104]
call fcn.00428b68
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 0x441f7d
push dword [ebp - 0x304c]
lea edi, [ebp - 0x3058]
lea esi, [ebp - 0x30a4]
call fcn.0042015e
push dword [ebp - 0x3034]
lea eax, [ebp - 0x3088]
push eax
mov eax, esi
call fcn.00442ebe
mov esi, eax
call fcn.0041fa4c
movzx eax, byte [eax]
push eax
push dword [ebp - 0x3064]
lea eax, [ebp - 0x3124]
push eax
call fcn.0040bb2b
push eax
lea eax, [ebp - 0x3080]
push eax
mov byte [ebp - 4], 6
call fcn.00442a8a
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x3124]
mov byte [ebp - 0x302d], al
call fcn.00402abb
push ebx
push esi
lea ecx, [ebp - 0x3104]
mov byte [ebp - 4], 3
call fcn.00402abb
cmp byte [ebp - 0x302d], 0
jne 0x441fbe
inc dword [ebp - 0x3034]
mov eax, dword [ebp - 0x3034]
add dword [ebp - 0x303c], 0xa
cmp eax, dword [ebp - 0xe70]
jb 0x441e65
cmp dword [ebp - 0x304c], ebx
je 0x441f5a
push dword [ebp - 0x304c]
call fcn.004903c0
pop ecx
mov dword [ebp - 0x304c], ebx
mov dword [ebp - 0x3048], ebx
mov dword [ebp - 0x3044], ebx
push dword [ebp - 0x3058]
call fcn.004903c0
pop ecx
jmp 0x441d89
push str.invalid_vector_T__subscript
lea ecx, [ebp - 0x30e8]
call fcn.004026bb
lea eax, [ebp - 0x30e8]
push eax
lea ecx, [ebp - 0x30cc]
mov byte [ebp - 4], 5
call fcn.00401065
push 0x4cdc94
lea eax, [ebp - 0x30cc]
push eax
mov dword [ebp - method.std::out_of_range.virtual_0], vtable.std::out_of_range.0
call fcn.00491223
lea eax, [ebp - 0xbec]
push eax
lea ecx, [ebp - 0x309c]
call fcn.004026bb
lea eax, [ebp - 0x309c]
push eax
lea eax, [ebp - 0x302c]
push eax
mov byte [ebp - 4], 7
call fcn.004404f1
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x309c]
mov byte [ebp - 4], 9
call fcn.00402abb
push ebx
push 0x8000080
push 2
push ebx
push esi
push 0x40000000
push dword [ebp - 0x3060]
call dword [0x4e443c]
mov dword [ebp - 0x3034], eax
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x442028
cmp eax, 0xffffffff
jne 0x442045
lea eax, [ebp - 0x3034]
call fcn.004011d5
push ebx
push esi
lea ecx, [ebp - 0x302c]
call fcn.00402abb
jmp 0x441f46
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 0x44207f
lea ecx, [ebp - 0x3028]
lea edx, [ebp - 0x3010]
call fcn.00441355
push 0xfff
lea eax, [ebp - 0x200f]
push esi
push eax
mov byte [ebp - 0x2010], 0
call fcn.00492360
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 0x4421a2
cmp dword [ebp - 0x305c], esi
jbe 0x4421aa
xor edi, edi
lea eax, [ebp - 0x3040]
call fcn.00441485
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.004a87e0
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 0x4420db
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 0x44224e
push ebx
lea eax, [ebp - 0x2010]
push esi
push eax
call fcn.00492360
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 0x4420cd
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.004011d5
push esi
push 1
lea ecx, [ebp - 0x302c]
call fcn.00402abb
cmp dword [ebp - 0x304c], esi
je 0x4421fd
push dword [ebp - 0x304c]
call fcn.004903c0
pop ecx
push dword [ebp - 0x3058]
mov dword [ebp - 0x304c], esi
mov dword [ebp - 0x3048], esi
mov dword [ebp - 0x3044], esi
call fcn.004903c0
pop ecx
lea eax, [ebp - 0x3038]
call fcn.004011d5
lea esi, [ebp - 0x3080]
call fcn.00442958
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.0048ff11
leave
ret
mov eax, dword [ebp - 0x3034]
or dword [ebp - 0x3034], 0xffffffff
cmp eax, 0xffffffff
je 0x44226b
cmp eax, esi
je 0x44226b
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.004011d5
push esi
push 1
lea ecx, [ebp - 0x302c]
call fcn.00402abb
cmp dword [ebp - 0x304c], esi
je 0x4422a4
push dword [ebp - 0x304c]
call fcn.004903c0
pop ecx
mov dword [ebp - 0x304c], esi
mov dword [ebp - 0x3048], esi
mov dword [ebp - 0x3044], esi
jmp 0x441f6c