Function at 0x434850
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov edi, ecx
mov eax, dword [esp + 0x74]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0x100000
mov dword [esp + 8], 0
mov dword [esp], 0xe0e7e6e5
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 3
ja 0x4348e1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx]
add eax, 0x887a7729
xor eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add al, 0x33
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 4
jb 0x4348b0
mov eax, dword [esp]
mov ecx, dword [0x443f58]
test ecx, ecx
je 0x43493e
xor edx, edx
mov esi, dword [0x443f5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x434910
inc edx
cmp ecx, edx
jne 0x434900
jmp 0x43493e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43493e
lea eax, [esp + 0x1c]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x443f60]
push ecx
call fcn.00436440
add esp, 0x24
test eax, eax
js 0x434f1a
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], 0x10000
mov dword [esp + 0x4c], edi
jmp 0x4349a7
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
cmp eax, 0x7fffffff
jae 0x434e6e
mov ecx, dword [edi]
mov dword [esp + 4], 0xe0e7e6e5
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x4349ee
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add eax, 0x887a7729
xor eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x33
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x4349c0
mov eax, dword [esp + 4]
mov edx, dword [0x443f58]
test edx, edx
je 0x434a60
mov ebp, edi
xor esi, esi
mov edi, dword [0x443f5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x2ee8d390
je 0x434a30
inc esi
cmp edx, esi
jne 0x434a10
mov edi, ebp
jmp 0x434a60
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov edi, ebp
je 0x434a60
push 0
push 0x1c
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x30]
push ecx
push 6
push dword [0x443f60]
push edx
call fcn.00436440
add esp, 0x24
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x434e6e
test eax, eax
js 0x434990
cmp dword [esp + 0x40], 0x1000
jne 0x434990
cmp dword [esp + 0x44], 1
je 0x434990
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x3c], eax
jbe 0x434c1a
mov dword [esp + 4], 0xe0e7e6e5
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x434aee
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x887a7729
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x33
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x434ac0
mov eax, dword [0x443f58]
test eax, eax
je 0x434b4a
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x443f5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x434b20
inc edx
cmp eax, edx
jne 0x434b10
jmp 0x434b4a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x434b4a
push 0x8000
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x443f60]
push eax
call fcn.00436440
add esp, 0x1c
mov dword [esp + 8], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0xe0e7e6e5
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x434bae
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x887a7729
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x33
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x434b80
mov eax, dword [esp + 4]
mov ecx, dword [0x443f58]
test ecx, ecx
je 0x434c0e
xor edx, edx
mov esi, dword [0x443f5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x434be0
inc edx
cmp ecx, edx
jne 0x434bd0
jmp 0x434c0e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x434c0e
push 4
push 0x3000
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 6
push dword [0x443f60]
push ecx
call fcn.00436440
add esp, 0x24
test eax, eax
js 0x434e6e
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov edx, esp
push edx
push eax
push dword [esp + 0x10]
push dword [esp + 0x2c]
call fcn.00434700
cmp eax, 0xbfffffff
ja 0x434990
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0xc]
push dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.00434f30
add esp, 0x18
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp esi, edx
je 0x434990
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edx
jmp 0x434cca
push dword [esp + 0xc]
call fcn.004097e0
add esp, 4
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
lea eax, [ecx + ebx*4]
mov edi, ecx
add edi, ebp
mov edx, dword [esp + 0x54]
mov ebx, ebp
mov ebp, dword [esp + 0x5c]
add ebp, dword [esp + 0x20]
mov dword [ecx + ebx], ebp
add edi, 4
add esi, 4
cmp esi, edx
je 0x434e32
mov ebp, dword [esi]
sub ebp, dword [esp + 8]
mov dword [esp + 0x5c], ebp
mov ebp, edi
sub ebp, ecx
cmp edi, eax
jne 0x434caf
mov dword [esp + 0xc], ecx
mov ecx, ebp
sar ecx, 2
lea eax, [ecx + 1]
mov ebx, ecx
shr ebx, 1
add ebx, ecx
cmp ebx, eax
ja 0x434cf4
mov ebx, eax
lea eax, [ebx*4]
push eax
call fcn.004097d0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x434ca4
mov dword [esp + 0x58], ebx
lea edx, [ebp + 0x1719274]
cmp ecx, eax
mov dword [esp + 0x28], ecx
jbe 0x434d78
cmp edi, ecx
jbe 0x434d78
test ebp, ebp
je 0x434c90
mov eax, dword [esp + 0xc]
add eax, edx
add eax, 0xfe8e6d8b
mov ecx, dword [esp + 0x28]
add ecx, edx
add ecx, 0xfe8e6d8b
mov ebx, ebp
and ebp, 7
je 0x434dc9
mov dword [esp + 0x24], ebx
neg ebp
xor edx, edx
nop
nop
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 ebp, edx
jne 0x434d60
add eax, edx
add ecx, edx
mov ebp, dword [esp + 0x24]
add edx, ebp
jmp 0x434dcd
mov ebx, ecx
mov ecx, ebp
shr ecx, 2
mov eax, dword [esp + 0xc]
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebp
and eax, 0xfffffffc
lea edi, [ebx + eax]
add eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x24], edi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ebp, ebx
test dl, 1
je 0x434c90
and edx, 2
movzx eax, byte [eax + edx]
mov ecx, dword [esp + 0x24]
mov byte [ecx + edx], al
jmp 0x434c90
mov edx, ebx
mov ebp, ebx
mov ebx, dword [esp + 0xc]
sub ebx, edi
cmp ebx, 0xfffffff8
ja 0x434c90
neg edx
xor edi, edi
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 0x434de0
jmp 0x434c90
mov esi, ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx + 4], edi
mov dword [ecx], esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x50]
test eax, eax
mov edi, dword [esp + 0x4c]
je 0x434990
cmp eax, edx
je 0x434990
push eax
call fcn.004097e0
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x434990
mov dword [esp + 4], 0xe0e7e6e5
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x434ebe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x887a7729
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x33
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x434e90
mov eax, dword [0x443f58]
test eax, eax
je 0x434f1a
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x443f5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x434ef0
inc edx
cmp eax, edx
jne 0x434ee0
jmp 0x434f1a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x434f1a
push 0x8000
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x443f60]
push eax
call fcn.00436440
add esp, 0x1c
mov eax, dword [esp + 0x74]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x10