Function at 0x100f0b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x103250c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x74], eax
cmp byte [ebx], 0
jne 0x100f0b99
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010f972
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [0x10325f28]
push edi
lea edi, [ebx + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x78], eax
call dword [ebp - 0x78]
mov ecx, dword [0x10325f28]
lea edx, [ebp - 0x10]
xorps xmm0, xmm0
mov dword [ebp - 8], 0
fstp dword [ebp - 0x88]
movq qword [ebp - 0x10], xmm0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x1c]
call eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 4]
cmp eax, 4
jne 0x100f0d00
push dword [ebp - 0x74]
lea ecx, [ebp - 0xac]
push dword [esi + 0x21c]
push edi
call fcn.100f0300
mov edi, dword [esi + 0x224]
mov ecx, 0x103243d8
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.1004ed00
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
mov ecx, edi
push 0
push eax
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10042fa0
test esi, esi
je 0x100f0c89
movss xmm0, dword [ebx + 0x28]
sub esp, 0xc
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x24]
mov eax, dword [eax + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x20]
movss dword [esp], xmm0
call eax
mov eax, dword [edi]
mov ecx, 0x103243f0
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.1004e820
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
mov ecx, edi
push 0
push eax
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10042fa0
test esi, esi
je 0x100f0cf3
movd xmm0, dword [ebx + 8]
sub esp, 0xc
movss xmm1, dword [0x10172550]
mov ecx, esi
mov eax, dword [esi]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x2c]
subss xmm1, xmm0
movss dword [esp + 8], xmm1
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call eax
push dword [ebp - 0x74]
lea eax, [ebx + 0x20]
push edi
push eax
jmp 0x100f12d8
mov edx, dword [esi + eax*4 + 0x214]
mov dword [ebp - 0x80], edx
cmp eax, 7
jne 0x100f0d9f
mov ebx, dword [esi + 0x230]
mov ecx, 0x10324418
mov eax, dword [ebx]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.1004ed00
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
mov ecx, ebx
push 0
push eax
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10042fa0
test esi, esi
je 0x100f0d79
movss xmm0, dword [edi + 8]
sub esp, 0xc
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 4]
mov eax, dword [eax + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi]
movss dword [esp], xmm0
call eax
mov eax, dword [ebx]
sub esp, 0xc
mov ecx, ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [eax + 0x70]
jmp 0x100f12d3
cmp eax, 6
jne 0x100f1270
add ebx, 0x30
mov ecx, ebx
mov dword [ebp - 0x84], ebx
lea eax, [ecx + 1]
mov dword [ebp - 0x78], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f0dc0
sub ecx, dword [ebp - 0x78]
je 0x100f1270
mov ecx, dword [0x10364828]
test cl, 1
jne 0x100f0def
mov eax, dword [esi + 0x22c]
or ecx, 1
mov dword [0x10364828], ecx
mov dword [0x10364824], eax
test cl, 2
jne 0x100f0e0a
or ecx, 2
push 0x10170360
mov dword [0x10364828], ecx
call fcn.1010f95d
add esp, 4
mov eax, dword [0x10364824]
mov ecx, 0x10324430
mov eax, dword [eax]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x58]
push eax
call fcn.1004edd0
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
mov ecx, dword [0x10364824]
cmova eax, dword [ebp - 0x58]
push 1
push 0
push eax
call esi
mov esi, eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x80], esi
call fcn.10042fa0
test esi, esi
je 0x100f11fc
mov edx, ebx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100f0e54
mov esi, dword [0x103234f0]
sub edx, ecx
cmp dword [0x103234f4], 0xf
mov ecx, 0x103234e0
cmova ecx, dword [0x103234e0]
cmp esi, edx
jne 0x100f0ed5
mov edx, ebx
sub esi, 4
jb 0x100f0e92
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100f0e97
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100f0e81
cmp esi, 0xfffffffc
je 0x100f0ecb
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100f0ec4
cmp esi, 0xfffffffd
je 0x100f0ecb
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100f0ec4
cmp esi, 0xfffffffe
je 0x100f0ecb
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100f0ec4
cmp esi, 0xffffffff
je 0x100f0ecb
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100f0ecb
sbb eax, eax
or eax, 1
jmp 0x100f0ecd
xor eax, eax
test eax, eax
je 0x100f11fc
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x144], 0x10176f00
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x144]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x144], 0x10176efc
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x148], eax
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
push str._n_t_t_t_t_t_t__basemapalphaphongmask____1__n_n_t_t_t_t_t_t__envmap___________________env_cubemap__n_t_t_t_t_t_t__envmapfresnel____________1__n_t_t_t_t_t_t__envmaptint___t____________.2_.2_.2___n_t_t_t_t_t_n_t_t_t_t
push ebx
lea eax, [ebp - 0x144]
mov dword [ebp - 0x140], 0x10176be0
push str._VertexLitGeneric___n_t_t_t_t_____n_t_t_t_t_t_t__baseTexture_
push eax
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 4
call fcn.10041560
add esp, 8
push eax
call fcn.10041560
add esp, 8
push eax
call fcn.10041560
add esp, 8
lea eax, [ebp - 0x40]
mov ecx, 0x10324468
push eax
call fcn.1004e4e0
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x104]
xorps xmm0, xmm0
cmova eax, dword [ebp - 0x40]
mov esi, 0xf
mov dword [ebp - 0x78], eax
mov eax, edx
and al, 0x22
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], esi
movq qword [ebp - 0x98], xmm0
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x28], 0
cmp al, 2
je 0x100f0ffa
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax]
test ecx, ecx
je 0x100f0ffa
mov eax, dword [ebp - 0x130]
cmp ecx, dword [ebp - 0x108]
cmovb ecx, dword [ebp - 0x108]
mov edx, dword [eax]
sub ecx, edx
jmp 0x100f102b
test dl, 4
jne 0x100f101f
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
test ecx, ecx
je 0x100f101f
mov eax, dword [ebp - 0x134]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x114]
add ecx, dword [eax]
jmp 0x100f102b
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
test edx, edx
je 0x100f103c
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10045050
mov esi, dword [ebp - 0x14]
cmp esi, 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
cmp byte [0x10324448], 0
mov dword [ebp - 0x8c], eax
je 0x100f10b1
cmp byte [0x10324449], 0
jne 0x100f10f2
mov byte [0x10324449], 1
xor esi, esi
nop dword [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324464]
xor ebx, dword [0x10324460]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + str.__nc], al
inc esi
cmp esi, 0x15
jb 0x100f1070
jmp 0x100f10f2
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x10324464]
xor ebx, dword [0x10324460]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + str.__nc], al
inc esi
cmp esi, 0x15
jb 0x100f10b3
lea eax, [ebp - 0x79]
push eax
push 0x1032445e
push str.__nc
lea ecx, [ebp - 0x70]
call fcn.1004d5e0
cmp dword [ebp - 0x5c], 0xf
lea ebx, [ebp - 0x70]
push 0x28
cmova ebx, dword [ebp - 0x70]
call fcn.1010f61a
mov esi, eax
add esp, 4
test esi, esi
je 0x100f1134
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
jmp 0x100f1136
xor esi, esi
push 0
push 0
push dword [ebp - 0x78]
mov ecx, esi
call dword [0x103267c4]
push 0
push 0
push 0
push 0
push dword [ebp - 0x8c]
mov ecx, esi
push ebx
call dword [0x103267c8]
mov ecx, dword [0x10325edc]
push esi
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
lea ecx, [ebp - 0x70]
mov dword [0x10364824], esi
call fcn.10042fa0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100f11bb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100f11b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f11b1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
add esp, 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10042fa0
mov ecx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
push esi
mov ecx, 0x103234e0
call fcn.100542b0
lea ecx, [ebp - 0x144]
call fcn.100f0550
mov eax, dword [0x10364824]
mov ecx, 0x10324488
mov eax, dword [eax]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x40]
push eax
call fcn.1004ed00
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov ecx, dword [0x10364824]
cmova eax, dword [ebp - 0x40]
push 1
push 0
push eax
call esi
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10042fa0
test esi, esi
je 0x100f1265
movss xmm0, dword [edi + 8]
sub esp, 0xc
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 4]
mov eax, dword [eax + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi]
movss dword [esp], xmm0
call eax
push dword [ebp - 0x74]
push dword [0x10364824]
jmp 0x100f12d7
mov eax, dword [edx]
mov ecx, 0x103244a0
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x40]
push eax
call fcn.1004ed00
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov ebx, dword [ebp - 0x80]
mov ecx, ebx
cmova eax, dword [ebp - 0x40]
push 1
push 0
push eax
call esi
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10042fa0
test esi, esi
je 0x100f12d3
movss xmm0, dword [edi + 8]
sub esp, 0xc
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 4]
mov eax, dword [eax + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi]
movss dword [esp], xmm0
call eax
push dword [ebp - 0x74]
push ebx
push edi
lea ecx, [ebp - 0xac]
call fcn.100f0300
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010f972
mov esp, ebp
pop ebp
ret 0x10