Function at 0x4331c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, 0x10000
call fcn.00402adc
mov edx, dword [ebp - 4]
mov dword [edx + 0x2e8], eax
mov eax, dword [ebp - 8]
test eax, eax
jle 0x433218
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
dec eax
call fcn.004034cc
inc eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e8]
mov ecx, dword [ebp - 0xc]
mov word [edx + ecx*2 - 2], ax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x4331f5
mov eax, dword [ebp - 8]
cmp eax, 1
jl 0x4332f2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov edx, dword [ebp - 0xc]
movzx eax, word [eax + edx*2 - 2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov al, byte [edx + eax - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov ecx, dword [ebp - 0xc]
cmp al, byte [edx + ecx - 1]
je 0x4332e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov edx, dword [ebp - 0xc]
movzx eax, word [eax + edx*2 - 2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov al, byte [edx + eax - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov ecx, dword [ebp - 0xc]
xor byte [edx + ecx - 1], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov edx, dword [ebp - 0xc]
movzx eax, word [eax + edx*2 - 2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x2e0]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
xor byte [edx + eax - 1], cl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov edx, dword [ebp - 0xc]
movzx eax, word [eax + edx*2 - 2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov al, byte [edx + eax - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov ecx, dword [ebp - 0xc]
xor byte [edx + ecx - 1], al
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x433227
mov edx, 0x10000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
call fcn.00402afc
mov eax, dword [ebp - 8]
test eax, eax
jle 0x4333cc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov ecx, dword [ebp - 0xc]
mov byte [edx + ecx - 1], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x43]
mov edx, dword [ebp - 4]
xor al, byte [edx + 0x42]
mov edx, dword [ebp - 4]
xor al, byte [edx + 0x41]
mov edx, dword [ebp - 4]
xor al, byte [edx + 0x40]
mov byte [ebp - 0xe], al
mov eax, 0xff
call fcn.004034cc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
xor dl, byte [ebp - 0xe]
xor al, dl
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2e0]
mov ecx, dword [ebp - 0xc]
mov byte [edx + ecx - 1], al
xor eax, eax
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x40]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov edx, dword [ebp - 4]
imul dword [edx + 0x2f8]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x2fc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x43331a
pop ebx
mov esp, ebp
pop ebp
ret