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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b86cb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x104cdec0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], eax
movq qword [ebp - 0x1c], xmm0
xor esi, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x14], eax
movq qword [ebp - 0x28], xmm0
xor edi, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x20], eax
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x105d9d18]
mov byte [ebp - 4], 2
mov eax, dword [ecx]
mov eax, dword [eax + 0x158]
call eax
mov ecx, dword [0x105d9d18]
movzx eax, ax
mov dword [ebp - 0x40], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x160]
call eax
cmp word [ebp - 0x40], ax
je 0x1014629b
mov esi, dword [ebp - 0x40]
nop dword [eax]
mov ecx, dword [0x105d9d18]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x164]
call eax
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x10146254
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x48], 0x811c9dc5
inc ecx
cmp byte [eax + ecx], 0
jne 0x10146113
xor edx, edx
test ecx, ecx
je 0x10146175
mov esi, dword [ebp - 0x48]
movsx eax, byte [eax + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x44]
cmp edx, ecx
jb 0x10146123
cmp esi, 0xbb2da711
mov esi, dword [ebp - 0x38]
jne 0x10146175
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x84]
je 0x1014615a
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x10146254
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.100186f0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x84], eax
jmp 0x10146254
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x48], 0x811c9dc5
nop word [eax + eax]
inc ecx
cmp byte [eax + ecx], 0
jne 0x10146190
xor edx, edx
test ecx, ecx
je 0x101461e9
mov esi, dword [ebp - 0x48]
movsx eax, byte [eax + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x44]
cmp edx, ecx
jb 0x101461a0
cmp esi, 0xd402d032
mov esi, dword [ebp - 0x38]
jne 0x101461e9
cmp edi, dword [ebp - 0x80]
je 0x101461d1
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x24], edi
jmp 0x10146254
lea eax, [ebp - 0x38]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.100186f0
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x80], eax
jmp 0x10146254
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x48], 0x811c9dc5
nop
inc ecx
cmp byte [eax + ecx], 0
jne 0x10146200
xor edx, edx
test ecx, ecx
je 0x10146254
mov esi, dword [ebp - 0x48]
movsx eax, byte [eax + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [ebp - 0x44]
cmp edx, ecx
jb 0x10146210
cmp esi, 0x7e3ce5c1
mov esi, dword [ebp - 0x38]
jne 0x10146254
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x7c]
je 0x10146241
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x30], eax
jmp 0x10146254
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.100186f0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov ecx, dword [0x105d9d18]
push dword [ebp - 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x15c]
call eax
mov ecx, dword [0x105d9d18]
movzx esi, ax
mov dword [ebp - 0x40], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x160]
call eax
cmp si, ax
jne 0x101460e0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
cmp eax, esi
je 0x10146359
nop dword [eax]
mov esi, dword [eax]
lea ecx, [ebp - 0x78]
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
push str.transparentWalls
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
call fcn.10018360
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8c]
mov ecx, 0x105daf40
push eax
call fcn.100191c0
push ecx
mov ecx, esi
mov eax, dword [eax]
movss xmm0, dword [eax + 0x20]
divss xmm0, dword [0x101bc210]
mov eax, dword [esi]
mov eax, dword [eax + 0x6c]
movss dword [esp], xmm0
call eax
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x10146345
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014633b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101463e4
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x40], eax
cmp eax, esi
jne 0x101462b0
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
push str.brightnessAdjustment_sel
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
call fcn.10018360
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x8c]
mov ecx, 0x105daf80
push eax
call fcn.10019400
mov ecx, dword [eax]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0x40], 0
add ecx, 0x20
push eax
call fcn.10034ae0
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov al, byte [eax + 0xc]
mov byte [ebp - 0x39], al
cmp ecx, 0xf
jbe 0x101463f7
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101463ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101463ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101a3a33
mov al, byte [ebp - 0x39]
add esp, 8
test al, al
mov eax, dword [ebp - 0x44]
je 0x10146671
mov dword [ebp - 0x40], eax
cmp eax, esi
je 0x10146617
nop dword [eax]
mov esi, dword [eax]
lea ecx, [ebp - 0x60]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push str.nightmode_color
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
call fcn.10018360
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xbc]
mov ecx, 0x105daf60
push eax
call fcn.10018f80
push 0xf
push str.nightmode_color
lea ecx, [ebp - 0x78]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x28]
movss dword [ebp - 0xa8], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.10018360
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xc4]
mov ecx, 0x105daf60
push eax
call fcn.10018f80
push 0xf
push str.nightmode_color
lea ecx, [ebp - 0xa4]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x24]
movss dword [ebp - 0x88], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
call fcn.10018360
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xb4]
mov ecx, 0x105daf60
push eax
call fcn.10018f80
movss xmm1, dword [ebp - 0xa8]
sub esp, 0xc
mov ecx, esi
mov eax, dword [eax]
movss dword [esp + 8], xmm1
movss xmm1, dword [ebp - 0x88]
movss dword [esp + 4], xmm1
movss xmm0, dword [eax + 0x20]
mov eax, dword [esi]
movss dword [esp], xmm0
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x10146568
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014655e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101463e4
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x101465bb
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101465b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101463e4
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x10146605
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101465fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101463e4
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x18]
jne 0x10146410
mov ecx, dword [0x105d9e10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10146637
mov ecx, dword [0x105d9e10]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov esi, dword [ebp - 0x38]
cmp esi, edi
je 0x101466ff
mov ecx, dword [esi]
sub esp, 0xc
mov eax, dword [ecx]
mov dword [esp + 8], 0x3f000000
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0x3f000000
mov eax, dword [eax + 0x70]
call eax
add esi, 4
cmp esi, edi
jne 0x10146642
jmp 0x101466ff
mov dword [ebp - 0x88], eax
cmp eax, esi
je 0x101466ad
mov edi, eax
nop dword [eax]
mov ecx, dword [edi]
sub esp, 0xc
mov eax, dword [ecx]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
mov eax, dword [eax + 0x70]
call eax
add edi, 4
cmp edi, esi
jne 0x10146680
mov edi, dword [ebp - 0x24]
mov ecx, dword [0x105d9e10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
cmp eax, 0xffffffff
je 0x101466ce
mov ecx, dword [0x105d9e10]
push 0xffffffffffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov esi, dword [ebp - 0x38]
cmp esi, edi
je 0x101466ff
mov ecx, dword [esi]
sub esp, 0xc
mov eax, dword [ecx]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
mov eax, dword [eax + 0x70]
call eax
add esi, 4
cmp esi, edi
jne 0x101466d5
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push str.transparentProps
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
call fcn.10018360
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xb4]
mov ecx, 0x105daf40
push eax
call fcn.100191c0
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
mov eax, dword [eax]
movss xmm0, dword [eax + 0x20]
comiss xmm0, dword [0x101bc190]
seta al
mov byte [ebp - 0x39], al
cmp ecx, 0xf
jbe 0x1014678d
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146780
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10146780
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101a3a33
mov al, byte [ebp - 0x39]
add esp, 8
mov ecx, dword [0x105d9e10]
test al, al
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
je 0x1014686d
call eax
test eax, eax
je 0x101467b5
mov ecx, dword [0x105d9e10]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push str.transparentProps
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
call fcn.10018360
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xb4]
mov ecx, 0x105daf40
push eax
call fcn.100191c0
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
mov eax, dword [eax]
movss xmm0, dword [eax + 0x20]
divss xmm0, dword [0x101bc210]
movss dword [ebp - 0x40], xmm0
cmp ecx, 0xf
jbe 0x10146845
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146836
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10146836
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101a3a33
movss xmm0, dword [ebp - 0x40]
add esp, 8
mov esi, dword [ebp - 0x38]
cmp esi, edi
je 0x101468a8
nop dword [eax]
mov ecx, dword [esi]
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
movss xmm0, dword [ebp - 0x40]
add esi, 4
cmp esi, edi
jne 0x10146850
jmp 0x101468a8
call eax
cmp eax, 0xffffffff
je 0x10146883
mov ecx, dword [0x105d9e10]
push 0xffffffffffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov esi, dword [ebp - 0x38]
cmp esi, edi
je 0x101468a8
nop word [eax + eax]
mov ecx, dword [esi]
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
add esi, 4
cmp esi, edi
jne 0x10146890
mov edx, dword [ebp - 0x48]
mov edi, edx
mov esi, dword [ebp - 0x30]
cmp edi, esi
je 0x10146b72
nop dword [eax + eax]
push 0x17
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push str.skybox_color_modulation
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
call fcn.10018360
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xb4]
mov ecx, 0x105daf00
push eax
call fcn.100196a0
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov al, byte [eax + 0x20]
mov byte [ebp - 0x39], al
cmp ecx, 0xf
jbe 0x10146940
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146933
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101463e4
push ecx
push edx
call fcn.101a3a33
mov al, byte [ebp - 0x39]
add esp, 8
mov ecx, dword [edi]
mov dword [ebp - 0x88], ecx
test al, al
je 0x10146b43
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push str.skybox_color
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
call fcn.10018360
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xc4]
mov ecx, 0x105daf60
push eax
call fcn.10018f80
push 0xc
push str.skybox_color
lea ecx, [ebp - 0xa4]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x28]
movss dword [ebp - 0xa8], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
call fcn.10018360
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xbc]
mov ecx, 0x105daf60
push eax
call fcn.10018f80
push 0xc
push str.skybox_color
lea ecx, [ebp - 0x78]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x24]
movss dword [ebp - 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.10018360
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xcc]
mov ecx, 0x105daf60
push eax
call fcn.10018f80
mov ecx, dword [ebp - 0x88]
sub esp, 0xc
movss xmm1, dword [ebp - 0xa8]
mov eax, dword [eax]
movss dword [esp + 8], xmm1
movss xmm1, dword [ebp - 0x40]
movss dword [esp + 4], xmm1
movss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [esp], xmm0
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 0xc
cmp ecx, 0xf
jbe 0x10146a9e
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146a94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101463e4
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 0xb
cmp ecx, 0xf
jbe 0x10146aee
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146ae4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101463e4
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x10146b64
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146b37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101463e4
push ecx
push edx
call fcn.101a3a33
add esp, 8
jmp 0x10146b64
mov eax, dword [ecx]
sub esp, 0xc
mov eax, dword [eax + 0x70]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call eax
add edi, 4
cmp edi, esi
jne 0x101468c0
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x10146ba2
mov ecx, dword [ebp - 0x7c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10146b98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146c01
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x10146bd5
mov ecx, dword [ebp - 0x80]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10146bcb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146c01
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov edx, dword [ebp - 0x44]
test edx, edx
je 0x10146c11
mov ecx, dword [ebp - 0x84]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10146c07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10146c07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101a3d69
mov esp, ebp
pop ebp
ret