Function at 0x447880
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x280
mov ebx, dword [0x45d494]
mov ebp, dword [0x45d490]
mov eax, ebp
or eax, ebx
jne 0x44794e
mov dword [esp + 0x50], 0x8336812e
mov dword [esp + 0x54], 0x872a8520
mov dword [esp + 0x58], 0x8be48924
mov dword [esp + 0x5c], 0x8f228d28
mov dword [esp + 0x60], 0x9392913c
mov byte [esp + 0x64], 0
mov dword [esp + 0x150], 0
mov eax, dword [esp + 0x150]
cmp eax, 0x14
ja 0x44792a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x150]
movzx eax, byte [esp + eax + 0x50]
push dword [esp + 0x150]
push eax
call fcn.00448330
add esp, 8
mov ecx, dword [esp + 0x150]
mov byte [esp + ecx + 0x50], al
inc dword [esp + 0x150]
mov eax, dword [esp + 0x150]
cmp eax, 0x15
jb 0x4478f0
lea eax, [esp + 0x50]
push eax
call fcn.004474e0
add esp, 4
mov ebp, eax
mov dword [0x45d494], edx
mov dword [0x45d490], eax
or eax, edx
je 0x447a46
mov ebx, edx
lea eax, [esp + 0x240]
push 0x40
push eax
push ebx
push ebp
call fcn.004472f0
add esp, 0x10
test eax, eax
js 0x447a46
mov eax, dword [esp + 0x27c]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x150]
push 0xf0
push edx
push ecx
push eax
call fcn.004472f0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x447a48
cmp dword [esp + 0x1c4], 0
je 0x447a48
mov eax, dword [esp + 0x1c0]
mov esi, 0
test eax, eax
je 0x447a4a
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x28]
push 0x28
push edx
push ecx
push eax
call fcn.004472f0
add esp, 0x10
test eax, eax
js 0x447a46
mov esi, dword [esp + 0x3c]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x4479f7
lea eax, [esi*4]
push eax
call fcn.0040ca60
add esp, 4
mov edx, esi
and edx, 0xfffffffb
mov ecx, esi
and ecx, 4
or esi, 4
imul esi, ecx
xor ecx, 4
imul ecx, edx
add esi, ecx
mov edx, dword [esp + 0x44]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.004472f0
add esp, 0x10
test eax, eax
js 0x447a59
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x447a62
mov eax, 0xffffffff
jmp 0x447a64
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x280
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x447ca7
add eax, eax
push eax
call fcn.0040ca60
add esp, 4
mov esi, dword [esp + 0x40]
mov ecx, esi
and ecx, 2
mov edx, esi
or esi, 2
imul esi, ecx
xor ecx, 2
and edx, 0xfffffffd
imul edx, ecx
add esi, edx
mov ecx, dword [esp + 0x4c]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.004472f0
add esp, 0x10
test eax, eax
js 0x447c97
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x447ac6
mov eax, esi
push eax
call fcn.0040ca60
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x48]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.004472f0
add esp, 0x10
test eax, eax
mov dword [esp + 4], edi
js 0x447c85
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jb 0x447b02
mov esi, eax
test esi, esi
je 0x447c85
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x447b45
mov ebp, 0xfb520141
cmp ebp, dword [esp + 0x294]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
je 0x447cb8
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
je 0x447c85
mov dword [esp + 0x10], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.004472f0
add esp, 0x10
test eax, eax
jns 0x447b72
cmp eax, 0x8000000d
jne 0x447b38
mov ebx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
cmp byte [esp + ebx + 0x51], 0
lea ebx, [ebx + 1]
lea eax, [eax + 1]
jne 0x447b80
mov dword [esp + 0x14], 0xd6d6c857
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x447bd6
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.00448380
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x447bb0
test ebx, ebx
je 0x447b1a
mov eax, dword [esp + 0x14]
lea ebp, [ebx - 1]
mov edx, 0xfb520141
lea ecx, [esp + 0x50]
cmp ebp, 7
jb 0x447c53
mov ebp, esi
and ebp, 0xfffffff8
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
movsx edi, byte [ecx + 4]
xor edi, edx
imul edi, eax
movsx edx, byte [ecx + 5]
xor edx, edi
imul edx, eax
movsx edi, byte [ecx + 6]
xor edi, edx
imul edi, eax
movsx edx, byte [ecx + 7]
add ecx, 8
xor edx, edi
imul edx, eax
add ebp, 0xfffffff8
jne 0x447c00
mov edi, dword [esp + 4]
mov ebp, edx
test bl, 7
je 0x447b1f
and esi, 7
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ebp, byte [ecx + ebx]
xor ebp, edx
imul ebp, eax
inc ebx
mov edx, ebp
cmp esi, ebx
jne 0x447c70
jmp 0x447b1f
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040ca70
add esp, 4
jmp 0x447c9b
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040ca70
add esp, 4
push dword [esp + 0xc]
call fcn.0040ca70
add esp, 4
jmp 0x447a4a
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0xc]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x447c89