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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword fs:[0x2c]
sub esp, 0x74
mov edx, dword [0x1018a32c]
push ebx
push esi
mov esi, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x103529f0]
push edi
cmp eax, dword [esi + 4]
jle 0x100d2366
push 0x103529f0
call fcn.1011c323
add esp, 4
cmp dword [0x103529f0], 0xffffffff
jne 0x100d2366
push 2
push 0x10352980
call fcn.1011b47f
push 0x10148400
call fcn.1011c1ae
add esp, 0xc
push 0x103529f0
call fcn.1011c2d9
add esp, 4
push 0x10352980
call fcn.1011b4a0
add esp, 4
test eax, eax
jne 0x100d2c73
mov eax, dword [0x10352a1c]
cmp eax, dword [esi + 4]
jle 0x100d243b
push 0x10352a1c
call fcn.1011c323
add esp, 4
cmp dword [0x10352a1c], 0xffffffff
jne 0x100d243b
push 0x30
mov dword [0x103529f4], 0
mov dword [0x103529f8], 0
mov dword [0x103529fc], 0
call fcn.1011c1db
add esp, 4
mov ecx, 0x10352a00
mov dword [eax], eax
mov dword [eax + 4], eax
push eax
push 0x10
mov dword [0x103529f8], eax
mov dword [0x10352a00], 0
mov dword [0x10352a04], 0
mov dword [0x10352a08], 0
mov dword [0x10352a0c], 7
mov dword [0x10352a10], 8
mov dword [0x103529f4], 0x3f800000
call fcn.100d4960
push 0x101483f0
call fcn.1011c1ae
add esp, 4
push 0x10352a1c
call fcn.1011c2d9
add esp, 4
mov eax, dword [0x10352cc0]
cmp eax, dword [esi + 4]
jle 0x100d2482
push 0x10352cc0
call fcn.1011c323
add esp, 4
cmp dword [0x10352cc0], 0xffffffff
jne 0x100d2482
mov ecx, 0x10352cc4
call fcn.100d4370
push 0x101483e0
call fcn.1011c1ae
add esp, 4
push 0x10352cc0
call fcn.1011c2d9
add esp, 4
test ebx, ebx
je 0x100d26f3
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 4]
call eax
mov ecx, eax
mov edx, 0x811c9dc5
mov al, byte [ecx]
test al, al
je 0x100d2c5f
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x100d24a4
cmp edx, 0x4400fb1c
je 0x100d2538
cmp edx, 0xafcd8f60
je 0x100d24fc
cmp edx, 0xd704819d
jne 0x100d2c5f
mov eax, dword [0x10189814]
push 0x10352980
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
movss dword [0x1034ecb8], xmm0
call fcn.1011b4e7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x103529f4
mov dword [0x1034ecb8], 0
call fcn.100d4290
mov ecx, 0x10352cc4
call fcn.100d43e0
push 0x10352980
mov dword [0x10352ad4], 0
call fcn.1011b4e7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10189820]
mov ecx, ebx
push 0
push str.userid
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 0x10]
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [esi]
mov ecx, esi
push eax
mov edx, dword [edx + 0x24]
call edx
mov edx, dword [edi]
mov ecx, edi
push eax
mov edx, dword [edx + 0xc]
call edx
mov edi, eax
test edi, edi
je 0x100d2c5f
mov ecx, dword [0x1018ae24]
mov edx, dword [ecx]
test edx, edx
je 0x100d2c5f
mov ecx, dword [0x10189814]
push edx
mov eax, dword [ecx + 0x38]
mov ecx, edi
call eax
test al, al
je 0x100d2c5f
mov eax, dword [0x10189814]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, eax
call edx
mov ecx, dword [ebx]
mov esi, eax
push 0x10157378
push str.weapon
mov edx, dword [ecx + 0x24]
mov ecx, ebx
call edx
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0xa8]
mov ecx, esi
call edx
mov ebx, eax
test ebx, ebx
je 0x100d2c5f
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
mov ecx, edi
call edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100d4bc0
mov ecx, ebx
mov edi, dword [eax]
mov eax, dword [0x10189814]
mov esi, dword [eax + 0x90]
mov eax, dword [ebx]
mov eax, dword [eax]
call eax
movzx edx, ax
mov ecx, esi
mov eax, dword [esi]
push edx
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d2624
mov ecx, dword [eax + 0xd0]
add dword [edi + 0xc], ecx
mov eax, dword [eax + 0xd0]
add dword [0x10352ad4], eax
mov eax, dword [0x10189820]
mov ecx, ebx
mov esi, dword [eax + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
call eax
mov edx, dword [esi]
mov ecx, esi
push eax
mov edx, dword [edx + 0xbc]
call edx
mov edx, eax
mov dword [esp + 0x28], 0
mov ecx, edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d2661
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.1001bfe0
lea eax, [esp + 0x28]
mov ecx, 0x10352cc4
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100d4da0
lea ecx, [edi + 0x10]
mov eax, dword [eax]
inc dword [eax + 0x20]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100d4da0
mov eax, dword [eax]
inc dword [eax + 0x20]
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jb 0x100d2c5f
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d26d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2c79
push edx
push ecx
call fcn.1011c1c8
add esp, 8
push 0x10352980
call fcn.1011b4e7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10189818]
cmp byte [eax + 0x3778], 0
je 0x100d2c5f
mov eax, dword [0x10352a50]
cmp eax, dword [esi + 4]
jle 0x100d274e
push 0x10352a50
call fcn.1011c323
add esp, 4
cmp dword [0x10352a50], 0xffffffff
jne 0x100d274e
mov eax, dword [0x10189820]
push str.mp_buytime
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x10352a50
mov dword [0x10352d10], eax
call fcn.1011c2d9
add esp, 4
mov eax, dword [0x10189820]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100d27d4
movss xmm2, dword [0x1034ecb8]
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x100d27c2
mov eax, dword [0x10189818]
cmp byte [eax + 0x3779], 0
jne 0x100d27aa
mov ecx, dword [0x10352d10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
movss xmm2, dword [0x1034ecb8]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
jmp 0x100d27ad
xorps xmm1, xmm1
mov eax, dword [0x10189814]
addss xmm1, xmm2
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
comiss xmm0, xmm1
ja 0x100d27d4
cmp dword [0x103529fc], 0
je 0x100d27d4
cmp dword [0x10352ccc], 0
jne 0x100d27e2
mov eax, dword [0x1018985c]
cmp byte [eax], 0
je 0x100d2c5f
mov ecx, dword [0x10189818]
xorps xmm1, xmm1
mov edx, dword [0x1034edb4]
movss xmm0, dword [ecx + 0x377c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100d2813
movss xmm0, dword [ecx + 0x3780]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100d2869
or dword [edx + 0x1c18], 1
mov eax, dword [ecx + 0x377c]
mov ecx, dword [ecx + 0x3780]
mov dword [edx + 0x1c28], eax
mov dword [edx + 0x1c2c], ecx
mov dword [edx + 0x1c30], 0
mov dword [edx + 0x1c34], 0
mov dword [edx + 0x1c1c], 1
mov eax, dword [0x10189818]
mov dword [eax + 0x377c], 0
mov dword [eax + 0x3780], 0
or dword [edx + 0x1c18], 2
mov ecx, 0x20
mov dword [edx + 0x1c38], 0x43480000
mov esi, 0xc0220
mov dword [edx + 0x1c3c], 0x43480000
mov dword [edx + 0x1c20], 2
lea edx, [esp + 0x20]
mov eax, dword [0x1018985c]
mov dword [esp + 0x20], 0x3f000000
mov dword [esp + 0x24], 0x3f000000
cmp byte [eax], 0
mov eax, dword [0x10189818]
cmovne esi, ecx
mov ecx, 5
mov bl, byte [eax + 0x377b]
call fcn.100e2110
mov eax, esi
mov ecx, str.Purchases
or eax, 1
test bl, bl
cmove eax, esi
xor edx, edx
push eax
call fcn.100ea100
mov ecx, 1
call fcn.100e2190
mov eax, dword [0x10189818]
mov ecx, dword [eax + 0x3784]
test ecx, ecx
jne 0x100d2bd0
push 0x10351520
call fcn.1011b4a0
add esp, 4
test eax, eax
jne 0x100d2c7e
mov eax, dword [0x103529f8]
mov dword [esp + 0x20], eax
mov esi, dword [eax]
mov dword [esp + 0x18], esi
cmp esi, eax
je 0x100d2bbe
nop dword [eax]
mov ecx, dword [esi + 0x14]
xor edi, edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov eax, dword [ecx]
cmp eax, ecx
je 0x100d295f
add edi, 2
add edi, dword [eax + 0x18]
mov eax, dword [eax]
cmp eax, ecx
jne 0x100d2953
push edi
lea ecx, [esp + 0x2c]
call fcn.100d4440
mov edi, dword [esi + 0x14]
mov esi, dword [edi]
cmp esi, edi
je 0x100d2abb
mov edx, dword [esi + 0x20]
lea ebx, [esi + 8]
cmp edx, 1
jle 0x100d2a38
lea ecx, [esp + 0x68]
call fcn.10004110
push 0x10171f38
mov ecx, eax
call fcn.10019dd0
lea ecx, [esp + 0x28]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [esp + 0x40]
push eax
movq qword [esp + 0x54], xmm0
call fcn.10019e40
mov edx, dword [esp + 0x54]
cmp edx, 0x10
jb 0x100d2a02
mov ecx, dword [esp + 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d29f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2c79
push edx
push ecx
call fcn.1011c1c8
add esp, 8
mov edx, dword [esp + 0x7c]
cmp edx, 0x10
jb 0x100d2a38
mov ecx, dword [esp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2a2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2c79
push edx
push ecx
call fcn.1011c1c8
add esp, 8
mov ecx, dword [ebx + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 2
jb 0x100d2c84
cmp dword [ebx + 0x14], 0x10
jb 0x100d2a53
mov ebx, dword [ebx]
push 2
push 0x10155f8c
push ecx
push ebx
push ecx
push dword [esp + 0x34]
lea ecx, [esp + 0x80]
call fcn.10022ba0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x2c]
call fcn.10019e40
mov edx, dword [esp + 0x7c]
cmp edx, 0x10
jb 0x100d2ab1
mov ecx, dword [esp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2aa7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2c79
push edx
push ecx
call fcn.1011c1c8
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x100d2976
mov eax, dword [esp + 0x38]
cmp eax, 2
jb 0x100d2ae5
lea ecx, [eax - 2]
cmp eax, ecx
jb 0x100d2c89
cmp dword [esp + 0x3c], 0x10
lea eax, [esp + 0x28]
mov dword [esp + 0x38], ecx
cmovae eax, dword [esp + 0x28]
mov byte [ecx + eax], 0
mov esi, dword [esp + 0x18]
mov ecx, dword [0x103518c8]
mov eax, dword [0x103518cc]
mov edx, dword [esi + 8]
cmp ecx, eax
je 0x100d2b78
nop
cmp dword [ecx + 0x68], edx
je 0x100d2b11
add ecx, 0x110
cmp ecx, eax
jne 0x100d2b00
jmp 0x100d2b78
cmp ecx, eax
je 0x100d2b78
test ecx, ecx
je 0x100d2b78
mov eax, dword [0x10189818]
cmp byte [eax + 0x377a], 0
lea eax, [esp + 0x28]
je 0x100d2b54
cmp dword [esp + 0x3c], 0x10
cmovae eax, dword [esp + 0x28]
sub ecx, 0xffffff80
cmp dword [ecx + 0x14], 0x10
jb 0x100d2b40
mov ecx, dword [ecx]
push eax
push dword [esi + 0xc]
push ecx
push str._s___d:__s
call fcn.100fc200
add esp, 0x10
jmp 0x100d2b78
cmp dword [esp + 0x3c], 0x10
cmovae eax, dword [esp + 0x28]
sub ecx, 0xffffff80
cmp dword [ecx + 0x14], 0x10
jb 0x100d2b69
mov ecx, dword [ecx]
push eax
push ecx
push str._s:__s
call fcn.100fc200
add esp, 0xc
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jb 0x100d2bae
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2ba4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2c79
push edx
push ecx
call fcn.1011c1c8
add esp, 8
mov esi, dword [esi]
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x20]
jne 0x100d2930
push 0x10351520
call fcn.1011b4e7
add esp, 4
jmp 0x100d2c5a
cmp ecx, 1
jne 0x100d2c5a
mov edi, dword [0x10352cc8]
mov esi, dword [edi]
cmp esi, edi
je 0x100d2c0d
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x100d2bf1
mov ecx, dword [esi + 8]
push ecx
push dword [esi + 0x20]
push str._d_x__s
call fcn.100fc200
mov esi, dword [esi]
add esp, 0xc
cmp esi, edi
jne 0x100d2be5
mov eax, dword [0x10189818]
cmp byte [eax + 0x377a], 0
je 0x100d2c5a
mov ecx, dword [0x10352ad4]
test ecx, ecx
jle 0x100d2c5a
mov eax, dword [0x1034edb4]
mov eax, dword [eax + 0x1b94]
cmp byte [eax + 0x8f], 0
jne 0x100d2c4c
mov ecx, dword [eax + 0x1a0]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.100fea50
mov ecx, dword [0x10352ad4]
push ecx
push str.Total:___d
call fcn.100fc200
add esp, 8
call fcn.100ec360
push 0x10352980
call fcn.1011b4e7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.1011b5d7
call fcn.10120cee
push eax
call fcn.1011b5d7
call fcn.100037c0
call fcn.1001d9a0
int3