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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8cb7
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x1013c014]
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 - 0x218], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
xor dl, dl
lea ecx, [ebp - 0x234]
call fcn.10072440
mov esi, dword [ebp - 0x234]
mov edi, ebx
and edi, 0x70
add esp, 4
mov eax, edi
not eax
and ebx, eax
mov dword [ebp - 0x220], ebx
cmp esi, dword [ebp - 0x230]
je 0x10030aeb
mov ecx, dword [ebp - 0x218]
push 5
push ebx
push dword [esi]
push dword [esi + 8]
call fcn.1002ac30
mov ebx, eax
test edi, edi
je 0x10030acb
mov eax, dword [ebp - 0x218]
push eax
mov dword [ebp - 0x258], eax
mov byte [ebp - 0x254], 1
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
push edi
push ebx
mov ebx, dword [ebp - 0x218]
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.1002c540
mov byte [ebp - 4], 1
test ebx, ebx
je 0x10030ad1
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x10030ad1
mov ebx, dword [ebp - 0x218]
cmp dword [ebx + 0x1ac], 2
jne 0x10030aeb
mov ebx, dword [ebp - 0x220]
add esi, 0xc
cmp esi, dword [ebp - 0x230]
jne 0x10030a74
mov cx, word [0x10159320]
test cx, cx
jne 0x10030b16
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
movzx eax, al
shr ecx, 8
movzx ecx, cl
shl ax, 8
or cx, ax
mov word [0x10159320], cx
mov eax, 0xa00
cmp cx, ax
jb 0x10030fe8
mov edi, dword [ebp - 0x234]
mov esi, dword [ebp - 0x218]
cmp edi, dword [ebp - 0x230]
je 0x10030d95
lea ebx, [esi + 0x148]
mov dword [ebp - 0x220], ebx
push 0
push 7
push dword [edi]
mov ecx, esi
push dword [edi + 8]
call fcn.1002ac30
mov ecx, dword [edi + 4]
mov esi, ecx
mov dword [ebp - 0x224], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10030b66
sub esi, edx
sar esi, 1
cmp esi, 0xff
jle 0x10030b84
mov esi, 0xff
jmp 0x10030b88
test esi, esi
jle 0x10030b9c
mov eax, 0x2400
mov edx, 0x3ff
add ax, word [ecx + esi*2]
cmp ax, dx
ja 0x10030b9c
dec esi
add esi, esi
lea eax, [ebp - 0x214]
push esi
push ecx
push eax
call fcn.100d7080
xor eax, eax
add esp, 0xc
mov word [ebp + esi - 0x214], ax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030bd0
sub ecx, edx
mov edx, 0x811c9dc5
sar ecx, 1
lea esi, [ecx + ecx]
xor ecx, ecx
test esi, esi
jle 0x10030c05
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x214]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jl 0x10030bf0
mov eax, dword [ebp - 0x218]
push eax
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x260], eax
mov byte [ebp - 0x25c], 1
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov byte [ebp - 4], 3
mov eax, dword [ebx]
mov esi, eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x228], eax
mov eax, dword [esi + 4]
mov ecx, eax
mov bl, byte [ecx + 0xd]
test bl, bl
jne 0x10030c6e
cmp dword [ecx + 0x10], edx
jae 0x10030c4f
mov ecx, dword [ecx + 8]
jmp 0x10030c53
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10030c45
mov ecx, dword [ebp - 0x228]
cmp esi, ecx
je 0x10030c74
cmp edx, dword [esi + 0x10]
jae 0x10030cea
jmp 0x10030c74
mov ecx, dword [ebp - 0x228]
mov esi, ecx
test bl, bl
jne 0x10030c9d
nop word [eax + eax]
cmp dword [eax + 0x10], edx
jae 0x10030c8a
mov eax, dword [eax + 8]
jmp 0x10030c8e
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10030c80
cmp esi, ecx
je 0x10030c9d
cmp edx, dword [esi + 0x10]
jae 0x10030cdb
lea eax, [ebp - 0x238]
push ecx
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.10027540
mov ecx, dword [ebp - 0x220]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x24c]
push eax
call fcn.10027570
mov esi, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x224]
mov dword [esi + 0x14], eax
mov edx, dword [ebp - 0x238]
mov ebx, dword [ebp - 0x218]
mov esi, dword [ebx + 0x150]
mov eax, esi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x10030d1e
cmp dword [ecx + 0x10], edx
jae 0x10030d0b
mov ecx, dword [ecx + 8]
jmp 0x10030d0f
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10030d01
cmp eax, esi
je 0x10030d1e
cmp edx, dword [eax + 0x10]
jae 0x10030d20
mov eax, esi
cmp eax, esi
je 0x10030d73
mov edx, dword [eax + 8]
mov ecx, eax
cmp byte [edx + 0xd], 0
je 0x10030d4a
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x10030d5c
cmp ecx, dword [edx + 8]
jne 0x10030d5c
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x10030d38
jmp 0x10030d5c
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
jne 0x10030d5c
mov ecx, dword [edx]
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x10030d52
push eax
lea ecx, [ebx + 0x150]
call fcn.1001fda0
push 0x14
push eax
call fcn.100d4917
add esp, 8
mov esi, ebx
mov byte [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ebx, dword [ebp - 0x220]
add edi, 0xc
cmp edi, dword [ebp - 0x230]
jne 0x10030b48
push esi
mov dword [ebp - 0x268], esi
mov byte [ebp - 0x264], 1
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x248]
cmp edi, dword [ebp - 0x244]
je 0x10030fdd
lea ebx, [esi + 0x148]
mov dword [ebp - 0x220], ebx
nop dword [eax + eax]
mov ecx, dword [edi]
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10030dd7
sub esi, edx
sar esi, 1
cmp esi, 0xff
jle 0x10030df5
mov esi, 0xff
jmp 0x10030df9
test esi, esi
jle 0x10030e0d
mov eax, 0x2400
mov edx, 0x3ff
add ax, word [ecx + esi*2]
cmp ax, dx
ja 0x10030e0d
dec esi
add esi, esi
lea eax, [ebp - 0x214]
push esi
push ecx
push eax
call fcn.100d7080
xor eax, eax
add esp, 0xc
mov word [ebp + esi - 0x214], ax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030e40
sub ecx, edx
mov edx, 0x811c9dc5
sar ecx, 1
lea esi, [ecx + ecx]
xor ecx, ecx
test esi, esi
jle 0x10030e75
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x214]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jl 0x10030e60
mov ebx, dword [ebx]
mov esi, ebx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x224], ebx
mov eax, dword [esi + 4]
mov ecx, eax
mov bl, byte [ecx + 0xd]
mov byte [ebp - 0x219], bl
test bl, bl
mov ebx, esi
jne 0x10030ec1
nop dword [eax]
cmp dword [ecx + 0x10], edx
jae 0x10030eaa
mov ecx, dword [ecx + 8]
jmp 0x10030eae
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10030ea0
cmp esi, ebx
je 0x10030ec1
cmp edx, dword [esi + 0x10]
jae 0x10030f38
cmp byte [ebp - 0x219], 0
mov esi, ebx
jne 0x10030eed
nop dword [eax]
cmp dword [eax + 0x10], edx
jae 0x10030eda
mov eax, dword [eax + 8]
jmp 0x10030ede
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10030ed0
cmp esi, ebx
je 0x10030eed
cmp edx, dword [esi + 0x10]
jae 0x10030f2b
lea eax, [ebp - 0x23c]
push ecx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x224]
push eax
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.10027540
mov ecx, dword [ebp - 0x220]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x250]
push eax
call fcn.10027570
mov esi, dword [ebp - 0x250]
mov dword [esi + 0x14], 0
mov edx, dword [ebp - 0x23c]
mov ebx, dword [ebp - 0x218]
mov esi, dword [ebx + 0x150]
mov eax, esi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x10030f6d
nop
cmp dword [ecx + 0x10], edx
jae 0x10030f5a
mov ecx, dword [ecx + 8]
jmp 0x10030f5e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10030f50
cmp eax, esi
je 0x10030f6d
cmp edx, dword [eax + 0x10]
jae 0x10030f6f
mov eax, esi
cmp eax, esi
je 0x10030fc2
mov edx, dword [eax + 8]
mov ecx, eax
cmp byte [edx + 0xd], 0
je 0x10030f99
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x10030fab
cmp ecx, dword [edx + 8]
jne 0x10030fab
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x10030f87
jmp 0x10030fab
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
jne 0x10030fab
mov ecx, dword [edx]
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x10030fa1
push eax
lea ecx, [ebx + 0x150]
call fcn.1001fda0
push 0x14
push eax
call fcn.100d4917
add esp, 8
mov ebx, dword [ebp - 0x220]
add edi, 4
cmp edi, dword [ebp - 0x244]
jne 0x10030dd0
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x10030fe8
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea ecx, [ebp - 0x248]
call fcn.10035620
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x10031054
mov edx, dword [ebp - 0x230]
push ecx
call fcn.10035f80
mov ecx, dword [ebp - 0x22c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x234]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1003104a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031072
push ecx
push esi
call fcn.100d4917
add esp, 8
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.100d4906
mov esp, ebp
pop ebp
ret 4
call fcn.100dca69
int3