Function at 0x4ab3dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4ab5ac
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x150]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
call fcn.00418e38
cmp byte [ebp + 8], 0
je 0x4ab43d
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
call fcn.00418d08
jmp 0x4ab44e
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
call fcn.00418d08
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
call fcn.00418e30
dec eax
jle 0x4ab49f
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
call fcn.00418d00
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
push 0
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
call fcn.00418e30
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
call fcn.00418dc8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 8]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
xor eax, 1
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0xc]
xor eax, 1
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [edx + eax*4], ecx
add dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0xc]
xor eax, 1
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*4], ecx
add dword [ebp - 0x14], 2
inc dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jle 0x4ab514
mov eax, dword [ebp - 0x14]
shr eax, 2
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
call fcn.00419858
push eax
call sub.gdi32.dll_PolyPolyline
pop ebx
mov esp, ebp
pop ebp
ret 4