Function at 0x4349b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x68
mov ebp, ecx
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0x100000
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0x54554a4b
mov word [esp + 0x40], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x434a43
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x3c]
add eax, 0xeb1bc1ee
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x5a
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x3c], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x434a10
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x443f64]
test ecx, ecx
je 0x434a9e
xor edx, edx
mov esi, dword [0x443f68]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x434a70
inc edx
cmp ecx, edx
jne 0x434a60
jmp 0x434a9e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x434a9e
lea eax, [esp + 0x28]
lea edx, [esp + 0x10]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x443f6c]
push ecx
call fcn.00436330
add esp, 0x24
test eax, eax
js 0x43517a
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov ebx, 0x10000
mov dword [esp + 0x58], ebp
jmp 0x434b0e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov edx, ecx
xor edx, eax
and ecx, eax
lea eax, [edx + ecx*2]
mov ebx, eax
cmp eax, 0x7fffffff
jae 0x4350ce
mov ecx, dword [ebp]
mov dword [esp + 0x14], 0x54554a4b
mov word [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x434b5e
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x14]
add eax, 0xeb1bc1ee
xor eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x5a
mov edx, dword [esp]
mov byte [esp + edx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x434b30
mov eax, dword [esp + 0x14]
mov edx, dword [0x443f64]
test edx, edx
je 0x434bc0
xor esi, esi
mov edi, dword [0x443f68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x2ee8d390
je 0x434b90
inc esi
cmp edx, esi
jne 0x434b80
jmp 0x434bc0
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x434bc0
push 0
push 0x1c
lea eax, [esp + 0x44]
push eax
push 0
push ebx
push ecx
push 6
push dword [0x443f6c]
push edx
call fcn.00436330
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x4350ce
test eax, eax
js 0x434af0
cmp dword [esp + 0x4c], 0x1000
jne 0x434af0
cmp dword [esp + 0x50], 1
je 0x434af0
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x48], eax
jbe 0x434d7a
mov dword [esp + 0x14], 0x54554a4b
mov word [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x434c4e
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x14]
add eax, 0xeb1bc1ee
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x5a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x434c20
mov eax, dword [0x443f64]
test eax, eax
je 0x434caa
mov ecx, dword [esp + 0x14]
xor edx, edx
mov esi, dword [0x443f68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x434c80
inc edx
cmp eax, edx
jne 0x434c70
jmp 0x434caa
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x434caa
push 0x8000
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x443f6c]
push eax
call fcn.00436330
add esp, 0x1c
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0x54554a4b
mov word [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x434d0e
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x14]
add eax, 0xeb1bc1ee
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x5a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x434ce0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x443f64]
test ecx, ecx
je 0x434d6e
xor edx, edx
mov esi, dword [0x443f68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x434d40
inc edx
cmp ecx, edx
jne 0x434d30
jmp 0x434d6e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x434d6e
push 4
push 0x3000
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 6
push dword [0x443f6c]
push ecx
call fcn.00436330
add esp, 0x24
test eax, eax
js 0x4350ce
mov eax, dword [esp + 0x28]
mov ecx, ebp
lea edx, [esp + 4]
push edx
push eax
push dword [esp + 0x18]
push ebx
call fcn.00434830
cmp eax, 0xbfffffff
ja 0x434af0
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x10]
push dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
call fcn.00435190
add esp, 0x18
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp ecx, edi
je 0x434af0
add ebx, 0x75a216c6
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x7c]
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
mov esi, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x5c], ecx
mov edx, ecx
mov dword [esp + 0x60], edi
jmp 0x434e3b
push ecx
push edx
push eax
call fcn.00409390
add esp, 0xc
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
add eax, ebx
add eax, 0x8a5de93a
mov esi, dword [esp + 0x24]
mov dword [esi + edi], eax
add ebp, 4
add edx, 4
mov edi, dword [esp + 0x60]
cmp edx, edi
je 0x435090
mov ecx, esi
mov ebx, dword [edx]
sub ebx, dword [esp + 0x10]
mov eax, esi
xor eax, ebp
not esi
and esi, ebp
add esi, esi
sub esi, eax
cmp ebp, dword [esp + 0x20]
mov dword [esp + 0x30], ebp
je 0x434e70
mov edi, ebp
sub edi, ecx
mov dword [esp + 0x24], ecx
cmp edi, esi
jae 0x434e17
jmp 0x43500d
mov dword [esp + 0x34], edx
mov eax, esi
sar eax, 2
inc eax
mov dword [esp + 8], ecx
sub ebp, ecx
mov dword [esp + 0xc], ebp
mov ecx, ebp
sar ecx, 2
mov edi, ecx
shr edi, 1
add edi, ecx
cmp edi, eax
ja 0x434e95
mov edi, eax
mov eax, edi
and eax, 0xfffffffb
mov ecx, edi
and ecx, 4
mov edx, edi
or edx, 4
imul edx, ecx
xor ecx, 4
imul ecx, eax
add edx, ecx
push edx
call fcn.004092e0
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 8]
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x434fee
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebx
cmp ebp, ecx
mov eax, dword [esp + 0xc]
jbe 0x434f8f
cmp dword [esp + 0x30], ebp
jbe 0x434f8f
test eax, eax
je 0x434fd3
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
add eax, edx
dec eax
mov ecx, dword [esp + 0x24]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x434f24
neg edi
xor edx, edx
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x434f10
add eax, edx
add ecx, edx
add edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 8]
sub edi, ebx
cmp edi, 0xfffffff8
ja 0x434fd3
neg edx
xor edi, edi
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 0x434f40
jmp 0x434fd3
mov ecx, eax
shr ecx, 2
mov ebx, dword [esp + 8]
mov edx, eax
mov eax, ebx
mov edi, ebp
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edi, edx
and edx, 0xfffffffc
lea eax, [edx + ebp]
add edx, ebx
mov ecx, edi
mov ebx, edi
shr ecx, 1
and ecx, 1
mov ebp, edx
mov edi, eax
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x434fd3
mov ecx, dword [esp + 0xc]
and ecx, 2
movzx edx, byte [edx + ecx]
mov byte [eax + ecx], dl
mov edi, dword [esp + 8]
push edi
call fcn.004092f0
mov ecx, edi
add esp, 4
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
lea eax, [edi*4]
add eax, ebp
mov dword [esp + 0x20], eax
add ebp, esi
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0xc]
cmp edi, esi
jae 0x434e17
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x24]
lea edx, [eax + edi]
add ecx, esi
sub ecx, dword [esp + 0x30]
mov dword [esp + 0xc], edi
add eax, edi
add eax, 4
cmp ecx, 4
jg 0x434e00
mov ebx, ecx
shr ecx, 2
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, ebx
and esi, 0xfffffffc
add eax, esi
add esi, edx
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov edx, esi
mov edi, eax
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov ecx, ebx
test cl, 1
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0xc]
je 0x434e17
and ecx, 2
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
movzx ecx, byte [esi + ecx]
mov esi, dword [esp + 8]
mov byte [eax + esi], cl
jmp 0x434e17
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 4], ebp
mov dword [ebx], esi
mov eax, dword [esp + 0x20]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x5c]
test eax, eax
mov ebp, dword [esp + 0x58]
je 0x434af0
cmp eax, edi
je 0x434af0
push eax
call fcn.004092f0
add esp, 4
mov dword [esp + 0x14], 0
jmp 0x434af0
mov dword [esp + 0x14], 0x54554a4b
mov word [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43511e
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x14]
add eax, 0xeb1bc1ee
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x5a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x4350f0
mov eax, dword [0x443f64]
test eax, eax
mov edi, dword [esp + 0x7c]
je 0x43517a
mov ecx, dword [esp + 0x14]
xor edx, edx
mov esi, dword [0x443f68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x435150
inc edx
cmp eax, edx
jne 0x435140
jmp 0x43517a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43517a
push 0x8000
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x443f6c]
push eax
call fcn.00436330
add esp, 0x1c
mov eax, edi
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret 0x10