Function at 0x100cef10
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword fs:[0x2c]
sub esp, 0x84
mov edx, dword [0x101945dc]
push ebx
push esi
mov esi, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x1027eb58]
push edi
cmp eax, dword [esi + 4]
jle 0x100cefcb
push 0x1027eb58
call fcn.1011812c
add esp, 4
cmp dword [0x1027eb58], 0xffffffff
jne 0x100cefcb
xorps xmm0, xmm0
mov dword [0x1027eb00], 0
push 2
push 0x1027eb00
mov dword [0x1027eb04], 0
mov dword [0x1027eb08], 0
movups xmmword [0x1027eb0c], xmm0
mov dword [0x1027eb24], 0
movq qword [0x1027eb1c], xmm0
mov dword [0x1027eb28], 0
mov dword [0x1027eb2c], 0
call fcn.10119d9d
push 0x1014d020
call fcn.10118075
add esp, 0xc
push 0x1027eb58
call fcn.101180db
add esp, 4
push 0x1027eb00
call fcn.10119db9
add esp, 4
test eax, eax
jne 0x100cfa3e
cmp dword [0x1027eb2c], 0x7fffffff
jne 0x100ceffb
mov dword [0x1027eb2c], 0x7ffffffe
jmp 0x100cfa54
mov eax, dword [0x1027eb84]
cmp eax, dword [esi + 4]
jle 0x100cf0bb
push 0x1027eb84
call fcn.1011812c
add esp, 4
cmp dword [0x1027eb84], 0xffffffff
jne 0x100cf0bb
push 0x30
mov dword [0x1027eb5c], 0
mov dword [0x1027eb60], 0
mov dword [0x1027eb64], 0
call fcn.101180ab
add esp, 4
mov ecx, 0x1027eb68
mov dword [eax], eax
mov dword [eax + 4], eax
push eax
push 0x10
mov dword [0x1027eb60], eax
mov dword [0x1027eb68], 0
mov dword [0x1027eb6c], 0
mov dword [0x1027eb70], 0
mov dword [0x1027eb74], 7
mov dword [0x1027eb78], 8
mov dword [0x1027eb5c], 0x3f800000
call fcn.100d0a50
push 0x1014cff0
call fcn.10118075
add esp, 4
push 0x1027eb84
call fcn.101180db
add esp, 4
mov eax, dword [0x1027ed78]
cmp eax, dword [esi + 4]
jle 0x100cf102
push 0x1027ed78
call fcn.1011812c
add esp, 4
cmp dword [0x1027ed78], 0xffffffff
jne 0x100cf102
mov ecx, 0x1027ed7c
call fcn.100d05c0
push 0x1014cfc0
call fcn.10118075
add esp, 4
push 0x1027ed78
call fcn.101180db
add esp, 4
test ebx, ebx
je 0x100cf3e5
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 0x100cfa2a
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x100cf124
cmp edx, 0x4400fb1c
je 0x100cf22a
cmp edx, 0xafcd8f60
je 0x100cf180
cmp edx, 0xd704819d
jne 0x100cfa2a
mov eax, dword [0x101939bc]
push 0x1027eb00
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [0x1019ee3c], xmm0
call fcn.10119deb
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1027eb64]
mov dword [0x1019ee3c], 0
test ecx, ecx
je 0x100cf202
mov eax, dword [0x1027eb78]
shr eax, 3
cmp eax, ecx
jbe 0x100cf1b4
mov eax, dword [0x1027eb60]
mov ecx, 0x1027eb5c
push eax
push dword [eax]
call fcn.100d0690
jmp 0x100cf202
mov edx, dword [0x1027eb60]
call fcn.100d0fe0
mov eax, dword [0x1027eb60]
xor edx, edx
mov dword [eax], eax
mov eax, dword [0x1027eb60]
mov dword [eax + 4], eax
mov ecx, dword [0x1027eb6c]
mov edi, dword [0x1027eb68]
sub ecx, edi
add ecx, 3
mov dword [0x1027eb64], 0
shr ecx, 2
cmp edi, dword [0x1027eb6c]
cmova ecx, edx
test ecx, ecx
je 0x100cf202
mov eax, dword [0x1027eb60]
rep stosd dword es:[edi], eax
mov ecx, 0x1027ed7c
call fcn.100d0630
push 0x1027eb00
mov dword [0x1027ebc8], 0
call fcn.10119deb
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101939c8]
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 0x100cfa2a
mov ecx, dword [0x10195304]
mov edx, dword [ecx]
test edx, edx
je 0x100cfa2a
mov ecx, dword [0x101939bc]
push edx
mov eax, dword [ecx + 0x34]
mov ecx, edi
call eax
test al, al
je 0x100cfa2a
mov eax, dword [0x101939bc]
mov eax, dword [eax + 0x44]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, eax
call edx
mov ecx, dword [ebx]
mov esi, eax
push 0x10160919
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 0x100cfa2a
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
mov ecx, edi
call edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.100d0b30
mov ecx, ebx
mov edi, dword [eax]
mov eax, dword [0x101939bc]
mov esi, dword [eax + 0xa0]
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 0x100cf316
mov ecx, dword [eax + 0xd0]
add dword [edi + 0xc], ecx
mov eax, dword [eax + 0xd0]
add dword [0x1027ebc8], eax
mov eax, dword [0x101939c8]
mov ecx, ebx
mov esi, dword [eax + 0x30]
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 + 0x40], 0
mov ecx, edx
mov dword [esp + 0x44], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cf353
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022380
lea eax, [esp + 0x30]
mov ecx, 0x1027ed7c
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100d0d10
lea ecx, [edi + 0x10]
mov eax, dword [eax]
inc dword [eax + 0x20]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100d0d10
mov eax, dword [eax]
inc dword [eax + 0x20]
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x100cfa2a
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cf3c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfa45
push ecx
push edx
call fcn.1011808f
add esp, 8
push 0x1027eb00
call fcn.10119deb
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101939c0]
cmp byte [eax + 0x3414], 0
je 0x100cfa2a
mov eax, dword [0x1027eba0]
cmp eax, dword [esi + 4]
jle 0x100cf440
push 0x1027eba0
call fcn.1011812c
add esp, 4
cmp dword [0x1027eba0], 0xffffffff
jne 0x100cf440
mov eax, dword [0x101939c8]
push str.mp_buytime
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x1027eba0
mov dword [0x1027edd0], eax
call fcn.101180db
add esp, 4
mov eax, dword [0x101939c8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100cf4c6
movss xmm2, dword [0x1019ee3c]
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x100cf4b4
mov eax, dword [0x101939c0]
cmp byte [eax + 0x3415], 0
jne 0x100cf49c
mov ecx, dword [0x1027edd0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
movss xmm2, dword [0x1019ee3c]
fstp dword [esp + 0x10]
movss xmm1, dword [esp + 0x10]
jmp 0x100cf49f
xorps xmm1, xmm1
mov eax, dword [0x101939bc]
addss xmm1, xmm2
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
comiss xmm0, xmm1
ja 0x100cf4c6
cmp dword [0x1027eb64], 0
je 0x100cf4c6
cmp dword [0x1027ed84], 0
jne 0x100cf4d4
mov eax, dword [0x10193d4c]
cmp byte [eax], 0
je 0x100cfa2a
mov ecx, dword [0x101939c0]
xorps xmm1, xmm1
mov edx, dword [0x1019eea4]
movss xmm0, dword [ecx + 0x3418]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100cf505
movss xmm0, dword [ecx + 0x341c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100cf55b
or dword [edx + 0x1c18], 1
mov eax, dword [ecx + 0x3418]
mov ecx, dword [ecx + 0x341c]
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 [0x101939c0]
mov dword [eax + 0x3418], 0
mov dword [eax + 0x341c], 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 + 0x28]
mov eax, dword [0x10193d4c]
mov dword [esp + 0x28], 0x3f000000
mov dword [esp + 0x2c], 0x3f000000
cmp byte [eax], 0
mov eax, dword [0x101939c0]
cmovne esi, ecx
mov ecx, 5
mov bl, byte [eax + 0x3417]
call fcn.100ddda0
mov eax, esi
mov ecx, str.Purchases
or eax, 1
test bl, bl
cmove eax, esi
xor edx, edx
push eax
call fcn.100e5cb0
mov ecx, 1
call fcn.100dde20
mov eax, dword [0x101939c0]
mov ecx, dword [eax + 0x3420]
test ecx, ecx
jne 0x100cf996
push 0x101a161c
call fcn.10119db9
add esp, 4
test eax, eax
jne 0x100cfa3e
cmp dword [0x101a1648], 0x7fffffff
je 0x100cfa4a
mov eax, dword [0x1027eb60]
mov dword [esp + 0x28], eax
mov esi, dword [eax]
mov dword [esp + 0x10], esi
cmp esi, eax
je 0x100cf984
nop
mov ecx, dword [esi + 0x14]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
xor edi, edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
mov byte [esp + 0x30], 0
mov eax, dword [ecx]
cmp eax, ecx
je 0x100cf67f
add edi, 2
add edi, dword [eax + 0x18]
mov eax, dword [eax]
cmp eax, ecx
jne 0x100cf658
cmp edi, 0xf
jbe 0x100cf67f
push dword [esp + 0x28]
lea ecx, [esp + 0x34]
push edi
call fcn.100d0ec0
mov dword [esp + 0x40], 0
mov edi, dword [esi + 0x14]
mov dword [esp + 0x14], edi
mov esi, dword [edi]
cmp esi, edi
je 0x100cf8a2
mov edx, dword [esi + 0x20]
lea ebx, [esi + 8]
mov dword [esp + 0x1c], ebx
cmp edx, 1
jle 0x100cf7f8
lea ecx, [esp + 0x78]
call fcn.10003c90
mov ecx, eax
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 2
jb 0x100cf6df
cmp dword [ecx + 0x14], 0xf
lea eax, [edx + 2]
mov dword [ecx + 0x10], eax
mov eax, ecx
jbe 0x100cf6cb
mov eax, dword [ecx]
mov edi, 0x2078
mov word [eax + edx], di
mov edi, dword [esp + 0x14]
mov byte [eax + edx + 2], 0
jmp 0x100cf6f3
push 2
push 0x1017d89c
push dword [esp + 0x30]
push 2
call fcn.10022e40
mov ecx, eax
movups xmm1, xmmword [ecx]
lea edx, [esp + 0x50]
movq xmm0, qword [ecx + 0x10]
movq qword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
cmp dword [esp + 0x64], 0xf
mov ecx, dword [esp + 0x40]
movd eax, xmm1
mov dword [esp + 0x18], ecx
cmova edx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
sub eax, ecx
mov ecx, dword [esp + 0x60]
push ecx
push edx
cmp ecx, eax
ja 0x100cf779
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x4c], 0xf
lea eax, [ebx + ecx]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
cmova eax, dword [esp + 0x38]
add ebx, eax
push ebx
call fcn.101214b0
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov byte [ebx + eax], 0
mov ebx, dword [esp + 0x1c]
jmp 0x100cf78b
push dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x40]
call fcn.10022e40
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x64]
cmp eax, 0xf
jbe 0x100cf7bf
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cf7b5
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfa45
push edx
push ecx
call fcn.1011808f
add esp, 8
mov ecx, dword [esp + 0x8c]
cmp ecx, 0xf
jbe 0x100cf7f8
mov edx, dword [esp + 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cf7ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfa45
push ecx
push edx
call fcn.1011808f
add esp, 8
mov ecx, dword [ebx + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 2
jb 0x100cfa60
cmp dword [ebx + 0x14], 0xf
jbe 0x100cf813
mov ebx, dword [ebx]
push 2
push 0x10161c3c
push ecx
push ebx
push ecx
push dword [esp + 0x3c]
lea ecx, [esp + 0x68]
call fcn.100243b0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
call fcn.1001a2e0
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x100cf86e
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cf864
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfa45
push ecx
push edx
call fcn.1011808f
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x100cf690
mov eax, dword [esp + 0x40]
cmp eax, 2
jb 0x100cf8a2
lea ecx, [eax - 2]
cmp eax, ecx
jb 0x100cfa5b
cmp dword [esp + 0x44], 0xf
lea eax, [esp + 0x30]
mov dword [esp + 0x40], ecx
cmova eax, dword [esp + 0x30]
mov byte [eax + ecx], 0
mov esi, dword [esp + 0x10]
mov ecx, dword [0x1027df60]
mov eax, dword [esi + 8]
cmp ecx, dword [0x1027df64]
je 0x100cf93e
nop dword [eax + eax]
cmp dword [ecx + 0x68], eax
je 0x100cf8d3
add ecx, 0x110
cmp ecx, dword [0x1027df64]
jne 0x100cf8c0
cmp ecx, dword [0x1027df64]
je 0x100cf93e
test ecx, ecx
je 0x100cf93e
mov eax, dword [0x101939c0]
cmp byte [eax + 0x3416], 0
lea eax, [esp + 0x30]
je 0x100cf91a
cmp dword [esp + 0x44], 0xf
cmova eax, dword [esp + 0x30]
sub ecx, 0xffffff80
cmp dword [ecx + 0x14], 0xf
jbe 0x100cf906
mov ecx, dword [ecx]
push eax
push dword [esi + 0xc]
push ecx
push str._s___d:__s
call fcn.100f7fd0
add esp, 0x10
jmp 0x100cf93e
cmp dword [esp + 0x44], 0xf
cmova eax, dword [esp + 0x30]
sub ecx, 0xffffff80
cmp dword [ecx + 0x14], 0xf
jbe 0x100cf92f
mov ecx, dword [ecx]
push eax
push ecx
push str._s:__s
call fcn.100f7fd0
add esp, 0xc
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x100cf974
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cf96a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfa45
push ecx
push edx
call fcn.1011808f
add esp, 8
mov esi, dword [esi]
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x28]
jne 0x100cf630
push 0x101a161c
call fcn.10119deb
add esp, 4
jmp 0x100cfa25
cmp ecx, 1
jne 0x100cfa25
mov edi, dword [0x1027ed80]
mov esi, dword [edi]
cmp esi, edi
je 0x100cf9d8
nop dword [eax + eax]
cmp dword [esi + 0x1c], 0xf
lea ecx, [esi + 8]
jbe 0x100cf9bc
mov ecx, dword [esi + 8]
push ecx
push dword [esi + 0x20]
push str._d_x__s
call fcn.100f7fd0
mov esi, dword [esi]
add esp, 0xc
cmp esi, edi
jne 0x100cf9b0
mov eax, dword [0x101939c0]
cmp byte [eax + 0x3416], 0
je 0x100cfa25
mov ecx, dword [0x1027ebc8]
test ecx, ecx
jle 0x100cfa25
mov eax, dword [0x1019eea4]
mov eax, dword [eax + 0x1b94]
cmp byte [eax + 0x8f], 0
jne 0x100cfa17
mov ecx, dword [eax + 0x1a0]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.100fa7d0
mov ecx, dword [0x1027ebc8]
push ecx
push str.Total:___d
call fcn.100f7fd0
add esp, 8
call fcn.100e7f00
push 0x1027eb00
call fcn.10119deb
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.1011a148
call fcn.10124a26
mov dword [0x101a1648], 0x7ffffffe
push 6
call fcn.1011a148
call fcn.1001dc30
call fcn.100032b0
int3