Function at 0x443160
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x280
mov ebx, dword [0x459b7c]
mov ebp, dword [0x459b78]
mov eax, ebp
or eax, ebx
jne 0x443207
mov dword [esp + 0x50], 0x61ea6712
mov dword [esp + 0x54], 0x7d16631c
mov dword [esp + 0x58], 0x79487f08
mov dword [esp + 0x5c], 0x750e7b04
mov dword [esp + 0x60], 0x71767700
mov word [esp + 0x64], 0
mov byte [esp + 0x66], 0
mov eax, 0xe9
mov ecx, 0x16
nop
nop
movzx esi, byte [esp + eax - 0x99]
mov edx, ecx
xor edx, eax
and edx, esi
xor edx, eax
add dl, 0x73
mov byte [esp + eax - 0x99], dl
inc eax
dec ecx
cmp eax, 0x100
jne 0x4431c0
lea eax, [esp + 0x50]
push eax
call fcn.00442d50
add esp, 4
mov ebp, eax
mov dword [0x459b7c], edx
mov dword [0x459b78], eax
or eax, edx
je 0x443301
mov ebx, edx
lea eax, [esp + 0x150]
push 0x40
push eax
push ebx
push ebp
call fcn.00442b00
add esp, 0x10
test eax, eax
js 0x443301
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.00442b00
add esp, 0x10
xor edi, edi
test eax, eax
js 0x443303
cmp dword [esp + 0x204], 0
je 0x443303
mov eax, dword [esp + 0x200]
mov esi, 0
test eax, eax
je 0x443305
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x28]
push 0x28
push edx
push ecx
push eax
call fcn.00442b00
add esp, 0x10
test eax, eax
js 0x443301
mov esi, dword [esp + 0x3c]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x4432b0
lea eax, [esi*4]
push eax
call fcn.0040cc60
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 + 0x44]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 8], edx
push edx
push ecx
push eax
call fcn.00442b00
add esp, 0x10
test eax, eax
js 0x443314
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x44331d
mov eax, 0xffffffff
jmp 0x44331f
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 0x443576
add eax, eax
push eax
call fcn.0040cc60
add esp, 4
mov esi, dword [esp + 0x40]
mov ecx, esi
and ecx, 0xfffffffd
mov edx, esi
and edx, 2
or esi, 2
imul esi, edx
xor edx, 2
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 + 4], eax
push eax
push edx
push ecx
call fcn.00442b00
add esp, 0x10
test eax, eax
js 0x443567
mov esi, dword [esp + 0x40]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x44337f
lea eax, [esi*4]
push eax
call fcn.0040cc60
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 + 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.00442b00
add esp, 0x10
test eax, eax
js 0x443555
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jb 0x4433d1
mov esi, eax
test esi, esi
je 0x443555
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x44341e
mov eax, 0x36c0b43e
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 0x443587
mov eax, edi
and eax, 1
xor edi, 1
lea edi, [edi + eax*2]
cmp edi, esi
jae 0x443555
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.00442b00
add esp, 0x10
test eax, eax
jns 0x44344b
cmp eax, 0x8000000d
jne 0x44340b
mov dword [esp + 0xc], edi
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
cmp byte [esp + ecx + 0x51], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x443460
mov dword [esp + 8], edx
mov dword [esp + 0x14], 0xd6d6c857
mov dword [esp + 0x18], 0
mov edx, 0xd1
mov eax, 0x9565282e
nop
nop
nop
movzx ebp, byte [esp + eax + 0x6a9ad7e6]
mov esi, edx
xor esi, eax
and esi, ebp
xor esi, eax
lea ebp, [esi + esi]
and ebp, 0x2a084032
xor esi, 0x15063719
mov edi, ebp
and edi, esi
xor esi, ebp
lea ebx, [esi + edi*2]
inc bl
mov byte [esp + eax + 0x6a9ad7e6], bl
dec edx
inc eax
cmp edx, 0xc9
jne 0x443490
test ecx, ecx
je 0x4433e9
mov edx, dword [esp + 0x14]
mov ebp, 0x36c0b43e
lea esi, [esp + 0x50]
cmp ecx, 4
jb 0x44351b
mov eax, dword [esp + 8]
and eax, 0xfffffffc
nop
nop
nop
nop
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 0x4434f0
mov eax, ebp
test cl, 3
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 8]
je 0x4433f2
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 0x443540
jmp 0x4433f2
xor edi, edi
xor esi, esi
push dword [esp + 0x10]
call fcn.0040cc70
add esp, 4
jmp 0x44356b
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040cc70
add esp, 4
push dword [esp + 4]
call fcn.0040cc70
add esp, 4
jmp 0x443305
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 0x443559