Function at 0x432950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov dword [esp + 0x34], 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 + 0x28], 0x100000
mov dword [esp + 0xc], 0
mov dword [esp + 0x40], 0xead5d4d7
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x4329fe
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x40]
mov edx, 0x62
sub edx, eax
add eax, 0x8f1efc9d
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xb5
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x4329c0
mov eax, dword [esp + 0x40]
mov ecx, dword [0x44132c]
test ecx, ecx
je 0x432a5e
xor edx, edx
mov esi, dword [0x441330]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x72d34d92
je 0x432a30
inc edx
cmp ecx, edx
jne 0x432a20
jmp 0x432a5e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x432a5e
lea eax, [esp + 0x28]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x441334]
push ecx
call fcn.00433920
add esp, 0x24
test eax, eax
js 0x4330ba
mov dword [esp + 0x58], 0
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 + 0x2c], 0x10000
jmp 0x432ac7
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
cmp eax, 0x7fffffff
jae 0x433000
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esp + 0x10], 0xead5d4d7
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x432b39
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
mov esi, 0x62
sub esi, eax
add eax, 0x8f1efc9d
xor esi, eax
and esi, edx
xor esi, eax
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
add al, 0xb5
mov edx, dword [esp]
mov byte [esp + edx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x432b00
mov eax, dword [esp + 0x10]
mov edx, dword [0x44132c]
test edx, edx
je 0x432b90
xor esi, esi
mov edi, dword [0x441330]
nop
cmp dword [edi + esi*8], 0x175b5231
je 0x432b60
inc esi
cmp edx, esi
jne 0x432b50
jmp 0x432b90
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x432b90
push 0
push 0x1c
lea eax, [esp + 0x48]
push eax
push 0
push dword [esp + 0x3c]
push ecx
push 6
push dword [0x441334]
push edx
call fcn.00433920
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x433000
test eax, eax
js 0x432ab0
cmp dword [esp + 0x50], 0x1000
jne 0x432ab0
cmp dword [esp + 0x54], 1
je 0x432ab0
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x4c], eax
jbe 0x432d6a
mov dword [esp + 0x10], 0xead5d4d7
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x432c39
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 + 0x10]
mov edx, 0x62
sub edx, eax
add eax, 0x8f1efc9d
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0xb5
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x432c00
mov eax, dword [0x44132c]
test eax, eax
je 0x432c8a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x441330]
nop
nop
cmp dword [esi + edx*8], 0xcf9c6479
je 0x432c60
inc edx
cmp eax, edx
jne 0x432c50
jmp 0x432c8a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x432c8a
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x441334]
push eax
call fcn.00433920
add esp, 0x1c
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0xead5d4d7
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x432d09
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 + 0x10]
mov edx, 0x62
sub edx, eax
add eax, 0x8f1efc9d
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0xb5
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x432cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x44132c]
test ecx, ecx
je 0x432d5e
xor edx, edx
mov esi, dword [0x441330]
nop
cmp dword [esi + edx*8], 0x72d34d92
je 0x432d30
inc edx
cmp ecx, edx
jne 0x432d20
jmp 0x432d5e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x432d5e
push 4
push 0x3000
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 6
push dword [0x441334]
push ecx
call fcn.00433920
add esp, 0x24
test eax, eax
js 0x433000
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 4]
push edx
push eax
push dword [esp + 0x14]
push dword [esp + 0x38]
call fcn.004327f0
cmp eax, 0xbfffffff
ja 0x432ab0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x10]
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.004330d0
add esp, 0x18
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
cmp edx, eax
je 0x432ab0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [esp + 8], eax
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x60], edx
mov ecx, edx
mov edx, dword [esp + 0x30]
jmp 0x432e15
mov ebx, dword [esp + 0x24]
mov eax, edx
mov edx, dword [esp + 0x6c]
mov ecx, edx
not ecx
and ecx, esi
not esi
and esi, edx
sub esi, ecx
add esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov dword [ebx + ecx], esi
add edi, 4
mov ecx, dword [esp + 0x70]
add ecx, 4
cmp ecx, eax
mov edx, eax
je 0x432fc5
mov dword [esp + 0x70], ecx
mov eax, dword [ecx]
mov dword [esp + 0x6c], eax
mov esi, dword [esp + 0xc]
mov ecx, edi
mov dword [esp + 0x24], ebx
sub ecx, ebx
cmp edi, dword [esp + 8]
mov dword [esp + 0x20], ecx
jne 0x432de0
sar ecx, 2
lea eax, [ecx + 1]
mov edx, ecx
shr edx, 1
mov ebx, edx
and ebx, ecx
xor edx, ecx
lea ecx, [edx + ebx*2]
cmp ecx, eax
ja 0x432e4e
mov ecx, eax
mov dword [esp + 0x68], ecx
lea eax, [ecx*4]
push eax
call fcn.004090a0
add esp, 4
mov ecx, eax
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x432fa9
mov eax, dword [esp + 0x20]
lea edx, [eax + 0x28bd2a0]
cmp ecx, ebx
mov dword [esp + 0x38], ecx
jbe 0x432f4f
cmp edi, ecx
jbe 0x432f4f
test eax, eax
je 0x432f99
mov eax, dword [esp + 0x38]
add eax, edx
add eax, 0xfd742d5f
mov ecx, dword [esp + 0x24]
add ecx, edx
add ecx, 0xfd742d5f
mov edx, dword [esp + 0x20]
mov ebx, edx
and ebx, 7
mov dword [esp + 8], ebx
je 0x432ee6
neg dword [esp + 8]
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp dword [esp + 8], edx
jne 0x432ed0
add ecx, edx
add eax, edx
add edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
sub ebx, edi
cmp ebx, 0xfffffff8
ja 0x432f99
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edi]
mov byte [eax + edi], bl
movzx ebx, byte [ecx + edi - 1]
mov byte [eax + edi - 1], bl
movzx ebx, byte [ecx + edi - 2]
mov byte [eax + edi - 2], bl
movzx ebx, byte [ecx + edi - 3]
mov byte [eax + edi - 3], bl
movzx ebx, byte [ecx + edi - 4]
mov byte [eax + edi - 4], bl
movzx ebx, byte [ecx + edi - 5]
mov byte [eax + edi - 5], bl
movzx ebx, byte [ecx + edi - 6]
mov byte [eax + edi - 6], bl
movzx ebx, byte [ecx + edi - 7]
mov byte [eax + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x432f00
jmp 0x432f99
mov dword [esp + 8], edx
mov edx, ecx
mov ecx, eax
shr ecx, 2
mov eax, ebx
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, dword [esp + 0x20]
and eax, 0xfffffffc
lea edi, [edx + eax]
mov edx, dword [esp + 8]
add eax, ebx
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, eax
mov dword [esp + 0x64], edi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test dl, 1
je 0x432f99
and edx, 2
movzx eax, byte [eax + edx]
mov ecx, dword [esp + 0x64]
mov byte [ecx + edx], al
push dword [esp + 0x24]
call fcn.004090b0
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
lea eax, [ecx + eax*4]
mov dword [esp + 8], eax
mov edi, ecx
add edi, dword [esp + 0x20]
mov ebx, ecx
mov eax, dword [esp + 0x30]
jmp 0x432de6
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [ecx], ebx
mov eax, dword [esp + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x432ab0
cmp eax, dword [esp + 0x30]
je 0x432ab0
push eax
call fcn.004090b0
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x432ab0
mov dword [esp + 0x10], 0xead5d4d7
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x433069
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, 0x62
sub edx, eax
add eax, 0x8f1efc9d
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0xb5
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x433030
mov eax, dword [0x44132c]
test eax, eax
je 0x4330ba
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x441330]
nop
nop
cmp dword [esi + edx*8], 0xcf9c6479
je 0x433090
inc edx
cmp eax, edx
jne 0x433080
jmp 0x4330ba
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4330ba
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x441334]
push eax
call fcn.00433920
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10