Function at 0x4481d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x294
mov ebx, dword [0x45e20c]
mov ebp, dword [0x45e208]
mov eax, ebp
or eax, ebx
jne 0x448298
mov dword [esp + 0x14c], 0xb92ebb16
mov dword [esp + 0x150], 0xbd22bfdc
mov dword [esp + 0x154], 0xb1e0b320
mov dword [esp + 0x158], 0xb52ab7d4
mov dword [esp + 0x15c], 0xa9aaab28
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x4c]
cmp eax, 0x13
ja 0x448271
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x4c]
movzx eax, byte [esp + eax + 0x14c]
push dword [esp + 0x4c]
push eax
call fcn.00448c40
add esp, 8
mov ecx, dword [esp + 0x4c]
mov byte [esp + ecx + 0x14c], al
inc dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
cmp eax, 0x14
jb 0x448240
lea eax, [esp + 0x14c]
push eax
call fcn.00447e40
add esp, 4
mov ebp, eax
mov dword [0x45e20c], edx
mov dword [0x45e208], eax
or eax, edx
je 0x44838c
mov ebx, edx
lea eax, [esp + 0x254]
push 0x40
push eax
push ebx
push ebp
call fcn.00447c60
add esp, 0x10
test eax, eax
js 0x44838c
mov eax, dword [esp + 0x290]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
lea edx, [esp + 0x14c]
push 0x108
push edx
push ecx
push eax
call fcn.00447c60
add esp, 0x10
xor edi, edi
test eax, eax
js 0x44838e
cmp dword [esp + 0x1d8], 0
je 0x44838e
mov eax, dword [esp + 0x1d4]
mov esi, 0
test eax, eax
je 0x448390
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x24]
push 0x28
push edx
push ecx
push eax
call fcn.00447c60
add esp, 0x10
test eax, eax
js 0x44838c
mov esi, dword [esp + 0x38]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x44833b
lea eax, [esi*4]
push eax
call fcn.0040c920
add esp, 4
mov edx, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x40]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x14], edx
push edx
push ecx
push eax
call fcn.00447c60
add esp, 0x10
test eax, eax
js 0x44839f
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x4483a8
mov eax, 0xffffffff
jmp 0x4483aa
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x294
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x4485a7
add eax, eax
push eax
call fcn.0040c920
add esp, 4
mov esi, dword [esp + 0x3c]
add esi, esi
mov ecx, dword [esp + 0x48]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.00447c60
add esp, 0x10
test eax, eax
js 0x448597
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4483f6
mov eax, esi
push eax
call fcn.0040c920
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x44]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00447c60
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], edi
js 0x448585
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x448432
mov esi, eax
test esi, esi
je 0x448585
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
jmp 0x448475
mov ebp, 0xb14a5e2
cmp ebp, dword [esp + 0x2a8]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
je 0x4485b8
mov eax, dword [esp + 0x14]
inc eax
cmp eax, esi
je 0x448585
mov dword [esp + 0x14], eax
mov eax, dword [edi + eax*4]
mov edx, ebp
and edx, eax
mov ecx, edx
shr ecx, 0x1f
add edx, edx
xor eax, ebp
add eax, edx
adc ecx, ebx
push 0x100
lea edx, [esp + 0x50]
push edx
push ecx
push eax
call fcn.00447c60
add esp, 0x10
cmp eax, 0xbfffffff
ja 0x448468
mov ebx, 0xffffffff
xor eax, eax
nop
mov esi, eax
cmp byte [esp + ebx + 0x4d], 0
lea ebx, [ebx + 1]
lea eax, [eax + 1]
jne 0x4484b0
mov dword [esp + 4], 0x82868419
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x448506
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00448cc0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x4484e0
test ebx, ebx
je 0x44844a
mov eax, dword [esp + 4]
mov edx, 0xb14a5e2
lea ecx, [esp + 0x4c]
cmp ebx, 4
jb 0x44855b
mov ebp, esi
and ebp, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [ecx]
xor edi, edx
imul edi, eax
movsx edx, byte [ecx + 1]
xor edx, edi
imul edx, eax
movsx edi, byte [ecx + 2]
xor edi, edx
imul edi, eax
movsx edx, byte [ecx + 3]
xor edx, edi
imul edx, eax
add ecx, 4
add ebp, 0xfffffffc
jne 0x448530
mov ebp, edx
test bl, 3
mov edi, dword [esp + 0xc]
je 0x44844f
and esi, 3
xor ebx, ebx
nop
movsx ebp, byte [ecx + ebx]
xor ebp, edx
imul ebp, eax
inc ebx
mov edx, ebp
cmp esi, ebx
jne 0x448570
jmp 0x44844f
xor edi, edi
xor esi, esi
push dword [esp + 0xc]
call fcn.0040c930
add esp, 4
jmp 0x44859b
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040c930
add esp, 4
push dword [esp + 0x10]
call fcn.0040c930
add esp, 4
jmp 0x448390
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x10]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x448589