Function at 0x449ba0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push 0x78
push 0
lea edi, [esi + 0x98]
push edi
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
add esp, 0xc
push 0x4000
push 0
call ebx
mov dword [edi], eax
test eax, eax
je 0x449e99
cmp word [esi + 0x56], 0
je 0x449c81
push 0x4c
push 0
call ebx
mov dword [esi + 0xd0], eax
test eax, eax
je 0x449e99
push 0x4c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0xd0]
add esp, 0xc
mov dword [eax + 8], 0xf
mov eax, dword [esi + 0xd0]
push 0x2d00
push 0
mov byte [eax + 0x48], 7
mov eax, dword [esi + 0xd0]
mov byte [eax + 0x44], 0
call ebx
mov ecx, dword [esi + 0xd0]
mov dword [ecx + 0x2c], eax
test eax, eax
je 0x449e99
push 0x8000
push 0
call ebx
mov ecx, dword [esi + 0xd0]
mov dword [ecx + 0x30], eax
test eax, eax
je 0x449e99
mov ecx, dword [esi + 0xd0]
mov eax, dword [ecx + 0x30]
add eax, 0x8000
mov dword [ecx + 0x34], eax
mov ecx, dword [esi + 0xd0]
mov eax, dword [ecx + 0x30]
mov dword [ecx + 0x3c], eax
mov ecx, dword [esi + 0xd0]
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x38], eax
mov ebx, dword [esi]
test bl, 8
je 0x449cb8
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x60], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x64], eax
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov dword [esi + 0x7a], eax
mov dword [esi + 0x7e], edx
mov edi, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
mov dword [esi + 0x82], edi
mov dword [esi + 0x86], ecx
jmp 0x449cca
mov eax, dword [esi + 0x7a]
mov edx, dword [esi + 0x7e]
mov edi, dword [esi + 0x82]
mov ecx, dword [esi + 0x86]
mov dword [esi + 0xe0], eax
movzx eax, word [esi + 0x54]
mov dword [esi + 0xe4], edx
mov edx, eax
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], ecx
test al, 8
je 0x449cf1
mov al, byte [esi + 0x59]
jmp 0x449cf4
mov al, byte [esi + 0x5f]
mov byte [esi + 0x108], al
test bl, 4
je 0x449d10
mov edi, dword [esi + 0x8a]
mov ebp, dword [esi + 0x8e]
jmp 0x449e5a
mov ecx, ebx
test dl, 1
je 0x449dbd
mov edx, dword [esi + 0x48]
mov dword [esi + 0x100], 0xc
mov dword [esi + 0x104], 0
mov dword [esi + 0xf0], 0x12345678
mov dword [esi + 0xf4], 0x23456789
mov dword [esi + 0xf8], 0x34567890
test edx, edx
je 0x449dbd
mov al, byte [edx]
test al, al
je 0x449dbd
nop word [eax + eax]
mov ecx, dword [esi + 0xf0]
lea edx, [edx + 1]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4fb5b8]
movzx eax, cl
add eax, dword [esi + 0xf4]
imul eax, eax, 0x8088405
mov dword [esi + 0xf0], ecx
mov ecx, dword [esi + 0xf8]
inc eax
mov dword [esi + 0xf4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4fb5b8]
mov dword [esi + 0xf8], ecx
mov al, byte [edx]
test al, al
jne 0x449d60
mov ecx, ebx
mov edx, dword [esi + 0x2c]
xor edi, edi
add edx, dword [esi + 0x8a]
adc edi, dword [esi + 0x8e]
add edx, 0x1c
adc edi, 0
test cl, 1
jne 0x449e19
mov ecx, dword [esi + 0xc]
xor eax, eax
add ecx, edx
lea edx, [esp + 0x10]
push 0
push edx
adc eax, edi
mov dword [esp + 0x18], ecx
push eax
push ecx
push dword [esi + 4]
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x449e1f
mov eax, 7
push esi
mov dword [esi + 8], eax
call fcn.00445750
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edi
push 2
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0044aea0
add esp, 0xc
test eax, eax
je 0x449e00
movzx eax, word [esi + 0x68]
mov ebx, dword [esi]
cdq
mov edi, eax
mov ebp, edx
movzx eax, word [esp + 0x1c]
cdq
add edi, eax
adc ebp, edx
add edi, dword [esi + 0x8a]
adc ebp, dword [esi + 0x8e]
add edi, 0x1e
adc ebp, 0
test bl, 1
jne 0x449e8b
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x10]
xor eax, eax
add ecx, edi
push 0
push edx
adc eax, ebp
mov dword [esp + 0x18], ecx
push eax
push ecx
push dword [esi + 4]
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x449eaa
jmp 0x449e00
mov dword [esi + 0x18], edi
pop edi
mov dword [esi + 0x1c], ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, 2
push esi
mov dword [esi + 8], eax
call fcn.00445750
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret