Function at 0x434450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov eax, edx
mov dword [esp + 0x18], 0xd
mov edx, dword [ebp + 0xc]
mov esi, ecx
push edi
test edx, edx
je 0x4349a3
lea edi, [esi + 0x160]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movups xmmword [esi + 0x170], xmm0
mov dword [esi + 0x180], eax
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
cmp edx, 0xc
jne 0x4344d5
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov byte [esi + 0x16f], 1
jmp 0x4345ba
mov ecx, edx
movaps xmmword [esp + 0x20], xmm0
and ecx, 0x1fffffff
mov eax, ecx
shr eax, 0x15
mov byte [esp + 0x2c], al
mov eax, ecx
shr eax, 0xd
mov byte [esp + 0x2d], al
mov al, dl
shr ecx, 5
shl al, 3
mov byte [esp + 0x2f], al
mov eax, dword [ebp + 8]
mov byte [esp + 0x2e], cl
nop word [eax + eax]
mov edi, 0x10
cmp edx, edi
cmovb edi, edx
mov dword [esp + 0x18], edi
test edi, edi
je 0x434543
mov edx, eax
lea ecx, [esi + 0x160]
nop word [eax + eax]
mov al, byte [edx]
lea edx, [edx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x434530
mov edi, dword [esp + 0x18]
lea eax, [esi + 0x160]
mov ecx, esi
push eax
mov edx, eax
call fcn.00434280
mov edx, dword [ebp + 0xc]
add esp, 4
mov eax, dword [ebp + 8]
sub edx, edi
add eax, edi
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], eax
test edx, edx
jne 0x434510
lea edx, [esp + 0x21]
mov edi, 4
lea ecx, [esi + 0x161]
nop dword [eax]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
xor byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 4]
xor byte [ecx - 4], al
movzx eax, byte [edx - 3]
xor byte [ecx - 3], al
movzx eax, byte [edx - 2]
xor byte [ecx - 2], al
sub edi, 1
jne 0x434580
lea edi, [esi + 0x160]
mov ecx, esi
push edi
mov edx, edi
call fcn.00434280
add esp, 4
mov ecx, dword [esi]
lea eax, [esi + 0x150]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x10
test ecx, ecx
je 0x434998
cmp dword [ecx + 4], 1
mov edx, dword [ecx + 0x18]
mov dword [esp + 8], edx
jne 0x43461a
cmp edx, 0x10
je 0x4345f3
mov eax, 0xffff9d80
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x1c]
lea ecx, [esi + 0x150]
push ecx
push edi
push dword [esi + 8]
mov eax, dword [eax + 4]
push dword [esi + 0x3c]
call eax
add esp, 0x10
test eax, eax
je 0x434908
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 4], 6
jne 0x434631
mov ecx, dword [esi + 0x3c]
mov edx, 0x10
push eax
push edi
call fcn.004349b0
jmp 0x434645
cmp dword [ecx], 0x49
jne 0x434656
mov ecx, dword [esi + 0x3c]
mov edx, 0x10
push eax
push edi
call fcn.00433670
add esp, 8
test eax, eax
je 0x434908
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edx, edx
jne 0x434665
mov eax, 0xffff9c80
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, eax
jne 0x43468c
cmp dword [esi + 0x24], 0
jne 0x434998
xor edx, edx
mov eax, 0x10
div dword [esp + 8]
test edx, edx
jne 0x434998
lea eax, [esi + 0x150]
cmp dword [ecx + 4], 2
lea edx, [esi + 0x24]
jne 0x434825
mov eax, dword [esi + 8]
test eax, eax
jne 0x43476a
cmp dword [esi + 0xc], 0
mov ecx, edx
mov eax, dword [edx]
mov dword [esp + 0xc], eax
je 0x434758
mov edx, dword [esp + 8]
mov eax, edx
sub eax, dword [esp + 0xc]
cmp eax, 0x10
jae 0x434792
lea ecx, [esi + 0x24]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
test eax, eax
je 0x4347a6
sub edx, eax
add eax, 0x14
push edx
add eax, esi
mov dword [esp + 0x18], edx
push edi
push eax
call fcn.00446970
mov eax, dword [esi]
lea ecx, [esi + 0x150]
add esp, 0xc
lea edx, [esi + 0x14]
mov eax, dword [eax + 0x1c]
push ecx
push edx
lea ecx, [esi + 0x28]
mov eax, dword [eax + 8]
push ecx
push dword [esp + 0x14]
push dword [esi + 8]
push dword [esi + 0x3c]
call eax
add esp, 0x18
test eax, eax
jne 0x4349a8
mov ecx, dword [esp + 8]
lea eax, [esi + 0x150]
add edi, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0
mov eax, 0x10
sub eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
je 0x434908
lea eax, [esi + 0x24]
mov dword [esp + 0x10], eax
jmp 0x4347aa
mov eax, dword [esp + 8]
mov edx, ecx
sub eax, dword [esp + 0xc]
cmp eax, 0x10
ja 0x434792
mov eax, dword [esi + 8]
mov ecx, edx
mov edx, dword [esp + 8]
mov dword [esp + 0x10], ecx
cmp eax, 1
jne 0x4346d0
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
mov eax, edx
sub eax, dword [esp + 0xc]
cmp eax, 0x10
jbe 0x4346d0
movups xmm0, xmmword [edi]
mov eax, dword [esp + 0xc]
movups xmmword [eax + esi + 0x14], xmm0
add dword [ecx], 0x10
jmp 0x434908
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x14]
xor edx, edx
div ecx
mov ecx, edx
mov dword [esp + 0xc], ecx
test ecx, ecx
jne 0x4347cd
cmp dword [esi + 8], edx
jne 0x4347cd
cmp dword [esi + 0xc], edx
cmovne ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov eax, edi
sub eax, ecx
add eax, dword [esp + 0x14]
push ecx
push eax
lea eax, [esi + 0x14]
push eax
call fcn.00446970
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
add dword [eax], ecx
sub edx, ecx
je 0x434908
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
push ecx
push edi
lea ecx, [esi + 0x28]
mov eax, dword [eax + 0x1c]
push ecx
push edx
push dword [esi + 8]
mov eax, dword [eax + 8]
push dword [esi + 0x3c]
call eax
add esp, 0x18
test eax, eax
je 0x434908
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 4], 3
jne 0x434853
mov ecx, dword [ecx + 0x1c]
push eax
push edi
lea eax, [esi + 0x28]
push eax
mov eax, dword [ecx + 0xc]
push edx
push 0x10
push dword [esi + 8]
push dword [esi + 0x3c]
call eax
add esp, 0x1c
test eax, eax
je 0x434908
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 4], 4
jne 0x43487e
mov ecx, dword [ecx + 0x1c]
push eax
push edi
lea eax, [esi + 0x28]
push eax
mov eax, dword [ecx + 0x10]
push edx
push 0x10
push dword [esi + 0x3c]
call eax
add esp, 0x18
test eax, eax
je 0x434908
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 4], 5
jne 0x4348a9
mov ecx, dword [ecx + 0x1c]
push eax
push edi
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x28]
push eax
mov eax, dword [ecx + 0x14]
push edx
push 0x10
push dword [esi + 0x3c]
call eax
add esp, 0x1c
test eax, eax
je 0x434908
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 4], 9
jne 0x4348e2
cmp dword [edx], 0
jbe 0x4348bf
mov eax, 0xffff9f80
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x1c]
push eax
push edi
lea eax, [esi + 0x28]
push eax
mov eax, dword [ecx + 0x18]
push 0x10
push dword [esi + 8]
push dword [esi + 0x3c]
call eax
add esp, 0x18
test eax, eax
je 0x434908
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 4], 7
jne 0x4348b4
mov eax, dword [ecx + 0x1c]
lea ecx, [esi + 0x150]
push ecx
push edi
push 0x10
push dword [esi + 0x3c]
mov eax, dword [eax + 0x1c]
call eax
add esp, 0x10
test eax, eax
jne 0x4349a8
mov ecx, dword [ebp + 0x10]
lea edx, [esi + 0x170]
mov dword [esi + 0x148], 0xd
mov eax, 0xd
mov dword [esi + 0x14c], 0
nop word [eax + eax]
mov edi, 0x10
cmp eax, edi
cmovb edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x434969
mov edx, ecx
lea eax, [esi + 0x170]
nop word [eax + eax]
mov cl, byte [edx]
lea edx, [edx + 1]
xor byte [eax], cl
lea eax, [eax + 1]
sub edi, 1
jne 0x434950
mov edi, dword [esp + 0x18]
lea edx, [esi + 0x170]
push edx
mov ecx, esi
call fcn.00434280
mov eax, dword [esp + 0x20]
lea edx, [esi + 0x170]
mov ecx, dword [ebp + 0x10]
sub eax, edi
add ecx, edi
mov dword [esp + 0x20], eax
add esp, 4
mov dword [ebp + 0x10], ecx
test eax, eax
jne 0x434930
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xffff9f00
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffec
pop edi
pop esi
mov esp, ebp
pop ebp
ret