Function at 0x442cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x298
mov ebx, dword [0x458734]
mov edi, dword [0x458730]
mov eax, edi
or eax, ebx
jne 0x442db1
mov dword [esp + 0x90], 0x971a990a
mov dword [esp + 0x94], 0x93069508
mov dword [esp + 0x98], 0x8f5c9104
mov dword [esp + 0x9c], 0x8b1e8d10
mov dword [esp + 0xa0], 0x8786891c
mov word [esp + 0xa4], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x50]
cmp eax, 0x15
ja 0x442d8a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
movzx ecx, byte [esp + ecx + 0x90]
mov edx, eax
xor edx, 0x8fa05266
and eax, 0xfa05266
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x198]
add al, 2
mov ecx, dword [esp + 0x50]
mov byte [esp + ecx + 0x90], al
inc dword [esp + 0x50]
mov eax, dword [esp + 0x50]
cmp eax, 0x16
jb 0x442d40
lea eax, [esp + 0x90]
push eax
call fcn.00442960
add esp, 4
mov edi, eax
mov dword [0x458734], edx
mov dword [0x458730], eax
or eax, edx
je 0x442e82
mov ebx, edx
lea eax, [esp + 0x50]
push 0x40
push eax
push ebx
push edi
call fcn.00442730
add esp, 0x10
test eax, eax
js 0x442e82
mov eax, dword [esp + 0x8c]
mov ecx, eax
sar ecx, 0x1f
add eax, edi
adc ecx, ebx
lea edx, [esp + 0x90]
push 0x108
push edx
push ecx
push eax
call fcn.00442730
add esp, 0x10
xor esi, esi
test eax, eax
js 0x442e84
cmp dword [esp + 0x11c], 0
je 0x442e84
mov eax, dword [esp + 0x118]
mov ebp, 0
test eax, eax
je 0x442e86
add eax, edi
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x28]
push 0x28
push edx
push ecx
push eax
call fcn.00442730
add esp, 0x10
test eax, eax
js 0x442e82
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x442e4b
mov eax, esi
push eax
call fcn.0040c990
add esp, 4
mov edx, dword [esp + 0x44]
add edx, edi
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x14], eax
push eax
push ecx
push edx
call fcn.00442730
add esp, 0x10
test eax, eax
js 0x442e95
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x442e9e
mov eax, 0xffffffff
jmp 0x442ea0
xor esi, esi
xor ebp, ebp
mov eax, esi
mov edx, ebp
add esp, 0x298
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
xor ebp, ebp
jmp 0x4430e7
add eax, eax
push eax
call fcn.0040c990
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, edi
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push edx
push ecx
call fcn.00442730
add esp, 0x10
test eax, eax
js 0x4430d7
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x442f02
mov eax, esi
push eax
call fcn.0040c990
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x48]
add eax, edi
mov ecx, ebx
adc ecx, 0
push esi
push ebp
push ecx
push eax
call fcn.00442730
add esp, 0x10
test eax, eax
mov dword [esp + 8], ebp
js 0x4430c5
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jb 0x442f3e
mov esi, eax
test esi, esi
je 0x4430c5
xor eax, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
jmp 0x442f81
mov eax, 0xb14a5e2
cmp eax, dword [esp + 0x2ac]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
je 0x4430f8
mov eax, dword [esp + 0x14]
inc eax
cmp eax, esi
je 0x4430c5
mov dword [esp + 0x14], eax
mov eax, dword [ebp + eax*4]
add eax, edi
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x19c]
push edx
push ecx
push eax
call fcn.00442730
add esp, 0x10
cmp eax, 0xbfffffff
ja 0x442f74
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
cmp byte [esp + ecx + 0x199], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x442fc0
mov dword [esp + 4], 0xf6caf461
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x44303f
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
mov esi, edx
xor esi, 0x763e8a53
and edx, 0xf63e8a53
lea esi, [esi + edx*2]
mov edx, esi
and edx, eax
add eax, esi
sub eax, edx
mov esi, 0xfcf4c2ff
sub esi, eax
and esi, edx
not edx
and edx, eax
sub edx, esi
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
add al, 0x61
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x442ff0
test ecx, ecx
je 0x442f56
mov edx, dword [esp + 4]
mov edi, 0xb14a5e2
lea esi, [esp + 0x198]
cmp ecx, 4
jb 0x44309f
mov eax, ebx
and eax, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ebp, byte [esi]
xor ebp, edi
imul ebp, edx
movsx edi, byte [esi + 1]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 2]
xor ebp, edi
imul ebp, edx
movsx edi, byte [esi + 3]
add esi, 4
xor edi, ebp
imul edi, edx
add eax, 0xfffffffc
jne 0x443070
mov ebp, dword [esp + 8]
mov eax, edi
test cl, 3
je 0x442f5b
and ebx, 3
xor ecx, ecx
nop
movsx eax, byte [esi + ecx]
xor eax, edi
imul eax, edx
inc ecx
mov edi, eax
cmp ebx, ecx
jne 0x4430b0
jmp 0x442f5b
xor esi, esi
xor ebp, ebp
push dword [esp + 8]
call fcn.0040c9a0
add esp, 4
jmp 0x4430db
xor esi, esi
xor ebp, ebp
push dword [esp + 0xc]
call fcn.0040c9a0
add esp, 4
push dword [esp + 0x10]
call fcn.0040c9a0
add esp, 4
jmp 0x442e86
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
mov ecx, edi
and ecx, eax
mov ebp, ecx
shr ebp, 0x1f
add ecx, ecx
xor edi, eax
add edi, ecx
adc ebp, ebx
mov esi, edi
jmp 0x4430c9