Function at 0x432e34
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 0x433062
mov esi, dword [eax + 0x9c]
test esi, esi
je 0x433062
cmp dword [esi], edi
jne 0x432e6a
push 0xffffffffffffff9c
jmp 0x433064
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 0x432e8b
cmp dword [esi + 0x8c], edi
jne 0x432e8b
mov dword [esi + 0x14], eax
mov edx, eax
mov eax, dword [esi + 0x58]
add eax, dword [esi + 8]
cmp eax, 0x5000
jae 0x432ea5
cmp dword [esi + 0x8c], edi
je 0x432ea5
mov dword [esi + 0x14], eax
mov edx, eax
test edx, edx
je 0x433059
mov edi, dword [esi + 8]
test edi, edi
jne 0x432f7c
mov eax, dword [esi + 0x58]
test eax, eax
je 0x432f7c
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 0x43305d
push edi
push dword [esi]
push dword [esi + 0x80]
push dword [esi + 0x7c]
call dword [esi + 0x64]
add esp, 0x10
cmp eax, edi
jne 0x43305d
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa0], 0
je 0x432f6e
and dword [ebp - 4], 0
test edi, edi
je 0x432f6e
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.00432349
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 0x432f20
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 0x432ff0
cmp dword [esi + 0x8c], 0
jne 0x432ff0
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.004332b1
mov edi, eax
test edi, edi
js 0x432fb5
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 0x432fc9
xor ecx, ecx
jmp 0x432fd8
mov ecx, dword [esi + 0x50]
push eax
call fcn.00434780
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 0x433059
test edi, edi
je 0x43304f
mov eax, edi
jmp 0x433065
test edi, edi
jne 0x432ff9
cmp dword [esi + 0x58], edi
je 0x433059
cmp dword [esi + 0x14], edi
cmovb edi, dword [esi + 0x14]
xor edx, edx
test edi, edi
je 0x433017
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 0x433006
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x433022
xor ecx, ecx
jmp 0x433033
mov ecx, dword [esi + 0x50]
mov edx, eax
push edi
call fcn.00434780
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 0x432ead
mov eax, ebx
jmp 0x433065
or eax, 0xffffffff
jmp 0x433065
push 0xffffffffffffff9a
pop eax
pop edi
pop esi
pop ebx
leave
ret