Function at 0x432fa0
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 0x4331ce
mov esi, dword [eax + 0x9c]
test esi, esi
je 0x4331ce
cmp dword [esi], edi
jne 0x432fd6
push 0xffffffffffffff9c
jmp 0x4331d0
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 0x432ff7
cmp dword [esi + 0x8c], edi
jne 0x432ff7
mov dword [esi + 0x14], eax
mov edx, eax
mov eax, dword [esi + 0x58]
add eax, dword [esi + 8]
cmp eax, 0x5000
jae 0x433011
cmp dword [esi + 0x8c], edi
je 0x433011
mov dword [esi + 0x14], eax
mov edx, eax
test edx, edx
je 0x4331c5
mov edi, dword [esi + 8]
test edi, edi
jne 0x4330e8
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4330e8
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 0x4331c9
push edi
push dword [esi]
push dword [esi + 0x80]
push dword [esi + 0x7c]
call dword [esi + 0x64]
add esp, 0x10
cmp eax, edi
jne 0x4331c9
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa0], 0
je 0x4330da
and dword [ebp - 4], 0
test edi, edi
je 0x4330da
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.004324b5
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 0x43308c
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 0x43315c
cmp dword [esi + 0x8c], 0
jne 0x43315c
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.0043341d
mov edi, eax
test edi, edi
js 0x433121
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 0x433135
xor ecx, ecx
jmp 0x433144
mov ecx, dword [esi + 0x50]
push eax
call fcn.004348ec
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 0x4331c5
test edi, edi
je 0x4331bb
mov eax, edi
jmp 0x4331d1
test edi, edi
jne 0x433165
cmp dword [esi + 0x58], edi
je 0x4331c5
cmp dword [esi + 0x14], edi
cmovb edi, dword [esi + 0x14]
xor edx, edx
test edi, edi
je 0x433183
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 0x433172
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x43318e
xor ecx, ecx
jmp 0x43319f
mov ecx, dword [esi + 0x50]
mov edx, eax
push edi
call fcn.004348ec
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 0x433019
mov eax, ebx
jmp 0x4331d1
or eax, 0xffffffff
jmp 0x4331d1
push 0xffffffffffffff9a
pop eax
pop edi
pop esi
pop ebx
leave
ret