Function at 0x100c9e50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131943
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov ecx, edi
mov dword [ebp - 0xa4], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100caa49
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100caa49
mov ecx, dword [0x101f4698]
mov eax, dword [0x101f5d60]
add eax, 0xffffff81
xor eax, 0xea42ce4b
mov edx, dword [ecx]
push ecx
mov eax, dword [eax + edi]
mov edi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call edi
test eax, eax
jne 0x100caa49
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], al
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 4], eax
mov ecx, dword [0x101f5bf8]
mov eax, dword [0x101df848]
add ecx, 0xffffffdb
xor ecx, 0xea42cdf1
movss xmm1, dword [edx + ecx]
movss xmm2, dword [edx + ecx + 4]
subss xmm2, dword [ecx + eax + 4]
subss xmm1, dword [ecx + eax]
movss xmm0, dword [edx + ecx + 8]
subss xmm0, dword [ecx + eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
mulss xmm2, dword [0x10162648]
cvtps2pd xmm0, xmm2
mulsd xmm0, qword [0x10162700]
cvttsd2si edi, xmm0
mov dword [ebp - 0xb8], edi
test edi, edi
jle 0x100ca03b
cmp edi, 5
jle 0x100c9fd7
mov eax, 0x66666667
mov ecx, edi
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
sub ecx, eax
je 0x100c9fc0
nop dword [eax]
dec edi
mov eax, 0x66666667
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
lea ecx, [eax + eax*4]
sub edx, ecx
jne 0x100c9fa0
mov dword [ebp - 0xb8], edi
mov eax, 0x66666667
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
sub edi, eax
jne 0x100ca03b
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0x46206925
push eax
lea edx, [ebp - 0x1c]
mov word [ebp - 0x18], 0x54
lea ecx, [ebp - 0x7c]
call fcn.100a0bf0
add esp, 4
lea ecx, [ebp - 0x94]
push eax
call fcn.1001fbe0
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x100ca03b
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca031
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca031
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov edi, dword [ebp - 0xa4]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x20]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
call fcn.100bff50
test al, al
je 0x100caa10
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x6f8]
call eax
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x100caa10
push 0x18
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push str.other_dropped_weapon_col
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10011990
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x101e95f0
call fcn.10010770
movss xmm1, dword [0x10162960]
movss xmm0, dword [eax + 8]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [eax + 4]
mulss xmm0, xmm1
mov byte [ebp - 0xa6], dl
cvttss2si ecx, xmm0
movss xmm0, dword [eax]
mulss xmm0, xmm1
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0xa7], cl
cvttss2si eax, xmm0
mov byte [ebp - 0xa8], al
cmp edx, 0x10
jb 0x100ca13d
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca133
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca133
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
push 0x14
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push str.other_dropped_weapon
mov byte [ebp - 0xa5], 0xb4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10011990
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x101e9610
call fcn.10010750
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push ecx
mov ecx, eax
call fcn.100105d0
mov al, byte [eax]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x95], al
cmp edx, 0x10
jb 0x100ca1de
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca1ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca1ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
mov al, byte [ebp - 0x95]
add esp, 8
mov edi, dword [ebp - 0xa8]
test al, al
je 0x100ca59c
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x1d49b0b5
push eax
call fcn.10060ef0
mov ecx, esi
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100ca21c
mov eax, dword [eax + 0x14]
jmp 0x100ca21f
or eax, 0xffffffff
cmp dword [ebp - 0xa0], eax
jne 0x100ca2d6
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x1c], 0x424d4f42
lea edx, [ecx + 1]
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ca255
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10011990
push 2
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
push ecx
mov eax, esp
mov ecx, 0x10214278
mov dword [eax], 0xb43cc896
cvttss2si eax, dword [ebp - 0xac]
push eax
cvttss2si eax, dword [ebp - 0xb0]
push eax
call fcn.100c04d0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100ca59c
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca592
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca592
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [0x101f4800]
mov ecx, dword [ebp - 0xa4]
call eax
mov ecx, eax
test ecx, ecx
jne 0x100ca32b
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x1c], 0x6f727265
lea edx, [ecx + 1]
mov word [ebp - 0x18], 0x72
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], al
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ca310
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.10011990
jmp 0x100ca4e0
mov eax, dword [0x101f4804]
call eax
mov ecx, eax
test ecx, ecx
jne 0x100ca37b
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x1c], 0x6f727265
lea edx, [ecx + 1]
mov word [ebp - 0x18], 0x72
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], al
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ca360
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.10011990
jmp 0x100ca4e0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0x101f46e0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov edx, eax
mov dword [ebp - 0x44], 0
mov ecx, edx
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ca3b2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.1001ff40
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x100ca404
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], dl
jmp 0x100ca4c6
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov ecx, dword [0x101e0c28]
cmovae eax, dword [ebp - 0x44]
push 0
push 0
push 0
push 0
push edx
push eax
push 0
push 0xfde9
call ecx
push ecx
mov esi, eax
lea ecx, [ebp - 0x7c]
push esi
call fcn.1001fc60
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001fbe0
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x100ca473
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca469
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca469
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov edx, dword [0x101e0c28]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
push 0
cmovae eax, dword [ebp - 0x44]
push 0
push esi
push ecx
push dword [ebp - 0x34]
mov dword [ebp - 0x6c], 0
push eax
push 0
push 0xfde9
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call edx
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x54], xmm0
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
call fcn.1001fee0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x64]
lea esi, [ebp - 0x64]
cmovae eax, edx
cmovae ecx, edx
add ecx, dword [ebp - 0x54]
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0xa0], eax
cmovae esi, edx
mov dword [ebp - 0x9c], ecx
cmp esi, ecx
je 0x100ca53f
sub dword [ebp - 0xa0], esi
mov edi, dword [ebp - 0xa0]
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x9c]
jne 0x100ca520
mov edi, dword [ebp - 0xa8]
push 2
lea eax, [ebp - 0x64]
mov ecx, 0x10214278
push eax
cvttss2si eax, dword [ebp - 0xac]
push edi
push eax
cvttss2si eax, dword [ebp - 0xb0]
push eax
call fcn.100c04d0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x100ca59c
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca592
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca592
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
push 0x14
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push str.other_dropped_weapon
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10011990
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 7
push eax
mov ecx, 0x101e9610
call fcn.10010750
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 1
push ecx
mov ecx, eax
call fcn.100105d0
mov al, byte [eax]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x95], al
cmp edx, 0x10
jb 0x100ca636
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca626
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca626
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
mov al, byte [ebp - 0x95]
add esp, 8
mov esi, dword [ebp - 0xa4]
test al, al
je 0x100ca686
mov ecx, esi
call fcn.100c41b0
movd xmm0, dword [0x102142f8]
movss xmm1, dword [ebp - 0xac]
cvtdq2ps xmm0, xmm0
push eax
push 4
push edi
subss xmm1, xmm0
addss xmm1, dword [0x10162880]
cvttss2si eax, xmm1
push eax
cvttss2si eax, dword [ebp - 0xb0]
push eax
push dword [0x101e0ca4]
call fcn.100bfd30
add esp, 0x18
push 0x14
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push str.other_dropped_weapon
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10011990
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x101e9610
call fcn.10010750
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 2
push ecx
mov ecx, eax
call fcn.100105d0
mov al, byte [eax]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x95], al
cmp edx, 0x10
jb 0x100ca720
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca710
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca710
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
mov al, byte [ebp - 0x95]
add esp, 8
test al, al
je 0x100caa10
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 0xc8]
cmp eax, 9
je 0x100caa10
test eax, eax
je 0x100caa10
mov eax, dword [0x101f5cec]
add eax, 0xffffff9e
xor eax, 0xea42ce2e
mov eax, dword [eax + esi]
test eax, eax
je 0x100caa10
cmp eax, 0x31
je 0x100caa10
mov eax, dword [0x101f5cf4]
add eax, 0xffffff9c
mov dword [ebp - 0x20], 0x6925205b
xor eax, 0xea42ce30
mov dword [ebp - 0x1c], 0x2069252f
add eax, esi
mov word [ebp - 0x18], 0x5d
mov dword [ebp - 0xa0], eax
mov eax, dword [0x101f5cf0]
add eax, 0xffffff9d
xor eax, 0xea42ce2f
add eax, esi
push ecx
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x9c], eax
call fcn.100111b0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 9
mov dword [ebp - 0x4c], eax
mov esi, eax
mov dword [ebp - 0x48], 2
mov edi, 2
mov ecx, esi
call fcn.10004ff0
add esi, 0xc
sub edi, 1
jne 0x100ca7c8
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x20]
push dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x158]
mov eax, dword [ebp - 0xa0]
push dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0x10014ff0
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0x10014ff0
movq xmm0, qword [ebp - 0x58]
mov dword [ebp - 0x3c], 0x10015170
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0x10015170
call fcn.100056d0
add esp, 8
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x154]
push eax
call fcn.100117a0
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x158], 0x1014fb94
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x154], 0x1014fadc
call fcn.10011700
lea ecx, [ebp - 0x154]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 0xa
movss xmm0, dword [ebp - 0xac]
addss xmm0, dword [0x10162834]
mov ecx, dword [0x101f46a0]
mov dword [ebp - 0xa0], 0xb4000000
push dword [ebp - 0xa0]
cvttss2si eax, xmm0
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [ebp - 0xb0]
subss xmm0, dword [0x10162874]
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx]
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 0x38]
cvttss2si esi, xmm0
call eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [0x101f46a0]
add eax, 4
push eax
lea eax, [esi + 0x33]
push eax
mov edx, dword [ecx]
push dword [ebp - 0x9c]
push esi
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [0x101f5cf0]
mov edx, dword [ebp - 0xa4]
add eax, 0xffffff9d
mov ecx, dword [ebp - 0xb4]
xor eax, 0xea42ce2f
movss xmm1, dword [ebp - 0xbc]
addss xmm1, dword [0x10162728]
imul eax, dword [eax + edx], 0x31
cdq
idiv dword [ecx + 0x14]
mov esi, eax
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x18]
addss xmm1, dword [0x10162728]
mov dword [ebp - 0xb4], eax
mov ecx, dword [0x101f46a0]
mov edi, dword [ebp - 0xa8]
cvttss2si eax, xmm1
push edi
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [ebp - 0xb4]
mov edi, dword [0x101f46a0]
add eax, 2
movd xmm0, esi
cvtdq2pd xmm0, xmm0
push eax
sub esp, 8
movsd qword [ebp - 0xb0], xmm0
fld qword [ebp - 0xb0]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_round
mov ecx, dword [ebp - 0x18]
add esp, 8
fstp qword [ebp - 0xb0]
cvttsd2si eax, qword [ebp - 0xb0]
add eax, ecx
push eax
mov eax, dword [edi]
push dword [ebp - 0xb4]
push ecx
mov eax, dword [eax + 0x40]
mov ecx, edi
call eax
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x100caa10
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100caa06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100caa06
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x100caa49
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100caa3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100caa3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1012838d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4