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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007acc6
mov eax, dword fs:[0]
push eax
mov eax, 0x3098
call fcn.1004e980
mov eax, dword [0x100a0070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3094], edx
mov ebx, ecx
mov esi, dword [ebp + 8]
call fcn.100434f0
xor eax, eax
mov dword [ebp - 0x30a0], eax
mov dword [ebp - 0x309c], eax
mov dword [ebp - 0x3098], eax
push esi
lea ecx, [ebp - 0x30a0]
mov dword [ebp - 4], eax
call fcn.100448af
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x309c]
sub eax, dword [ebp - 0x30a0]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jg 0x10043e8e
xor esi, esi
jmp 0x100442cc
or dword [ebp - 0x3080], 0xffffffff
mov dword [ebp - 0x3024], esi
mov dword [ebp - 0x3020], 5
mov dword [ebp - 0x301c], 3
mov dword [ebp - 0x3018], 7
mov byte [ebp - 4], 2
xor esi, esi
push 0
push 0x8000000
push 3
push 0
push dword [ebp + esi*4 - 0x3024]
push 0x80000000
push ebx
call dword [0x100a3d50]
mov edi, eax
lea ecx, [ebp - 0x3080]
mov dword [ebp - 0x3090], edi
call fcn.1000391f
mov dword [ebp - 0x3080], edi
test edi, edi
je 0x10043eff
cmp edi, 0xffffffff
jne 0x10043f05
inc esi
cmp esi, 4
jb 0x10043ebf
test edi, edi
je 0x100442bf
cmp edi, 0xffffffff
je 0x100442bf
push 0x1000
lea eax, [ebp - 0x2014]
push 0
push eax
call fcn.10050900
add esp, 0xc
lea ecx, [ebp - 0x2014]
mov edx, edi
push 0
call fcn.100426c7
pop ecx
test eax, eax
je 0x100442bf
and dword [ebp - 0x3020], 0
lea eax, [ebp - 0x3071]
and dword [ebp - 0x301c], 0
and dword [ebp - 0x3018], 0
push eax
push ecx
lea ecx, [ebp - 0x3020]
mov byte [ebp - 0x3071], 0
call fcn.10044aa5
mov byte [ebp - 4], 3
cmp dword [ebp - 0x175c], 0x63636573
mov eax, dword [ebp - 0x3020]
jne 0x10043f9c
push 0x10
pop ecx
lea esi, [ebp - 0x1758]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x3090]
xor esi, esi
cmp dword [ebp - 0x1e74], esi
jbe 0x1004406d
mov ebx, dword [ebp - 0x301c]
sub ebx, eax
lea eax, [ebp - 0x1e70]
mov dword [ebp - 0x3084], ebx
mov dword [ebp - 0x3078], eax
and dword [ebp - 0x302c], 0
lea ecx, [ebp - 0x303c]
push 0xa
push eax
mov dword [ebp - 0x3028], 0xf
mov byte [ebp - 0x303c], 0
call fcn.100018ee
mov byte [ebp - 4], 4
cmp ebx, esi
jbe 0x100442b5
mov eax, dword [ebp - 0x3020]
lea ecx, [ebp - 0x3070]
movzx eax, byte [eax + esi]
push eax
lea eax, [ebp - 0x303c]
push eax
call fcn.1004061b
push eax
lea ecx, [ebp - 0x30a0]
mov byte [ebp - 4], 5
call fcn.1004476a
push 0
push 1
lea ecx, [ebp - 0x3070]
mov bl, al
call fcn.10001805
push 0
push 1
lea ecx, [ebp - 0x303c]
mov byte [ebp - 4], 3
call fcn.10001805
test bl, bl
jne 0x1004407f
mov eax, dword [ebp - 0x3078]
inc esi
mov ebx, dword [ebp - 0x3084]
add eax, 0xa
mov dword [ebp - 0x3078], eax
cmp esi, dword [ebp - 0x1e74]
jb 0x10043fc4
xor esi, esi
lea ecx, [ebp - 0x3020]
call fcn.10034733
jmp 0x100442c1
lea eax, [ebp - 0x1bf0]
push eax
lea ecx, [ebp - 0x303c]
call fcn.100017d6
lea edx, [ebp - 0x303c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3054]
call fcn.10042697
xor ebx, ebx
mov byte [ebp - 4], 8
push ebx
push 1
lea ecx, [ebp - 0x303c]
call fcn.10001805
push ebx
push 0x8000080
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x3094]
call dword [0x100a3d50]
mov esi, eax
mov dword [ebp - 0x3078], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x10044295
cmp esi, 0xffffffff
je 0x10044295
push ebx
push ebx
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x3040], 0x10
lea eax, [ebp - 0x3054]
lea ecx, [ebp - 0x3014]
mov dword [ebp - 0x308c], ebx
cmovae eax, dword [ebp - 0x3054]
push eax
mov dword [ebp - 0x3088], ebx
call fcn.1004343b
mov dword [esp], 0x1000
lea eax, [ebp - 0x1014]
push ebx
push eax
call fcn.10050900
mov dword [ebp - 0x307c], ebx
jmp 0x10044237
cmp dword [ebp - 0x307c], 0
jbe 0x1004425d
mov edi, dword [ebp - 0x308c]
mov esi, dword [ebp - 0x3088]
lea ecx, [ebp - 0x308c]
call fcn.10043593
push 0
push 0x1000
push esi
mov ecx, dword [eax]
xor dword [ebp + ebx - 0x1014], ecx
mov ecx, dword [eax + 4]
xor dword [ebp + ebx - 0x1010], ecx
mov ecx, dword [eax + 8]
xor dword [ebp + ebx - 0x100c], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp + ebx - 0x1008], eax
push edi
call fcn.100715e0
lea ecx, [ebp - 0x3014]
add ecx, eax
mov eax, dword [ecx]
xor dword [ebp + ebx - 0x1014], eax
mov eax, dword [ecx + 4]
xor dword [ebp + ebx - 0x1010], eax
mov eax, dword [ecx + 8]
xor dword [ebp + ebx - 0x100c], eax
mov eax, dword [ecx + 0xc]
mov ecx, 0x1000
xor dword [ebp + ebx - 0x1008], eax
add edi, 0x10
mov dword [ebp - 0x308c], edi
adc esi, 0
add ebx, 0x10
mov dword [ebp - 0x3088], esi
cmp ebx, ecx
jb 0x10044165
mov esi, dword [ebp - 0x3078]
lea eax, [ebp - 0x3084]
mov edi, dword [ebp - 0x3090]
xor ebx, ebx
push ebx
push eax
push ecx
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x3084], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1004427e
push 0x1000
lea eax, [ebp - 0x1014]
push ebx
push eax
call fcn.10050900
add esp, 0xc
lea eax, [ebp - 0x307c]
push ebx
push eax
push 0x1000
lea eax, [ebp - 0x1014]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1004414c
push ebx
lea eax, [ebp - 0x1b68]
push eax
push dword [ebp - 0x1b6c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor esi, esi
inc esi
jmp 0x10044297
lea ecx, [ebp - 0x3078]
call fcn.1000391f
push dword [ebp - 0x3094]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, ebx
lea ecx, [ebp - 0x3078]
call fcn.1000391f
push ebx
push 1
lea ecx, [ebp - 0x3054]
call fcn.10001805
jmp 0x1004406f
push str.invalid_vector_T__subscript
call fcn.1004c1d8
xor esi, esi
lea ecx, [ebp - 0x3080]
call fcn.1000391f
lea ecx, [ebp - 0x30a0]
call fcn.1004055e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004d78e
mov esp, ebp
pop ebp
ret