Function at 0x445470
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x280
mov ebx, dword [0x5db06c]
mov ebp, dword [0x5db068]
mov eax, ebp
or eax, ebx
jne 0x445541
mov dword [esp + 0x50], 0x21aa27b2
mov dword [esp + 0x54], 0xddb623bc
mov dword [esp + 0x58], 0xd908df48
mov dword [esp + 0x5c], 0xd54edb44
mov dword [esp + 0x60], 0xd1d6d740
mov word [esp + 0x64], 0
mov eax, 0x20a74f9
mov ecx, 0x8df58b06
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x20a74a9]
mov edi, ecx
and edi, 0x8d9480f1
mov edx, eax
and edx, 0x208710e
or edx, edi
xor edx, esi
xor edx, 0xfd9684f1
lea ebx, [edx*2 - 0x746891bc]
add edx, 0xc5cbb722
and ebx, 2
mov esi, ebx
and esi, edx
or ebx, edx
xor ebx, 1
add ebx, esi
mov byte [esp + eax - 0x20a74a9], bl
inc eax
dec ecx
cmp eax, 0x20a750f
jne 0x4454d0
lea eax, [esp + 0x50]
push eax
call fcn.00445060
add esp, 4
mov ebp, eax
mov dword [0x5db06c], edx
mov dword [0x5db068], eax
or eax, edx
je 0x44561b
mov ebx, edx
lea eax, [esp + 0x150]
push 0x40
push eax
push ebx
push ebp
call fcn.00444e10
add esp, 0x10
test eax, eax
js 0x44561b
mov eax, dword [esp + 0x18c]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x190]
push 0xf0
push edx
push ecx
push eax
call fcn.00444e10
add esp, 0x10
xor edi, edi
test eax, eax
js 0x44561d
cmp dword [esp + 0x204], 0
je 0x44561d
mov eax, dword [esp + 0x200]
mov esi, 0
test eax, eax
je 0x44561f
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x28]
push 0x28
push edx
push ecx
push eax
call fcn.00444e10
add esp, 0x10
test eax, eax
js 0x44561b
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4455e4
mov eax, esi
push eax
call fcn.0040d310
add esp, 4
mov edx, dword [esp + 0x44]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 8], eax
push eax
push ecx
push edx
call fcn.00444e10
add esp, 0x10
test eax, eax
js 0x44562e
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x445637
mov eax, 0xffffffff
jmp 0x445639
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 0x445866
add eax, eax
push eax
call fcn.0040d310
add esp, 4
mov esi, dword [esp + 0x40]
add esi, esi
mov ecx, dword [esp + 0x4c]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 4], eax
push eax
push edx
push ecx
call fcn.00444e10
add esp, 0x10
test eax, eax
js 0x445857
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x445685
mov eax, esi
push eax
call fcn.0040d310
add esp, 4
mov edx, dword [esp + 0x48]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x14], eax
push eax
push ecx
push edx
call fcn.00444e10
add esp, 0x10
test eax, eax
js 0x445845
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jb 0x4456bf
mov esi, eax
test esi, esi
je 0x445845
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x445702
mov eax, 0xfb520141
mov edi, dword [esp + 0xc]
cmp eax, dword [esp + 0x294]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
je 0x445877
inc edi
cmp edi, esi
je 0x445845
mov eax, dword [esp + 0x10]
mov eax, dword [eax + edi*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.00444e10
add esp, 0x10
test eax, eax
jns 0x44572f
cmp eax, 0x8000000d
jne 0x4456f9
mov dword [esp + 0xc], edi
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
mov edx, eax
cmp byte [esp + ecx + 0x51], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x445740
mov dword [esp + 8], edx
mov dword [esp + 0x14], 0x8e8e881f
mov dword [esp + 0x18], 0
mov edx, 0xe2
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx - 0xce]
mov ebp, edx
and ebp, esi
mov ebx, ebp
and ebx, 2
mov edi, ebp
or edi, 0xfffffffd
inc edi
mov eax, ebp
and eax, 0xffffffed
imul eax, edi
or ebp, 2
imul ebp, ebx
add eax, esi
sub eax, ebp
add eax, edx
add eax, 0xfbfb0000
mov esi, eax
and esi, 0x15
xor eax, 0x95
lea eax, [eax + esi*2]
inc al
mov byte [esp + edx - 0xce], al
inc edx
cmp edx, 0xea
jne 0x445770
test ecx, ecx
je 0x4456d7
mov edx, dword [esp + 0x14]
mov ebp, 0xfb520141
lea esi, [esp + 0x50]
cmp ecx, 4
jb 0x44580b
mov eax, dword [esp + 8]
and eax, 0xfffffffc
movsx edi, byte [esi]
xor edi, ebp
imul edi, edx
movsx ebx, byte [esi + 1]
xor ebx, edi
imul ebx, edx
movsx edi, byte [esi + 2]
xor edi, ebx
imul edi, edx
movsx ebp, byte [esi + 3]
add esi, 4
xor ebp, edi
imul ebp, edx
add eax, 0xfffffffc
jne 0x4457e0
mov eax, ebp
test cl, 3
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 8]
je 0x4456e0
and ebx, 3
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx eax, byte [esi + ecx]
xor eax, ebp
imul eax, edx
inc ecx
mov ebp, eax
cmp ebx, ecx
jne 0x445830
jmp 0x4456e0
xor edi, edi
xor esi, esi
push dword [esp + 0x10]
call fcn.0040d320
add esp, 4
jmp 0x44585b
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040d320
add esp, 4
push dword [esp + 4]
call fcn.0040d320
add esp, 4
jmp 0x44561f
mov eax, dword [esp]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 4]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x445849