Function at 0x432f14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 0xc], eax
mov ebx, edi
mov dword [ebp - 8], ebx
test eax, eax
je 0x433142
mov esi, dword [eax + 0x9c]
test esi, esi
je 0x433142
cmp dword [esi], edi
jne 0x432f4a
push 0xffffffffffffff9c
jmp 0x433144
mov eax, dword [esi + 0x5c]
mov ecx, 0x5000
mov dword [esi + 0x10], edx
mov edx, ecx
mov dword [esi + 0x14], ecx
cmp eax, ecx
jae 0x432f6b
cmp dword [esi + 0x8c], edi
jne 0x432f6b
mov dword [esi + 0x14], eax
mov edx, eax
mov eax, dword [esi + 0x58]
add eax, dword [esi + 8]
cmp eax, 0x5000
jae 0x432f85
cmp dword [esi + 0x8c], edi
je 0x432f85
mov dword [esi + 0x14], eax
mov edx, eax
test edx, edx
je 0x433139
mov edi, dword [esi + 8]
test edi, edi
jne 0x43305c
mov eax, dword [esi + 0x58]
test eax, eax
je 0x43305c
mov edi, 0x4000
cmp eax, edi
push 0
cmovb edi, eax
mov eax, dword [esi + 0x88]
add eax, dword [esi + 0x3c]
push eax
push dword [esi + 0x80]
push dword [esi + 0x7c]
call dword [esi + 0x70]
add esp, 0x10
test eax, eax
jne 0x43313d
push edi
push dword [esi]
push dword [esi + 0x80]
push dword [esi + 0x7c]
call dword [esi + 0x64]
add esp, 0x10
cmp eax, edi
jne 0x43313d
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa0], 0
je 0x43304e
and dword [ebp - 4], 0
test edi, edi
je 0x43304e
mov ebx, eax
mov edx, dword [ebx + 0xac]
mov ecx, dword [esi]
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
mov edx, dword [ebp - 4]
shr eax, 8
xor byte [ecx + edx], al
movsx eax, byte [ecx + edx]
lea ecx, [ebx + 0xa4]
mov edx, dword [ebx + 0xb0]
push eax
call fcn.00432429
mov edx, dword [ebp - 4]
pop ecx
mov ecx, eax
mov eax, dword [esi]
mov byte [edx + eax], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, edi
jb 0x433000
mov ebx, dword [ebp - 8]
add dword [esi + 0x3c], edi
mov eax, dword [esi]
sub dword [esi + 0x58], edi
mov dword [esi + 4], eax
mov dword [esi + 8], edi
cmp dword [esi + 0x84], 0
je 0x4330d0
cmp dword [esi + 0x8c], 0
jne 0x4330d0
mov eax, dword [esi + 0x18]
lea ecx, [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x10]
push 2
pop edx
mov dword [ebp - 4], eax
call fcn.00433394
mov edi, eax
test edi, edi
js 0x433095
cmp dword [esi + 0x1c], 0
push 0xfffffffffffffffd
pop eax
cmovne edi, eax
mov eax, dword [esi + 0x18]
sub eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ebp - 8], eax
test edx, edx
jne 0x4330a9
xor ecx, ecx
jmp 0x4330b8
mov ecx, dword [esi + 0x50]
push eax
call fcn.00434863
pop ecx
mov ecx, eax
mov eax, dword [ebp - 8]
sub dword [esi + 0x5c], eax
add ebx, eax
mov dword [esi + 0x50], ecx
mov dword [ebp - 8], ebx
cmp edi, 1
je 0x433139
test edi, edi
je 0x43312f
mov eax, edi
jmp 0x433145
test edi, edi
jne 0x4330d9
cmp dword [esi + 0x58], edi
je 0x433139
cmp dword [esi + 0x14], edi
cmovb edi, dword [esi + 0x14]
xor edx, edx
test edi, edi
je 0x4330f7
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov al, byte [edx + eax]
mov byte [edx + ecx], al
inc edx
cmp edx, edi
jb 0x4330e6
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x433102
xor ecx, ecx
jmp 0x433113
mov ecx, dword [esi + 0x50]
mov edx, eax
push edi
call fcn.00434863
pop ecx
mov ecx, eax
mov eax, dword [esi + 0x10]
sub dword [esi + 0x5c], edi
add eax, edi
sub dword [esi + 8], edi
sub dword [esi + 0x14], edi
add dword [esi + 4], edi
add dword [esi + 0x18], edi
add ebx, edi
mov dword [esi + 0x50], ecx
mov dword [esi + 0x10], eax
mov dword [ebp - 8], ebx
cmp dword [esi + 0x14], 0
ja 0x432f8d
mov eax, ebx
jmp 0x433145
or eax, 0xffffffff
jmp 0x433145
push 0xffffffffffffff9a
pop eax
pop edi
pop esi
pop ebx
leave
ret