Function at 0x100ba210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131e6e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
test eax, eax
je 0x100ba532
push 6
push eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
test eax, eax
jne 0x100ba270
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
push edi
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x100ba532
add edi, 0x1c
push 0x20
push edi
call fcn.10129641
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.100fc650
lea ecx, [ebp - 0x58]
mov esi, edi
mov eax, ecx
add esp, 0x14
mov edx, 0x20
sub esi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x100ba2ce
movzx eax, word [esi + ecx]
test ax, ax
je 0x100ba2ce
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100ba2b0
test edx, edx
mov dword [ebp - 0x5c], 7
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov word [eax], cx
xor eax, eax
lea ecx, [ebp - 0x58]
mov word [ebp - 0x70], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ba2f1
sub ecx, edx
lea eax, [ebp - 0x58]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10043b50
mov eax, dword [ebp - 0x60]
lea esi, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x70]
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x100ba341
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x100ba330
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx + 0x1290]
and eax, edx
mov edx, dword [ecx + 0x1284]
mov ecx, dword [ecx + 0x127c]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], ecx
mov esi, dword [edx + eax*8]
add eax, eax
lea ebx, [eax*4 + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], eax
cmp eax, ecx
jne 0x100ba38a
mov eax, ecx
jmp 0x100ba38f
mov eax, dword [ebx + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x100ba450
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov edx, dword [esi + 0x1c]
lea ebx, [esi + 8]
cmovae ecx, dword [ebp - 0x70]
mov dword [ebp - 0xac], edx
cmp edx, 8
jb 0x100ba3b6
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xa8], eax
cmp eax, dword [ebp - 0x60]
jne 0x100ba423
mov edx, eax
test eax, eax
je 0x100ba3e7
sub ebx, ecx
nop dword [eax]
mov ax, word [ebx + ecx]
cmp ax, word [ecx]
jne 0x100ba423
add ecx, 2
sub edx, 1
jne 0x100ba3d0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0xac], 8
lea ecx, [esi + 8]
jb 0x100ba3f5
mov ecx, dword [ecx]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
mov ebx, dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
cmp ebx, eax
jne 0x100ba442
test ebx, ebx
je 0x100ba452
sub edx, ecx
nop dword [eax]
mov ax, word [edx + ecx]
cmp ax, word [ecx]
jne 0x100ba442
add ecx, 2
sub ebx, 1
jne 0x100ba410
jmp 0x100ba452
mov esi, dword [esi]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa4]
jmp 0x100ba382
mov ebx, dword [ebp - 0x8c]
mov esi, dword [ebx + 0x127c]
jmp 0x100ba458
mov esi, ecx
mov ebx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x70]
call fcn.10043ac0
cmp esi, dword [ebx + 0x127c]
je 0x100ba4b0
cmp dword [esi + 0x30], 0
je 0x100ba4b0
add esi, 0x20
cmp dword [esi + 0x14], 8
jb 0x100ba479
mov esi, dword [esi]
mov ecx, 0x20
sub esi, edi
lea eax, [ecx + 0x7fffffde]
test eax, eax
je 0x100ba49e
movzx eax, word [esi + edi]
test ax, ax
je 0x100ba49e
mov word [edi], ax
add edi, 2
sub ecx, 1
jne 0x100ba480
test ecx, ecx
lea eax, [edi - 2]
cmovne eax, edi
xor ecx, ecx
mov word [eax], cx
jmp 0x100ba5f0
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x70]
call fcn.100c3ca0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
jne 0x100ba53f
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x88]
call fcn.100477a0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebx + 0x1278]
call fcn.100bce60
mov edx, dword [ebp - 0x94]
mov ecx, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ba506
sub ecx, esi
sar ecx, 1
push ecx
push edi
lea ecx, [edx + 0x20]
call fcn.10043b50
lea ecx, [ebp - 0x88]
call fcn.10043ac0
lea ecx, [ebp - 0x70]
call fcn.10043ac0
xor eax, eax
jmp 0x100ba5f5
cmp dword [ebp - 0x5c], 8
lea esi, [ebp - 0x70]
mov edx, 0x20
mov ecx, edi
cmovae esi, dword [ebp - 0x70]
sub esi, edi
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x100ba571
movzx eax, word [esi + ecx]
test ax, ax
je 0x100ba571
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100ba553
lea eax, [ecx - 2]
test edx, edx
push 0x20
cmovne eax, ecx
xor ecx, ecx
push edi
mov word [eax], cx
call fcn.10129641
add esp, 8
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x88]
push eax
call fcn.100477a0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebx + 0x1278]
call fcn.100bce60
mov edx, dword [ebp - 0x94]
mov ecx, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ba5c4
sub ecx, esi
sar ecx, 1
push ecx
push edi
lea ecx, [edx + 0x20]
call fcn.10043b50
lea ecx, [ebp - 0x88]
call fcn.10043ac0
lea ecx, [ebp - 0x70]
call fcn.10043ac0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e278d
mov esp, ebp
pop ebp
ret 8