Function at 0x432420
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 + 0x5c], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x30], 0x100000
mov dword [esp + 8], 0
mov dword [esp + 0x40], 0xbab9b8b7
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov byte [esp + 0x4c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x4324ce
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x40]
mov edx, 0xe8
sub edx, eax
add eax, 0x5759de17
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x5f
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x432490
mov eax, dword [esp + 0x40]
mov ecx, dword [0x4412dc]
test ecx, ecx
je 0x43252e
xor edx, edx
mov esi, dword [0x4412e0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x72d34d92
je 0x432500
inc edx
cmp ecx, edx
jne 0x4324f0
jmp 0x43252e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43252e
lea eax, [esp + 0x30]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x4412e4]
push ecx
call fcn.004337a0
add esp, 0x24
test eax, eax
js 0x432d6a
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 + 0x34], 0x10000
jmp 0x432597
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
cmp eax, 0x7fffffff
jae 0x432cad
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov dword [esp + 0x10], 0xbab9b8b7
lea eax, [esp + 0x14]
mov byte [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x432609
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
mov esi, 0xe8
sub esi, eax
add eax, 0x5759de17
xor esi, eax
and esi, edx
xor esi, eax
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
add al, 0x5f
mov edx, dword [esp]
mov byte [esp + edx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x4325d0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4412dc]
test edx, edx
je 0x432660
xor esi, esi
mov edi, dword [0x4412e0]
nop
cmp dword [edi + esi*8], 0x175b5231
je 0x432630
inc esi
cmp edx, esi
jne 0x432620
jmp 0x432660
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x432660
push 0
push 0x1c
lea eax, [esp + 0x48]
push eax
push 0
push dword [esp + 0x44]
push ecx
push 6
push dword [0x4412e4]
push edx
call fcn.004337a0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x432cad
test eax, eax
js 0x432580
cmp dword [esp + 0x50], 0x1000
jne 0x432580
cmp dword [esp + 0x54], 1
je 0x432580
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x4c], eax
jbe 0x43283a
mov dword [esp + 0x10], 0xbab9b8b7
lea eax, [esp + 0x14]
mov byte [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x432709
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, 0xe8
sub edx, eax
add eax, 0x5759de17
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0x5f
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x4326d0
mov eax, dword [0x4412dc]
test eax, eax
je 0x43275a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x4412e0]
nop
nop
cmp dword [esi + edx*8], 0xcf9c6479
je 0x432730
inc edx
cmp eax, edx
jne 0x432720
jmp 0x43275a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43275a
push 0x8000
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x4412e4]
push eax
call fcn.004337a0
add esp, 0x1c
mov dword [esp + 8], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0xbab9b8b7
lea eax, [esp + 0x14]
mov byte [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x4327d9
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, 0xe8
sub edx, eax
add eax, 0x5759de17
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0x5f
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x4327a0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4412dc]
test ecx, ecx
je 0x43282e
xor edx, edx
mov esi, dword [0x4412e0]
nop
cmp dword [esi + edx*8], 0x72d34d92
je 0x432800
inc edx
cmp ecx, edx
jne 0x4327f0
jmp 0x43282e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43282e
push 4
push 0x3000
lea eax, [esp + 0x38]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 6
push dword [0x4412e4]
push ecx
call fcn.004337a0
add esp, 0x24
test eax, eax
js 0x432cad
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 4]
push edx
push eax
push dword [esp + 0x10]
push dword [esp + 0x40]
call fcn.004322b0
cmp eax, 0xbfffffff
ja 0x432580
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x10]
push dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.00432d80
add esp, 0x18
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
cmp esi, ecx
je 0x432580
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dword [esp + 0x20], edx
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x68], esi
jmp 0x4328e6
push ecx
push esi
push eax
call fcn.004090c0
add esp, 0xc
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov dword [ebx + ecx], eax
mov edi, dword [esp + 0x38]
add edi, 4
add esi, 4
cmp esi, dword [esp + 0x60]
je 0x432c72
mov ecx, edi
mov eax, ebx
xor eax, edi
mov edx, ebx
not edx
and edx, edi
add edx, edx
sub edx, eax
mov eax, dword [esi]
sub eax, dword [esp + 8]
mov dword [esp + 0x70], eax
cmp edi, dword [esp + 0x20]
je 0x432920
mov edi, ecx
sub edi, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ecx
jmp 0x432b52
mov dword [esp + 0x3c], ecx
mov edi, ecx
mov dword [esp + 0xc], ebx
sub edi, ebx
mov eax, edi
sar eax, 2
mov ecx, eax
shr ecx, 1
add ecx, eax
mov dword [esp + 0x6c], edx
sar edx, 2
inc edx
cmp ecx, edx
ja 0x432945
mov ecx, edx
mov dword [esp + 0x38], ecx
lea eax, [ecx*4]
push eax
call fcn.00409030
add esp, 4
mov ebx, dword [esp + 0xc]
test ebx, ebx
mov dword [esp + 0x28], eax
je 0x432b39
mov dword [esp + 0x24], esi
cmp eax, ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edi
jbe 0x4329c7
cmp ecx, eax
jbe 0x4329c7
test edi, edi
je 0x432b20
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
add eax, edi
dec eax
mov ecx, dword [esp + 0x28]
add ecx, edi
dec ecx
mov esi, edi
and esi, 7
je 0x432aaf
neg esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp esi, edx
jne 0x4329b0
add eax, edx
add ecx, edx
add edx, edi
jmp 0x432ab1
mov ecx, edi
shr ecx, 2
mov ebx, dword [esp + 0xc]
mov edx, ebx
mov esi, edi
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, esi
and edx, 0xfffffffc
add eax, edx
add edx, ebx
mov ecx, esi
xor ecx, 0xfffffffc
or esi, 3
and esi, ecx
mov ecx, esi
shr ecx, 1
mov ebx, edx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, esi
not ebx
or ebx, 1
add ebx, esi
mov edi, ebx
inc edi
je 0x432b20
and esi, 0xfffffffe
add edx, esi
add eax, esi
mov ecx, edi
and ecx, 7
je 0x432a46
mov dword [esp + 0x20], ebx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
mov byte [eax + esi], bl
inc esi
cmp ecx, esi
jne 0x432a30
add edx, esi
add eax, esi
sub edi, esi
mov ebx, dword [esp + 0x20]
cmp ebx, 7
jb 0x432b20
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edx + esi]
mov byte [eax + esi], cl
movzx ecx, byte [edx + esi + 1]
mov byte [eax + esi + 1], cl
movzx ecx, byte [edx + esi + 2]
mov byte [eax + esi + 2], cl
movzx ecx, byte [edx + esi + 3]
mov byte [eax + esi + 3], cl
movzx ecx, byte [edx + esi + 4]
mov byte [eax + esi + 4], cl
movzx ecx, byte [edx + esi + 5]
mov byte [eax + esi + 5], cl
movzx ecx, byte [edx + esi + 6]
mov byte [eax + esi + 6], cl
movzx ecx, byte [edx + esi + 7]
mov byte [eax + esi + 7], cl
add esi, 8
cmp edi, esi
jne 0x432a60
jmp 0x432b20
mov edx, edi
mov esi, dword [esp + 0xc]
sub esi, dword [esp + 0x3c]
cmp esi, 0xfffffff8
ja 0x432b20
neg edx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + esi]
mov byte [ecx + esi], bl
movzx ebx, byte [eax + esi - 1]
mov byte [ecx + esi - 1], bl
movzx ebx, byte [eax + esi - 2]
mov byte [ecx + esi - 2], bl
movzx ebx, byte [eax + esi - 3]
mov byte [ecx + esi - 3], bl
movzx ebx, byte [eax + esi - 4]
mov byte [ecx + esi - 4], bl
movzx ebx, byte [eax + esi - 5]
mov byte [ecx + esi - 5], bl
movzx ebx, byte [eax + esi - 6]
mov byte [ecx + esi - 6], bl
movzx ebx, byte [eax + esi - 7]
mov byte [ecx + esi - 7], bl
add esi, 0xfffffff8
cmp edx, esi
jne 0x432ad0
nop
nop
nop
mov ebx, dword [esp + 0xc]
push ebx
call fcn.00409040
add esp, 4
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x3c]
mov eax, edi
mov dword [esp + 0x2c], edi
cmp edi, edx
jae 0x4328bf
mov dword [esp + 0x24], esi
add ebx, edx
sub ebx, ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea esi, [ecx + eax]
add eax, ecx
add eax, 4
mov ecx, ebx
cmp ebx, 4
jg 0x4328b0
shr ecx, 2
mov edx, esi
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
add eax, edx
add edx, esi
mov ecx, ebx
xor ecx, 0xfffffffc
or ebx, 3
and ebx, ecx
mov ecx, ebx
shr ecx, 1
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, ebx
mov edi, ebx
not edi
or edi, 1
add edi, ebx
mov ebx, edi
inc ebx
mov esi, dword [esp + 0x24]
je 0x4328bf
and ecx, 0xfffffffe
mov dword [esp + 0xc], ecx
add edx, ecx
mov ecx, ebx
and ecx, 7
je 0x432c08
mov esi, ebx
xor ebx, ebx
nop
nop
movzx eax, byte [edx + ebx]
mov byte [edx + ebx + 4], al
inc ebx
cmp ecx, ebx
jne 0x432be0
lea eax, [edx + ebx]
add eax, 4
add edx, ebx
sub esi, ebx
mov ebx, esi
mov esi, dword [esp + 0x24]
cmp edi, 7
jb 0x4328bf
jmp 0x432c15
add eax, dword [esp + 0xc]
cmp edi, 7
jb 0x4328bf
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edx + edi]
mov byte [eax + edi], cl
movzx ecx, byte [edx + edi + 1]
mov byte [eax + edi + 1], cl
movzx ecx, byte [edx + edi + 2]
mov byte [eax + edi + 2], cl
movzx ecx, byte [edx + edi + 3]
mov byte [eax + edi + 3], cl
movzx ecx, byte [edx + edi + 4]
mov byte [eax + edi + 4], cl
movzx ecx, byte [edx + edi + 5]
mov byte [eax + edi + 5], cl
movzx ecx, byte [edx + edi + 6]
mov byte [eax + edi + 6], cl
movzx ecx, byte [edx + edi + 7]
mov byte [eax + edi + 7], cl
add edi, 8
cmp ebx, edi
jne 0x432c20
jmp 0x4328bf
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov dword [eax], ebx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x432580
cmp eax, dword [esp + 0x60]
je 0x432580
push eax
call fcn.00409040
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x432580
mov dword [esp + 0x10], 0xbab9b8b7
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x432d19
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, 0xe8
sub edx, eax
add eax, 0x5759de17
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0x5f
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x432ce0
mov eax, dword [0x4412dc]
test eax, eax
je 0x432d6a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x4412e0]
nop
nop
cmp dword [esi + edx*8], 0xcf9c6479
je 0x432d40
inc edx
cmp eax, edx
jne 0x432d30
jmp 0x432d6a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x432d6a
push 0x8000
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x4412e4]
push eax
call fcn.004337a0
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10