Function at 0x100371b0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x10269840]
xor eax, esp
mov dword [esp + 0x1b8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], eax
call fcn.10032310
add esp, 4
mov dword [esi + 4], 0
vxorps xmm0, xmm0, xmm0
mov ecx, esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
vmovups xmmword [esi + 0x24], xmm0
call fcn.10031e10
mov ecx, dword [esi + 0x4c]
xor ebx, ebx
mov byte [esp + 0xe], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x50], ecx
lea edx, [ebx + 8]
test ecx, ecx
jle 0x10037248
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x10037248
imul eax, eax, 0x54
push eax
call fcn.10024440
add esp, 4
mov dword [esp + 0x30], eax
lea edx, [ebx + 8]
mov edi, dword [esi + 0x34]
mov dword [esp + 0x40], edi
test edi, edi
jle 0x10037274
cmp edi, 8
mov ecx, edi
cmovl ecx, edx
test ecx, ecx
jle 0x10037274
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10024440
add esp, 4
mov dword [esp + 0x38], eax
mov ebx, eax
imul ecx, dword [esp + 0x50], 0x54
push ecx
push 0
push dword [esp + 0x38]
call sub.VCRUNTIME140.dll_memset
lea eax, [edi + edi*2]
shl eax, 3
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [esp + 0x18], 0
cmp dword [esi + 0x4c], 0
jle 0x100373b2
mov edi, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x24], eax
add edi, 0x34
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov esi, dword [esi + 0x54]
add esi, eax
mov dword [edi - 4], 0xffffffff
mov dword [esp + 0x34], esi
cmp dword [ecx + 0x34], edx
jle 0x100375eb
mov ebx, dword [esp + 0x34]
or esi, 0xffffffff
nop dword [eax]
mov eax, esi
cmp esi, 0xffffffff
jne 0x10037305
mov ecx, dword [ecx + 0x3c]
or esi, esi
mov eax, dword [ebx + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x100372f9
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [esp + 0x1c]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x34]
jl 0x100372e0
mov ebx, dword [esp + 0x38]
cmp eax, 0xffffffff
je 0x100375eb
push dword [ebp + 0x10]
mov esi, dword [esp + 0x38]
lea ecx, [edi - 0x34]
push esi
push dword [esp + 0x4c]
call fcn.10038110
test al, al
je 0x100375eb
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x30]
mov esi, dword [esp + 0x1c]
shr eax, 8
and al, 1
or byte [esp + 0xe], al
mov eax, dword [edi - 4]
lea eax, [eax + eax*2]
mov dword [esp + 0x14], eax
test edx, edx
jne 0x10037358
mov ecx, esi
call fcn.10031e90
mov edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x1003737c
movzx eax, word [edx + 2]
test ax, ax
je 0x1003737c
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x10037361
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc dword [ebx + edx*8]
mov ecx, dword [edi]
cmp dword [ebx + edx*8 + 4], ecx
cmovge ecx, dword [ebx + edx*8 + 4]
add eax, 0x78
mov dword [ebx + edx*8 + 4], ecx
add edi, 0x54
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
cmp ecx, dword [esi + 0x4c]
jl 0x100372b6
mov eax, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x28], esi
test eax, eax
jle 0x100376c0
mov edx, dword [esp + 0x30]
mov edi, eax
add edx, 0x38
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edx
mov eax, dword [edx - 8]
lea esi, [edx + 4]
lea ecx, [eax + eax*2]
mov eax, dword [edx - 4]
add eax, 0x20
mov dword [esp + 0x20], ecx
sar eax, 5
mov ecx, esi
push eax
call fcn.10038310
mov eax, dword [esi]
shl eax, 2
push eax
mov eax, dword [esp + 0x14]
push 0
push dword [eax + 0xc]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x2c]
add esp, 0xc
cmp dword [ebx + ecx*8 + 0xc], 0
lea esi, [ebx + ecx*8]
jne 0x10037443
mov eax, dword [ebx + ecx*8 + 4]
lea ecx, [esi + 0xc]
add eax, 0x20
sar eax, 5
push eax
call fcn.10038310
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0
push dword [esi + 0x14]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
mov dword [esp + 0x2c], eax
cmp word [eax], 0
je 0x1003750e
nop dword [eax + eax]
movzx esi, word [eax + 2]
test si, si
je 0x10037506
movzx edi, word [eax]
cmp edi, esi
ja 0x100374ed
mov eax, dword [esp + 0x38]
mov esi, edi
mov ebx, edi
sar esi, 5
and ebx, 0x1f
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, 1
shlx eax, eax, ebx
test dword [ecx + esi*4], eax
jne 0x100374dc
push edi
push dword [edx - 0x20]
call fcn.100aeaa0
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x100374dc
inc dword [edx]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
inc dword [ecx + eax*8 + 8]
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + esi*4]
bts eax, ebx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, ebx
inc dword [esp + 0x28]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x2c]
inc edi
mov ecx, dword [esp + 0x20]
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x10037474
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x2c], eax
cmp word [eax], 0
jne 0x10037460
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
add edx, 0x54
sub edi, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x34], edi
jne 0x100373d5
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
add esi, 0x4c
mov dword [esp + 0x18], eax
mov edi, dword [esi - 0x14]
cmp edi, dword [esi]
jle 0x10037570
mov eax, edi
shl eax, 5
push eax
vzeroupper
call fcn.10024440
mov ebx, eax
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x1003756b
mov ecx, dword [esi - 4]
shl ecx, 5
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 4]
call fcn.10024470
add esp, 0x10
mov dword [esi + 4], ebx
mov dword [esi], edi
mov edi, dword [esi - 8]
mov ecx, edi
mov eax, dword [esi - 0x10]
mov dword [esp + 0x58], edi
mov dword [esp + 0x34], edi
lea eax, [edi + eax*4]
mov dword [esp + 0x54], eax
cmp edi, eax
jae 0x10037680
nop
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
test edx, edx
je 0x10037671
xor ebx, ebx
mov eax, 1
shlx eax, eax, ebx
test edx, eax
je 0x10037663
mov eax, ecx
mov ecx, dword [esi]
sub eax, edi
mov edi, dword [esi - 4]
shl eax, 3
and eax, 0xffffffe0
add eax, ebx
movzx eax, ax
vpxor xmm0, xmm0, xmm0
vmovdqu ymmword [esp + 0x70], ymm0
mov dword [esp + 0x88], eax
cmp edi, ecx
jne 0x10037641
inc edi
test ecx, ecx
je 0x100375f5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100375fa
mov byte [esp + 0xe], 0
jmp 0x100380cf
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10037641
mov eax, edi
shl eax, 5
push eax
vzeroupper
call fcn.10024440
mov edx, dword [esi + 4]
add esp, 4
mov dword [esp + 0x44], eax
test edx, edx
je 0x1003763c
mov ecx, dword [esi - 4]
shl ecx, 5
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 4]
call fcn.10024470
mov eax, dword [esp + 0x54]
add esp, 0x10
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [esi - 4]
vmovdqu ymm0, ymmword [esp + 0x70]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
shl eax, 5
add eax, dword [esi + 4]
vmovdqu ymmword [eax], ymm0
inc dword [esi - 4]
inc ebx
cmp ebx, 0x20
jb 0x100375a0
mov eax, dword [esp + 0x54]
add ecx, 4
mov dword [esp + 0x34], ecx
cmp ecx, eax
jb 0x10037590
mov eax, dword [esi - 8]
test eax, eax
je 0x100376a8
mov dword [esi - 0xc], 0
mov dword [esi - 0x10], 0
push eax
vzeroupper
call fcn.10024470
add esp, 4
mov dword [esi - 8], 0
add esi, 0x54
sub dword [esp + 0x18], 1
jne 0x10037531
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
jmp 0x100376c2
xor esi, esi
cmp dword [esp + 0x40], 0
jle 0x10037702
lea edi, [ebx + 0x14]
mov ebx, dword [esp + 0x40]
mov eax, dword [edi]
test eax, eax
je 0x100376f6
mov dword [edi - 4], 0
mov dword [edi - 8], 0
push eax
vzeroupper
call fcn.10024470
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub ebx, 1
jne 0x100376d0
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x1003771a
push ebx
vzeroupper
call fcn.10024470
add esp, 4
mov dword [esp + 0x38], 0
xor ecx, ecx
mov dword [esp + 0x34], ecx
test esi, esi
jle 0x1003774a
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1003774a
shl eax, 4
push eax
vzeroupper
call fcn.10024440
add esp, 4
mov dword [esp + 0x34], eax
mov ecx, eax
shl esi, 4
push esi
push 0
push ecx
vzeroupper
call sub.VCRUNTIME140.dll_memset
xor eax, eax
push 0x40000
mov dword [esp + 0x4c], eax
call fcn.10024440
push 0x20
mov esi, eax
call fcn.10024440
mov ecx, dword [esp + 0x64]
xor edi, edi
vmovss xmm1, dword [0x10107b88]
mov dword [esp + 0x34], eax
add esp, 0x14
mov dword [eax], esi
mov ebx, 8
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], eax
test ecx, ecx
jle 0x10037abd
mov esi, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x58], edx
add esi, 0x18
mov dword [esp + 0x14], ecx
nop dword [eax]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x54]
add ecx, edx
mov edx, dword [esi + 0x20]
test edx, edx
je 0x10037a9c
add dword [esp + 0x2c], edx
shl eax, 4
add eax, dword [esp + 0x34]
mov dword [esi + 0x10], eax
vmovss xmm0, dword [ecx + 0x44]
vucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1003780e
push ecx
lea eax, [esp + 0xc4]
mov byte [esp + 0x13], 1
vmovss dword [esp], xmm0
push eax
call fcn.100323d0
add esp, 8
jmp 0x10037813
mov byte [esp + 0xf], 0
cmp dword [esi + 0x30], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
jle 0x10037a98
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x28], 0
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
mov edi, dword [esi + 0x38]
add edi, ecx
push dword [edi + 0x18]
push dword [esi]
call fcn.100aeaa0
add esp, 8
test eax, eax
je 0x10037a72
push dword [esi + 8]
push eax
push dword [esi]
call fcn.100af380
add esp, 0xc
test eax, eax
jne 0x10037a72
test byte [esi + 4], 0x20
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x18], eax
je 0x10037893
push eax
call fcn.100b6010
mov eax, dword [esp + 0x1c]
add esp, 4
test byte [esi + 4], 0x40
je 0x100378a2
push eax
call fcn.100b6110
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0x18
je 0x10037a72
mov eax, dword [esi]
push dword [esi + 0xc]
mov eax, dword [eax + 0x54]
push eax
mov dword [esp + 0x4c], eax
call fcn.100b1660
add esp, 8
test eax, eax
jne 0x10037a72
mov eax, dword [esi]
vxorps xmm0, xmm0, xmm0
mov eax, dword [eax + 0x54]
add eax, 0x4c
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov dword [edi + 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 6
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [esp + 0x18]
vmovss dword [edi + 0x10], xmm0
cmp byte [eax + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [esp + 0x24]
imul eax, ecx
shl eax, 2
mov dword [esp + 0x24], eax
add eax, edx
cmp eax, 0x40000
jle 0x100379ef
xor eax, eax
push 0x40000
mov dword [esp + 0x40], eax
call fcn.10024440
add esp, 4
mov dword [esp + 0x60], eax
cmp dword [esp + 0x4c], ebx
jne 0x100379d1
test ebx, ebx
je 0x1003797a
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
jmp 0x1003797f
mov eax, 8
mov ebx, dword [esp + 0x40]
cmp eax, ebx
cmovg ebx, eax
cmp ebx, dword [esp + 0x48]
jle 0x100379d1
lea eax, [ebx*4]
push eax
call fcn.10024440
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x44], eax
test edx, edx
je 0x100379c9
mov ecx, dword [esp + 0x4c]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esp + 0x2c]
call fcn.10024470
mov eax, dword [esp + 0x54]
add esp, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ebx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
mov dword [ecx + edx*4], eax
inc edx
inc dword [esp + 0x40]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x3c]
jmp 0x100379f3
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + eax*4 - 4]
lea eax, [esp + 0xc0]
add ecx, edx
add edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
xor edx, edx
cmp byte [esp + 0xf], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [esp + 0x24]
lea ecx, [esi - 0x18]
call fcn.10036b80
movzx ecx, word [edi]
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
movzx edx, ax
mov eax, dword [esi + 0x10]
add cx, dx
mov word [eax + ebx + 4], cx
movzx ecx, word [edi + 4]
mov eax, dword [esi + 0x10]
add cx, dx
mov edi, dword [esp + 0x10]
mov edx, ebx
mov ebx, dword [esp + 0x48]
mov word [eax + edx + 6], cx
mov eax, dword [esi + 0x10]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
imul ecx, eax
add edi, ecx
mov dword [esp + 0x10], edi
jmp 0x10037a76
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
inc eax
add dword [esp + 0x28], 0x10
add ecx, 0x20
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ecx
cmp eax, dword [esi + 0x30]
jl 0x10037847
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
add esi, 0x54
vmovss xmm1, dword [0x10107b88]
add edx, 0x78
sub dword [esp + 0x14], 1
mov dword [esp + 0x58], edx
jne 0x100377c0
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 8]
mov dword [ebx + 0x20], 0
test esi, esi
jg 0x10037b38
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edi
vcvtss2sd xmm0, xmm0, xmm0
vxorpd xmm1, xmm1, xmm1
vucomisd xmm1, xmm0
ja 0x10037aeb
vsqrtsd xmm0, xmm0, xmm0
jmp 0x10037af0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
vcvtsd2ss xmm0, xmm0, xmm0
vcvttss2si eax, xmm0
inc eax
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vcomiss xmm0, dword [0x10128f58]
jb 0x10037b12
mov esi, 0x1000
jmp 0x10037b38
vcomiss xmm0, dword [0x10128f54]
jb 0x10037b23
mov esi, 0x800
jmp 0x10037b38
vcomiss xmm0, dword [0x10128f50]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [ebx + 0x1c], esi
xor ecx, ecx
sub esi, dword [ebx + 0xc]
mov dword [esp + 0x44], ecx
test esi, esi
jle 0x10037b6b
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x10037b6b
shl eax, 3
push eax
call fcn.10024440
add esp, 4
mov dword [esp + 0x44], eax
mov ecx, eax
push esi
push ecx
push 0x8000
push dword [ebx + 0x1c]
lea eax, [esp + 0xa0]
push eax
call fcn.10038390
lea eax, [esp + 0xa4]
push eax
push ebx
call fcn.10032430
mov edi, dword [esp + 0x6c]
add esp, 0x1c
test edi, edi
jle 0x10037c16
mov esi, dword [esp + 0x30]
mov ebx, edi
add esi, 0x38
mov dword [esp + 0x14], edi
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x10037c02
push eax
push dword [esi - 0x10]
lea eax, [esp + 0x98]
push eax
call fcn.10036970
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x10037c02
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x10037bf6
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [ebx + 0x20], ecx
cmovge ecx, dword [ebx + 0x20]
mov dword [ebx + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10037bd6
mov ebx, dword [esp + 0x14]
add esi, 0x54
sub ebx, 1
mov dword [esp + 0x14], ebx
jne 0x10037bb0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x50]
test byte [ebx], 1
mov eax, dword [ebx + 0x20]
jne 0x10037c43
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
vmovss xmm2, dword [0x10107b88]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ebx + 0x1c]
vdivss xmm1, xmm2, xmm0
lea esi, [eax + 1]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, esi
mov dword [ebx + 0x20], esi
imul esi, dword [ebx + 0x1c]
cmp byte [esp + 0xe], 0
vdivss xmm0, xmm2, xmm0
vmovss dword [ebx + 0x24], xmm1
vmovss dword [ebx + 0x28], xmm0
je 0x10037c8d
shl esi, 2
push esi
call fcn.10024440
mov dword [ebx + 0x18], eax
jmp 0x10037c96
push esi
call fcn.10024440
mov dword [ebx + 0x14], eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor al, al
add esp, 0x10
mov byte [esp + 0xf], al
test edi, edi
jle 0x10038000
mov eax, dword [esp + 0x30]
xor ecx, ecx
add eax, 4
mov dword [esp + 0x54], ecx
mov dword [esp + 0x18], eax
mov edx, edi
mov dword [esp + 0x5c], edi
nop word [eax + eax]
cmp dword [eax + 0x34], 0
je 0x10037fe1
vmovss xmm0, dword [eax + 4]
mov esi, dword [ebx + 0x54]
sub esp, 8
add esi, ecx
mov dword [esp + 0x6c], esi
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [eax]
mov edi, dword [esi + 0x74]
vmovss dword [esp], xmm0
push esi
push edi
push ebx
mov dword [esp + 0x74], edi
call fcn.10032960
vmovss xmm0, dword [edi + 0x48]
vaddss xmm0, xmm0, dword [0x101252a8]
vmovss xmm1, dword [esi + 0x28]
vcvttss2si eax, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
vaddss xmm2, xmm0, dword [esi + 0x2c]
mov esi, dword [ebx + 0xc]
vmovss dword [esp + 0x2c], xmm1
cmp dword [eax + 0x34], 0
vmovss dword [esp + 0x28], xmm2
mov dword [esp + 0x3c], esi
mov dword [esp + 0x58], 0
jle 0x10037fd2
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], edx
mov edi, dword [eax + 0x4c]
mov eax, dword [eax + 0x24]
add edi, edx
add eax, ecx
cmp word [eax + 4], 0
jne 0x10037d80
cmp word [eax + 6], 0
je 0x10037fa6
movzx ebx, word [eax + 8]
sub esp, 0x24
mov ecx, dword [edi + 4]
add ebx, esi
movzx esi, word [eax + 0xa]
mov eax, dword [esp + 0x40]
add esi, dword [esp + 0x60]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [edi + 8]
vaddss xmm4, xmm0, xmm1
mov edx, dword [edi]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [edi + 0xc]
vaddss xmm3, xmm0, xmm2
vmovss xmm0, dword [edi + 0x10]
vmovss dword [esp + 0x20], xmm0
vxorps xmm0, xmm0, xmm0
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, dword [eax + 0x20]
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, dword [eax + 0x1c]
lea eax, [ecx + esi]
mov dword [esp + 0x38], ebx
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm0, xmm0, xmm1
vmovss dword [esp + 0x1c], xmm0
vxorps xmm0, xmm0, xmm0
lea eax, [edx + ebx]
mov dword [esp + 0x48], esi
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm0, xmm0, xmm2
vmovss dword [esp + 0x18], xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, esi
vdivss xmm0, xmm0, xmm1
vmovss dword [esp + 0x14], xmm0
movzx eax, word [edi + 0x18]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ebx
mov ebx, dword [esp + 0x84]
vdivss xmm0, xmm0, xmm2
vmovss dword [esp + 0x10], xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vaddss xmm0, xmm0, xmm3
vmovss dword [esp + 0xc], xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edx
vaddss xmm0, xmm0, xmm4
vmovss dword [esp + 8], xmm0
vmovss dword [esp + 4], xmm3
vmovss dword [esp], xmm4
push eax
push dword [esp + 0x8c]
mov ecx, ebx
call fcn.1002fdf0
cmp byte [edi + 0x14], 0
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x28]
lea eax, [eax + eax*4]
je 0x10037e89
or dword [ecx + eax*8 - 0x28], 1
mov byte [esp + 0xf], 1
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [esp + 0x10], eax
mov esi, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x14]
mov ecx, esi
imul ecx, dword [esp + 0x24]
mov dword [esp + 0x68], esi
test ebx, ebx
je 0x10037f12
add ebx, ecx
xor esi, esi
add ebx, dword [esp + 0x14]
mov dword [esp + 0x14], esi
cmp dword [edi + 4], esi
jle 0x10037f96
lea ecx, [edx*4]
mov dword [esp + 0x24], ecx
nop dword [eax + eax]
xor ecx, ecx
test edx, edx
jle 0x10037ef7
lea esi, [eax + 3]
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 4]
mov byte [ebx + ecx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x10037ee0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add eax, dword [esp + 0x24]
inc esi
add ebx, dword [esp + 0x68]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 4]
jl 0x10037ed0
jmp 0x10037f96
mov eax, dword [esp + 0x1c]
xor ebx, ebx
add ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x24], ecx
cmp dword [edi + 4], ebx
jle 0x10037f96
lea eax, [esi*4]
mov dword [esp + 0x68], eax
lea eax, [edx*4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
nop dword [eax]
xor esi, esi
test edx, edx
jle 0x10037f7c
mov ebx, eax
sub ebx, dword [esp + 0x24]
nop dword [eax]
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
cmp esi, edx
jl 0x10037f60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
add ecx, dword [esp + 0x68]
inc ebx
add eax, dword [esp + 0x6c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
cmp ebx, dword [edi + 4]
jl 0x10037f50
mov esi, dword [esp + 0x3c]
vmovss xmm2, dword [esp + 0x28]
vmovss xmm1, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
inc ecx
add dword [esp + 0x48], 0x20
add dword [esp + 0x40], 0x10
mov edx, dword [esp + 0x48]
cmp ecx, dword [eax + 0x34]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x40]
jl 0x10037d64
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x24], 0
add eax, 0x54
add ecx, 0x78
sub edx, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
jne 0x10037cd0
mov al, byte [esp + 0xf]
mov edi, dword [esp + 0x4c]
xor esi, esi
mov byte [ebx + 0x12], al
test edi, edi
jle 0x10038025
mov ebx, dword [esp + 0x20]
push dword [ebx + esi*4]
call fcn.10024470
inc esi
add esp, 4
cmp esi, edi
jl 0x10038011
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x50]
test edi, edi
jle 0x10038071
mov esi, dword [esp + 0x30]
add esi, 0x18
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10038044
push eax
call fcn.10024470
add esp, 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10038054
push eax
call fcn.10024470
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x10038069
push eax
call fcn.100ae640
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub edi, 1
jne 0x10038034
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1003808a
push esi
call fcn.10024470
add esp, 4
mov dword [esp + 0x30], 0
push ebx
call fcn.100320c0
mov eax, dword [esp + 0x48]
add esp, 4
mov byte [esp + 0xe], 1
test eax, eax
je 0x100380a9
push eax
call fcn.10024470
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100380ba
push eax
call fcn.10024470
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100380cb
push eax
call fcn.10024470
add esp, 4
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x100380dc
push ebx
call fcn.10024470
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100380ed
push eax
call fcn.10024470
add esp, 4
mov ecx, dword [esp + 0x1c4]
mov al, byte [esp + 0xe]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10104603
mov esp, ebp
pop ebp
ret