Function at 0x444a00
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [esi + 0x14]
push ebx
push ebp
push edi
lea ecx, [eax*4 + 4]
xor ebx, ebx
push ecx
push 8
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], bl
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x444a40
lea edi, [ebx + 0xe]
jmp 0x444bb6
mov ebx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
call fcn.00444460
mov ebx, dword [esp + 0x18]
mov edi, eax
add esp, 4
test edi, edi
jne 0x444bb6
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebx]
mov edx, dword [eax]
push ecx
mov ecx, ebx
call edx
mov edi, eax
cmp edi, 0x1779
jne 0x444a7c
mov byte [esp + 0xe], 1
jmp 0x444a93
cmp edi, 0x15e
jne 0x444a8b
mov byte [esp + 0xf], 1
jmp 0x444a93
test edi, edi
jne 0x444bb6
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call edx
mov edi, eax
test edi, edi
jne 0x444bb6
cmp byte [esp + 0x2c], al
je 0x444ad5
push 1
push eax
mov eax, dword [esi + 0x20]
push 0xfffffbe0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x444ad5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x444bb2
mov ecx, dword [esi + 0x20]
mov ebp, dword [esp + 0x18]
push 0x420
push 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x444b07
lea edi, [eax + 0xe]
jmp 0x444b6b
mov eax, edi
sub ebp, edi
mov ecx, 0x420
mov dl, byte [eax + ebp]
xor dl, 0x67
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x444b10
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
push 0x420
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x444b45
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
jmp 0x444b57
cmp dword [esp + 0x20], 0x420
je 0x444b57
mov dword [esp + 0x14], 0x1d
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test edi, edi
jne 0x444bb6
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
add edx, edx
add edx, edx
push edx
push eax
push ebp
call fcn.004ac5e0
mov ecx, dword [esi + 0x14]
mov dword [ebp + ecx*4], ebx
mov eax, dword [esi + 0x18]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x444baa
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x18], ebx
inc dword [esi + 0x14]
mov dword [esi + 0x18], ebp
mov ebp, ebx
test edi, edi
je 0x444bd2
cmp byte [esp + 0x2c], 0
je 0x444bd2
test ebx, ebx
je 0x444be1
mov eax, dword [esi + 0x1c]
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push 0
push eax
push 1
mov ecx, ebx
call edx
test ebx, ebx
je 0x444be1
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push 1
mov ecx, ebx
call edx
test ebp, ebp
je 0x444bf5
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
jne 0x444c18
cmp byte [esp + 0xe], 0
je 0x444c0c
pop edi
pop ebp
mov eax, 0x1779
pop ebx
add esp, 0x18
ret
cmp byte [esp + 0xf], 0
mov eax, 0x15e
jne 0x444c1a
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x18
ret