Function at 0x4431a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x27c
mov ebx, dword [0x458684]
mov ebp, dword [0x458680]
mov eax, ebp
or eax, ebx
jne 0x443258
mov dword [esp + 0x4c], 0x8f3a893a
mov dword [esp + 0x50], 0x833e8d28
mov dword [esp + 0x54], 0x87f4813c
mov dword [esp + 0x58], 0x9b268520
mov dword [esp + 0x5c], 0x9f9e9924
mov eax, 0xa2
mov ecx, 0x5d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x56]
mov esi, ecx
or esi, edi
mov ebx, ecx
and ebx, 0x53
mov edx, eax
and edx, 0xac
or edx, ebx
xor edx, 0xac
or edx, ecx
and edx, edi
sub edx, esi
add dl, 0xd5
mov byte [esp + eax - 0x56], dl
inc eax
dec ecx
cmp eax, 0xb6
jne 0x443200
lea eax, [esp + 0x4c]
push eax
call fcn.00442e00
add esp, 4
mov ebp, eax
mov dword [0x458684], edx
mov dword [0x458680], eax
or eax, edx
je 0x443340
mov ebx, edx
lea eax, [esp + 0x14c]
push 0x40
push eax
push ebx
push ebp
call fcn.00442c10
add esp, 0x10
test eax, eax
js 0x443340
mov eax, dword [esp + 0x188]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x18c]
push 0xf0
push edx
push ecx
push eax
call fcn.00442c10
add esp, 0x10
xor edi, edi
test eax, eax
js 0x443342
cmp dword [esp + 0x200], 0
je 0x443342
mov eax, dword [esp + 0x1fc]
mov esi, 0
test eax, eax
je 0x443344
mov edx, ebp
and edx, eax
mov ecx, edx
shr ecx, 0x1f
add edx, edx
xor eax, ebp
add eax, edx
adc ecx, ebx
lea edx, [esp + 0x24]
push 0x28
push edx
push ecx
push eax
call fcn.00442c10
add esp, 0x10
test eax, eax
js 0x443340
mov ecx, dword [esp + 0x38]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x443309
mov eax, esi
push eax
call fcn.0040c8d0
add esp, 4
mov edx, dword [esp + 0x40]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.00442c10
add esp, 0x10
test eax, eax
js 0x443353
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x44335c
mov eax, 0xffffffff
jmp 0x44335e
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x27c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x443530
add eax, eax
push eax
call fcn.0040c8d0
add esp, 4
mov esi, dword [esp + 0x3c]
mov ecx, esi
or ecx, 2
mov edx, esi
and edx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffffffd
imul esi, edx
add esi, ecx
mov ecx, dword [esp + 0x48]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 8], eax
push eax
push edx
push ecx
call fcn.00442c10
add esp, 0x10
test eax, eax
js 0x443520
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4433c0
mov eax, esi
push eax
call fcn.0040c8d0
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.00442c10
add esp, 0x10
test eax, eax
mov dword [esp], edi
js 0x44350f
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x4433fb
mov esi, eax
test esi, esi
je 0x44350f
xor eax, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
jmp 0x44343a
mov edx, 0x36c0b43e
cmp edx, dword [esp + 0x290]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
je 0x443541
mov eax, dword [esp + 0xc]
inc eax
cmp eax, esi
je 0x44350f
mov dword [esp + 0xc], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x50]
push edx
push ecx
push eax
call fcn.00442c10
add esp, 0x10
test eax, eax
jns 0x443467
cmp eax, 0x8000000d
jne 0x44342d
mov eax, 0xffffffff
xor edx, edx
nop
nop
mov ecx, edx
cmp byte [esp + eax + 0x4d], 0
lea eax, [eax + 1]
lea edx, [edx + 1]
jne 0x443470
mov dword [esp + 0x1c], 0x2020093
mov word [esp + 0x20], 0
xor edx, edx
xor byte [esp + edx + 0x1c], dl
inc edx
cmp edx, 6
jne 0x443490
test eax, eax
je 0x443413
mov esi, dword [esp + 0x1c]
mov edx, 0x36c0b43e
lea ebp, [esp + 0x4c]
cmp eax, 1
je 0x4434f1
and ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ebx, byte [ebp]
mov edi, edx
and edi, ebx
add edx, ebx
add edi, edi
sub edx, edi
imul edx, esi
movsx edi, byte [ebp + 1]
add ebp, 2
mov ebx, edx
and ebx, edi
add edx, edi
add ebx, ebx
sub edx, ebx
imul edx, esi
add ecx, 0xfffffffe
jne 0x4434c0
mov ebx, dword [esp + 0x10]
mov edi, dword [esp]
test al, 1
je 0x443418
movsx eax, byte [ebp]
mov ecx, edx
and ecx, eax
add edx, eax
add ecx, ecx
sub edx, ecx
imul edx, esi
jmp 0x443418
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040c8e0
add esp, 4
jmp 0x443524
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040c8e0
add esp, 4
push dword [esp + 8]
call fcn.0040c8e0
add esp, 4
jmp 0x443344
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 8]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x443513