Function at 0x439a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x2c], 0x100000
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0x20272625
mov eax, 0x8bd5d989
nop
nop
nop
movzx ecx, byte [esp + eax + 0x742a2683]
lea esi, [eax + 0x742a2700]
and esi, ecx
mov edi, esi
and edi, 0xffffff8d
mov edx, esi
or edx, 0xfffffffd
inc edx
imul edx, edi
mov edi, esi
and edi, 2
or esi, 2
imul esi, edi
add edx, ecx
sub edx, esi
add edx, eax
mov esi, edx
and esi, 0x52
xor edx, 0x52
lea edx, [edx + esi*2]
add ecx, eax
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
mov byte [esp + eax + 0x742a2683], cl
inc eax
cmp eax, 0x8bd5d98d
jne 0x439a70
mov eax, dword [esp + 0xc]
mov ecx, dword [0x44ae04]
test ecx, ecx
je 0x439b1e
xor edx, edx
mov esi, dword [0x44ae08]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x439af0
inc edx
cmp ecx, edx
jne 0x439ae0
jmp 0x439b1e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x439b1e
lea eax, [esp + 0x2c]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push ecx
push dword [0x44ae0c]
call fcn.0043bd80
add esp, 0x24
test eax, eax
js 0x43a23a
cmp dword [ebx + 4], 0
je 0x439c14
mov eax, dword [ebx + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0xc], 0x57574948
xor ecx, ecx
nop
nop
nop
movzx esi, byte [esp + ecx + 0xc]
lea edx, [ecx - 0x77bace12]
or edx, esi
not esi
mov edi, 0x11
sub edi, ecx
or edi, esi
and edx, edi
add edx, 0x56a60659
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + ecx + 0xc], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 4
jb 0x439b70
mov dword [esp + 0x34], 0x7fff
cmp eax, 2
je 0x439bc4
mov dword [esp + 0x34], 0
mov edi, 0xfffeffff
je 0x439bd0
mov edi, SysReAllocString
mov eax, dword [esp + 0xc]
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 0x28], eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov eax, ecx
sbb eax, dword [esp + 0x34]
jae 0x43a176
mov dword [esp + 0x20], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], edi
jmp 0x439ca6
push 0xbbf966b4
push dword [0x44adf8]
call fcn.0043eac0
add esp, 8
test eax, eax
je 0x43a247
mov ecx, dword [ebx]
test ecx, ecx
je 0x439b30
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
push edx
push ecx
call eax
test eax, eax
je 0x43a253
cmp dword [esp + 0xc], 0
je 0x43a253
mov dword [ebx + 4], 3
jmp 0x439b30
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
nop
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
adc ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov eax, ecx
sbb eax, dword [esp + 0x34]
jae 0x43a176
mov ecx, ebx
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x34]
push dword [esp + 0x3c]
call fcn.004394e0
cmp eax, 0xbfffffff
ja 0x43a176
test eax, eax
js 0x439c80
cmp dword [esp + 0x64], 0x1000
jne 0x439c80
test byte [esp + 0x60], 0x66
je 0x439c80
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x2c], esi
mov edx, dword [esp + 0x44]
mov eax, 0
sbb eax, edx
jae 0x439eae
mov dword [esp + 0x38], edx
mov dword [esp + 0xc], 0x20272625
mov eax, 0x8bd5d989
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x742a2683]
lea ebx, [eax + 0x742a2700]
and ebx, ecx
mov edi, ebx
and edi, 0xffffff8d
mov edx, ebx
or edx, 0xfffffffd
inc edx
imul edx, edi
mov edi, ebx
and edi, 2
or ebx, 2
imul ebx, edi
add edx, ecx
sub edx, ebx
add edx, eax
mov edi, edx
and edi, 0x52
xor edx, 0x52
lea edx, [edx + edi*2]
add ecx, eax
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
mov byte [esp + eax + 0x742a2683], cl
inc eax
cmp eax, 0x8bd5d98d
jne 0x439d20
mov eax, dword [0x44ae04]
test eax, eax
je 0x439dca
mov ecx, dword [esp + 0xc]
xor edx, edx
mov edi, dword [0x44ae08]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x16194952
je 0x439da0
inc edx
cmp eax, edx
jne 0x439d90
jmp 0x439dca
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0x439dca
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push eax
push dword [0x44ae0c]
call fcn.0043bd80
add esp, 0x1c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc], 0x20272625
mov eax, 0x8bd5d989
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x742a2683]
lea ebx, [eax + 0x742a2700]
and ebx, ecx
mov edi, ebx
and edi, 0xffffff8d
mov edx, ebx
or edx, 0xfffffffd
inc edx
imul edx, edi
mov edi, ebx
and edi, 2
or ebx, 2
imul ebx, edi
add edx, ecx
sub edx, ebx
add edx, eax
mov edi, edx
and edi, 0x52
xor edx, 0x52
lea edx, [edx + edi*2]
add ecx, eax
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
mov byte [esp + eax + 0x742a2683], cl
inc eax
cmp eax, 0x8bd5d98d
jne 0x439df0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x44ae04]
test ecx, ecx
mov ebx, dword [esp + 0x30]
je 0x439e9e
xor edx, edx
mov edi, dword [0x44ae08]
nop
nop
cmp dword [edi + edx*8], 0x3e416e49
je 0x439e70
inc edx
cmp ecx, edx
jne 0x439e60
jmp 0x439e9e
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x439e9e
push 4
push 0x3000
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 6
push ecx
push dword [0x44ae0c]
call fcn.0043bd80
add esp, 0x24
test eax, eax
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
js 0x43a176
mov ecx, ebx
lea eax, [esp + 0x70]
push eax
push edx
push esi
push dword [esp + 0x24]
push dword [esp + 0x34]
push dword [esp + 0x3c]
call fcn.00439880
test eax, eax
jns 0x439ed7
cmp eax, 0x8000000d
jne 0x439c80
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x439c80
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call fcn.0043a280
add esp, 0x18
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
cmp eax, ecx
je 0x439c68
mov dword [esp + 0x68], eax
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp 0x439f78
push dword [esp + 8]
call fcn.0040c870
add esp, 4
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x58]
lea eax, [edi + ebx*8]
mov dword [esp + 0x20], eax
mov ecx, edi
mov ebx, dword [esp + 0x1c]
add ecx, ebx
mov edx, edi
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
mov dword [edx + ebx], esi
mov dword [edx + ebx + 4], eax
add ecx, 8
mov eax, dword [esp + 0x38]
add eax, 4
cmp eax, dword [esp + 0x5c]
je 0x43a122
mov dword [esp + 4], ecx
mov dword [esp + 0x38], eax
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
mov ecx, esi
xor ecx, eax
not esi
and esi, eax
add esi, esi
sub esi, ecx
mov ecx, dword [esp + 4]
mov eax, esi
sar eax, 0x1f
add esi, dword [esp + 0x28]
adc eax, dword [esp + 0x24]
mov ebx, ecx
sub ebx, edx
cmp ecx, dword [esp + 0x20]
jne 0x439f5d
mov dword [esp + 0x6c], eax
mov dword [esp + 8], edx
mov dword [esp + 0x1c], ebx
sar ebx, 3
lea edi, [ebx + 1]
mov edx, ebx
shr edx, 1
mov eax, edx
and eax, ebx
xor edx, ebx
lea ebx, [edx + eax*2]
cmp ebx, edi
ja 0x439fd2
mov ebx, edi
lea eax, [ebx*8]
push eax
call fcn.0040c860
add esp, 4
mov edi, eax
mov edx, dword [esp + 8]
test edx, edx
je 0x439f44
mov dword [esp + 0x20], ebx
cmp edi, edx
mov eax, dword [esp + 4]
mov dword [esp + 0x58], edi
jbe 0x43a0c2
cmp eax, edi
jbe 0x43a0c2
cmp dword [esp + 0x1c], 0
je 0x439f30
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x1c]
add eax, edx
dec eax
mov ecx, dword [esp + 0x58]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x43a054
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x43a040
add eax, edx
add ecx, edx
add edx, dword [esp + 0x1c]
mov edi, dword [esp + 8]
sub edi, dword [esp + 4]
cmp edi, 0xfffffff8
ja 0x439f30
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x43a070
jmp 0x439f30
mov ecx, dword [esp + 0x1c]
shr ecx, 2
mov dword [esp + 4], edx
mov eax, edi
mov ebx, dword [esp + 4]
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
not ecx
or ecx, 0xfffffffc
add ecx, ebx
lea edi, [eax + ecx]
inc edi
lea eax, [edx + ecx]
inc eax
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov edx, eax
mov dword [esp + 4], edi
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
test bl, 1
je 0x439f30
mov ecx, dword [esp + 0x1c]
and ecx, 2
movzx eax, byte [eax + ecx]
mov edx, dword [esp + 4]
mov byte [edx + ecx], al
jmp 0x439f30
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov esi, dword [esp + 0x20]
mov dword [eax + 8], esi
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43a165
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
cmp eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x30]
je 0x439c80
push eax
call fcn.0040c870
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x439c80
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x30]
jmp 0x439c80
mov dword [esp + 0xc], 0x20272625
mov eax, 0x8bd5d989
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x742a2683]
lea esi, [eax + 0x742a2700]
and esi, ecx
mov edi, esi
and edi, 0xffffff8d
mov edx, esi
or edx, 0xfffffffd
inc edx
imul edx, edi
mov edi, esi
and edi, 2
or esi, 2
imul esi, edi
add edx, ecx
sub edx, esi
add edx, eax
mov esi, edx
and esi, 0x52
xor edx, 0x52
lea edx, [edx + esi*2]
add ecx, eax
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
mov byte [esp + eax + 0x742a2683], cl
inc eax
cmp eax, 0x8bd5d98d
jne 0x43a190
mov eax, dword [0x44ae04]
test eax, eax
je 0x43a23a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x44ae08]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x16194952
je 0x43a210
inc edx
cmp eax, edx
jne 0x43a200
jmp 0x43a23a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43a23a
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push eax
push dword [0x44ae0c]
call fcn.0043bd80
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [ebx + 4], 1
jmp 0x439b30
lea eax, [esp + 0x48]
push eax
call fcn.0043f2c0
add esp, 4
test al, al
je 0x439b30
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x43a278
mov ecx, eax
mov dword [ebx + 4], ecx
jmp 0x439b30