Function at 0x100d3b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edi
cmp dword [edi + 0x460], 0
jge 0x100d3bf6
test byte [edi], 2
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0xffffffff
lea ecx, [edi + 0x40]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
push eax
mov dword [esp + 0x74], 0x1b00d9
je 0x100d3be7
mov dword [esp + 0x74], 0x20002
call fcn.100bc940
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x460], eax
cmp dword [edi + 0x464], 0
jge 0x100d3c5f
test byte [edi], 4
jne 0x100d3c5f
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0xffffffff
push eax
lea ecx, [edi + 0x40]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x74], 0x400041
call fcn.100bc940
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x464], eax
mov ecx, edi
mov dword [edi + 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100b9a50
mov esi, dword [esp + 0x10]
xor edi, edi
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov byte [esp + 0x16], 0
mov dword [esp + 0x40], 0
mov ecx, dword [esi + 0x4c]
lea eax, [edi + 8]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], edx
test ecx, ecx
jle 0x100d3d01
cmp ecx, 8
mov eax, ecx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x100d3cff
mov ecx, dword [0x1024b4a8]
test ecx, ecx
je 0x100d3ce7
inc dword [ecx + 0x370]
imul eax, eax, 0x54
push eax
call edx
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x40], eax
mov eax, 8
jmp 0x100d3d01
mov eax, ecx
mov esi, dword [esi + 0x34]
mov dword [esp + 0x58], esi
test esi, esi
jle 0x100d3d39
cmp esi, 8
mov ecx, esi
cmovl ecx, eax
test ecx, ecx
jle 0x100d3d39
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d3d27
inc dword [eax + 0x370]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call edx
add esp, 4
mov dword [esp + 0x4c], eax
mov edi, eax
imul ecx, dword [esp + 0x54], 0x54
push ecx
push 0
push dword [esp + 0x48]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + esi*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x30], 0
mov dword [esp + 0x50], eax
cmp dword [edx + 0x4c], 0
jle 0x100d3e99
mov esi, dword [esp + 0x40]
xor ecx, ecx
add esi, 0x34
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], esi
nop
mov eax, dword [edx + 0x54]
xor edx, edx
add eax, ecx
mov dword [esi - 4], 0xffffffff
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
cmp dword [ecx + 0x34], edx
jle 0x100d3eee
mov edi, dword [esp + 0x20]
or esi, 0xffffffff
mov ecx, esi
cmp esi, 0xffffffff
jne 0x100d3de3
mov ecx, dword [esp + 0x10]
or esi, esi
mov eax, dword [eax + 0x7c]
mov ecx, dword [ecx + 0x3c]
cmp eax, dword [ecx + edx*4]
jne 0x100d3dd3
mov dword [edi - 4], edx
mov esi, edx
mov eax, dword [esp + 0x10]
inc edx
mov ecx, esi
cmp edx, dword [eax + 0x34]
mov eax, dword [esp + 0x34]
jl 0x100d3db6
mov edi, dword [esp + 0x4c]
cmp ecx, 0xffffffff
je 0x100d3eee
push dword [ebp + 8]
mov esi, dword [esp + 0x24]
push eax
push dword [esp + 0x24]
lea ecx, [esi - 0x34]
call fcn.100d3350
test al, al
je 0x100d3eee
mov ecx, dword [esp + 0x34]
mov edx, 0x10235960
mov eax, dword [ecx + 0x40]
shr eax, 8
and al, 1
or byte [esp + 0x16], al
mov eax, dword [esi - 4]
lea eax, [eax + eax*2]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x100d3e5b
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x100d3e5b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x100d3e40
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
inc dword [edi + edx*8]
mov ecx, dword [esi]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
inc eax
mov dword [edi + edx*8 + 4], ecx
add esi, 0x54
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
sub ecx, 0xffffff80
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x44], ecx
cmp eax, dword [edx + 0x4c]
jl 0x100d3d90
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x18], esi
test eax, eax
jle 0x100d422d
mov esi, dword [esp + 0x40]
add esi, 0x44
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
nop word [eax + eax]
mov eax, dword [esi - 0x14]
lea ecx, [eax + eax*2]
mov eax, dword [esi - 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi - 0x10]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jle 0x100d3f11
test eax, eax
je 0x100d3ef8
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi - 4]
jmp 0x100d3efd
mov byte [esp + 0x16], 0
jmp 0x100d4e91
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi - 8]
cmovg eax, edx
push eax
call fcn.100b4ba0
mov ecx, dword [esp + 0x1c]
lea eax, [esi - 8]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
push 0
push dword [esi]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x34]
add esp, 0xc
lea eax, [edx*8 + 0xc]
add eax, edi
mov dword [esp + 0x20], eax
cmp dword [eax], 0
jne 0x100d3fa9
mov ecx, dword [edi + edx*8 + 4]
mov edx, dword [eax + 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], edx
cmp ecx, edx
jle 0x100d3f8a
test edx, edx
je 0x100d3f6c
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0x1c]
jmp 0x100d3f71
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [esp + 0x20]
cmovg eax, edx
push eax
call fcn.100b4ba0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
mov eax, dword [esp + 0x24]
push 0
push dword [eax + 8]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esi - 0x18]
mov dword [esp + 0x20], eax
cmp word [eax], 0
je 0x100d407f
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x100d4077
movzx edi, word [eax]
cmp edi, ecx
ja 0x100d405e
mov eax, dword [esp + 0x4c]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x100d4049
mov eax, dword [esp + 0x38]
push edi
push dword [eax - 0x2c]
call fcn.1012d660
add esp, 8
test eax, eax
je 0x100d4049
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
inc dword [eax - 0xc]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [esp + 0x18]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x20]
inc edi
mov edx, dword [esp + 0x28]
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x100d3fd8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x20], eax
cmp word [eax], 0
jne 0x100d3fc0
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
add esi, 0x54
sub dword [esp + 0x34], 1
mov dword [esp + 0x38], esi
jne 0x100d3ec0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
add esi, 0x50
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], eax
mov edi, dword [esi - 0x18]
cmp edi, dword [esi - 4]
jle 0x100d4109
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d40bb
inc dword [eax + 0x370]
mov eax, edi
shl eax, 5
push eax
call dword [esp + 0x28]
mov edx, dword [esi]
add esp, 4
mov dword [esp + 0x1c], eax
test edx, edx
je 0x100d4104
mov ecx, dword [esi - 8]
shl ecx, 5
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
je 0x100d40f8
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d40f8
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x54]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [esi], eax
mov dword [esi - 4], edi
mov ecx, dword [esi - 0xc]
mov edx, ecx
mov eax, dword [esi - 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x6c], eax
cmp ecx, eax
jae 0x100d41de
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100d41cd
xor edi, edi
nop dword [eax + eax]
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x1c], eax
je 0x100d41c3
mov ecx, dword [esi - 8]
mov eax, edx
sub eax, dword [esp + 0x48]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movaps xmmword [esp + 0x80], xmm0
add eax, edi
movzx eax, ax
mov dword [esp + 0x88], eax
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x100d41a5
inc ecx
test eax, eax
je 0x100d418b
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi - 4]
jmp 0x100d4190
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi - 8]
call fcn.100d4fd0
mov edx, dword [esp + 0x34]
xorps xmm0, xmm0
mov eax, dword [esi - 8]
shl eax, 5
add eax, dword [esi]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x10], xmm0
inc dword [esi - 8]
mov esi, dword [esp + 0x30]
inc edi
cmp edi, 0x20
jb 0x100d4140
add edx, 4
mov dword [esp + 0x34], edx
cmp edx, dword [esp + 0x6c]
jb 0x100d4128
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x100d4211
mov eax, dword [0x1024b4a8]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x100d4202
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x54]
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0x54
sub dword [esp + 0x44], 1
mov dword [esp + 0x30], esi
jne 0x100d40a4
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
jmp 0x100d4233
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x58], 0
jle 0x100d4297
mov esi, dword [esp + 0x50]
lea eax, [edi + 0x14]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x34], eax
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x100d4283
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4273
dec dword [eax + 0x370]
push ecx
call esi
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [esp + 0x34], eax
sub edi, 1
jne 0x100d4250
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x100d42ba
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d42aa
dec dword [eax + 0x370]
push edi
call dword [esp + 0x54]
add esp, 4
mov dword [esp + 0x4c], 0
xor ecx, ecx
mov dword [esp + 0x34], ecx
test esi, esi
jle 0x100d42fa
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x100d42fa
mov ecx, dword [0x1024b4a8]
test ecx, ecx
je 0x100d42e5
inc dword [ecx + 0x370]
mov edi, dword [esp + 0x24]
shl eax, 4
push eax
call edi
mov ecx, eax
add esp, 4
mov dword [esp + 0x34], ecx
jmp 0x100d42fe
mov edi, dword [esp + 0x24]
shl esi, 4
push esi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x38], eax
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4322
inc dword [eax + 0x370]
push 0x40000
call edi
mov ecx, dword [0x1024b4a8]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x100d433e
inc dword [ecx + 0x370]
push 0x20
call edi
movss xmm0, dword [0x10240668]
xor ecx, ecx
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0xb0], eax
add esp, 4
mov dword [eax], esi
mov eax, 1
mov dword [esp + 0x68], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa8], 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x60], edi
test eax, eax
jle 0x100d4687
mov esi, dword [esp + 0x40]
xor edx, edx
add esi, 0x48
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], esi
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi - 0x10]
test edx, edx
je 0x100d465a
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [esp + 0x34]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [esp + 0x60], edi
movss dword [esp + 0x1c], xmm1
lahf
test ah, 0x44
jnp 0x100d442b
mov byte [esp + 0x17], 1
xor edi, edi
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10240be0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1018c740
movss xmm1, dword [esp + 0x1c]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + edi + 0xe0], dl
inc edi
cmp edi, 0x100
jb 0x100d43e3
jmp 0x100d4430
mov byte [esp + 0x17], 0
cmp dword [esi], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], eax
jle 0x100d4656
xor ecx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x58], ecx
nop word [eax + eax]
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.1012d660
add esp, 8
test eax, eax
je 0x100d4635
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.1012e010
add esp, 0xc
test eax, eax
jne 0x100d4635
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x30], eax
je 0x100d44af
push eax
call fcn.10134e70
mov eax, dword [esp + 0x34]
add esp, 4
test byte [esi - 0x2c], 0x40
je 0x100d44be
push eax
call fcn.10134f70
add esp, 4
mov eax, dword [esp + 0x30]
add eax, 0x18
je 0x100d4635
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [esp + 0x24], eax
call fcn.101302e0
add esp, 8
test eax, eax
jne 0x100d4635
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
add eax, 0x4c
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov dword [edi + 4], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0x38]
sar eax, 6
movd xmm0, eax
mov eax, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [eax + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [esp + 0x28]
imul eax, ecx
shl eax, 2
mov dword [esp + 0x28], eax
add eax, edx
cmp eax, 0x40000
jle 0x100d45bb
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d457e
inc dword [eax + 0x370]
push 0x40000
call dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xa4]
push eax
call fcn.100b4c20
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ecx
jmp 0x100d45c3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [esp + 0xe0]
add ecx, edx
add edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
xor edx, edx
cmp byte [esp + 0x17], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [esp + 0x3c]
call fcn.100d3530
mov eax, dword [esp + 0x48]
movzx ecx, word [edi]
movzx edx, ax
mov eax, dword [esi - 0x20]
add cx, dx
mov esi, dword [esp + 0x18]
mov word [esi + eax + 4], cx
mov esi, dword [esp + 0x64]
movzx ecx, word [edi + 4]
add cx, dx
mov edx, dword [esp + 0x18]
mov eax, dword [esi - 0x20]
mov word [edx + eax + 6], cx
mov eax, dword [esi - 0x20]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
imul ecx, eax
add dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
inc eax
add dword [esp + 0x18], 0x10
add ecx, 0x20
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], ecx
cmp eax, dword [esi]
jl 0x100d4460
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
add esi, 0x54
movss xmm0, dword [0x10240668]
sub edx, 0xffffff80
sub dword [esp + 0x3c], 1
mov edi, dword [esp + 0x60]
mov dword [esp + 0x64], esi
mov dword [esp + 0x5c], edx
jne 0x100d43a6
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 8]
mov dword [edx + 0x20], 0
test edi, edi
jg 0x100d46e4
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x102408d0]
jb 0x100d46c0
mov edi, 0x1000
jmp 0x100d46e4
comiss xmm0, dword [0x102408cc]
jb 0x100d46d0
mov edi, 0x800
jmp 0x100d46e4
comiss xmm0, dword [0x102408c0]
mov edi, 0x200
mov eax, 0x400
cmovae edi, eax
mov dword [edx + 0x1c], edi
xor ecx, ecx
sub edi, dword [edx + 0xc]
mov dword [esp + 0x1c], ecx
test edi, edi
jle 0x100d472a
cmp edi, 8
mov eax, edi
mov esi, 8
cmovl eax, esi
test eax, eax
jle 0x100d472a
mov ecx, dword [0x1024b4a8]
test ecx, ecx
je 0x100d4715
inc dword [ecx + 0x370]
shl eax, 3
push eax
call dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
mov esi, dword [edx + 0xc]
mov edx, dword [edx + 0x1c]
push edi
push ecx
mov ecx, 0x8000
sub edx, esi
sub ecx, esi
push ecx
lea ecx, [esp + 0xbc]
call fcn.100d3a00
mov ecx, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x40]
mov dword [esp + 0x48], edi
test edi, edi
jle 0x100d478f
cmp edi, 8
mov ecx, edi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x100d478f
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4780
inc dword [eax + 0x370]
shl ecx, 4
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, edi
shl ecx, 4
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x1c]
xor esi, esi
add esp, 0xc
cmp dword [eax + 0x40], esi
jle 0x100d47de
mov edx, dword [esp + 0x18]
xor ecx, ecx
add edx, 6
mov edi, eax
mov eax, dword [edi + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x1c]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x48]
movzx eax, word [ecx + eax - 0x1a]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x100d47b6
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xb0]
push edi
call fcn.100b5910
add esp, 4
test edi, edi
jle 0x100d4847
mov edx, dword [esp + 0x18]
xor esi, esi
add edx, 0xa
nop
cmp dword [edx + 2], 0
je 0x100d483c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x48]
movzx eax, word [edx - 2]
mov word [esi + ecx + 4], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x48]
movzx eax, word [edx]
mov word [esi + ecx + 6], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub edi, 1
jne 0x100d4800
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100d4867
mov ecx, dword [0x1024b4a8]
test ecx, ecx
je 0x100d485f
dec dword [ecx + 0x370]
push eax
call dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x100d48d7
mov esi, dword [esp + 0x40]
add esi, 0x38
mov dword [esp + 0x60], eax
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x100d48cd
mov edx, dword [esi - 0x10]
lea ecx, [esp + 0xb0]
push eax
call fcn.100b5910
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100d48cd
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x100d48c5
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x100d48a1
add esi, 0x54
sub dword [esp + 0x60], 1
jne 0x100d4880
mov edi, dword [esp + 0x10]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x100d4908
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
mov esi, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x10240668]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, esi
cvtdq2ps xmm0, xmm0
imul esi, eax
cmp byte [esp + 0x16], 0
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x1024b4a8]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
je 0x100d4960
shl esi, 2
test eax, eax
je 0x100d4956
inc dword [eax + 0x370]
push esi
call dword [esp + 0x28]
mov dword [edi + 0x18], eax
jmp 0x100d4972
test eax, eax
je 0x100d496a
inc dword [eax + 0x370]
push esi
call dword [esp + 0x28]
mov dword [edi + 0x14], eax
add esp, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x60]
xor al, al
add esp, 0xc
mov byte [esp + 0x17], al
test ecx, ecx
jle 0x100d4d4b
mov eax, dword [esp + 0x40]
xor esi, esi
add eax, 8
mov dword [esp + 0x6c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
nop dword [eax + eax]
cmp dword [eax + 0x30], 0
je 0x100d4d28
mov ecx, dword [esp + 0x10]
movss xmm0, dword [eax - 4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax]
mov edx, dword [ecx + 0x54]
add edx, esi
movss dword [esp + 0x5c], xmm0
mov dword [esp + 0x60], edx
cmp byte [edx + 0x3c], 0
mov edi, dword [edx + 0x7c]
mov dword [esp + 0x38], edi
jne 0x100d4a24
mov ecx, edi
call fcn.100ba980
mov edx, dword [esp + 0x60]
mov ecx, edi
movss xmm0, dword [esp + 0x3c]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, edi
xor ecx, ecx
movss dword [edi + 0x48], xmm0
movss xmm0, dword [esp + 0x5c]
mov word [edi + 0x38], cx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], ecx
movss dword [eax + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
addss xmm0, dword [0x10240604]
inc word [edi + 0x38]
movss xmm1, dword [edx + 0x28]
movss dword [esp + 0x24], xmm1
mov dword [esp + 0x64], 0
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x30], 0
addss xmm0, dword [edx + 0x2c]
movss dword [esp + 0x28], xmm0
jle 0x100d4d19
xor edx, edx
xor esi, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], esi
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, esi
add eax, edx
cmp word [eax + 4], 0
jne 0x100d4a9e
cmp word [eax + 6], 0
je 0x100d4cf1
movd xmm4, dword [edi + 0xc]
sub esp, 0x20
movd xmm3, dword [edi + 8]
movzx esi, word [eax + 8]
add esi, dword [esp + 0xbc]
movzx eax, word [eax + 0xa]
add eax, dword [esp + 0xbc]
cvtdq2ps xmm4, xmm4
mov edx, dword [edi + 4]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
add eax, edx
cvtdq2ps xmm3, xmm3
addss xmm4, xmm0
movd xmm0, dword [ecx + 0x20]
cvtdq2ps xmm0, xmm0
mov ecx, dword [edi]
addss xmm3, xmm1
movss xmm1, dword [0x10240668]
movaps xmm2, xmm1
divss xmm2, xmm0
movd xmm0, dword [esi + 0x1c]
cvtdq2ps xmm0, xmm0
mov esi, dword [esp + 0x4c]
divss xmm1, xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
lea eax, [esi + ecx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x18], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [edi + 0x18]
mulss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movd xmm0, dword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x10], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, dword [esp + 0x58]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [esp + 8], xmm0
movd xmm0, ecx
mov ecx, esi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
push eax
push dword [esp + 0x84]
call fcn.100bafd0
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x100d4bb4
or dword [ecx + eax*8 - 0x28], 1
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x10]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [esp + 0x18], esi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x5c], eax
imul eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
test ecx, ecx
je 0x100d4c52
add eax, ecx
add eax, dword [esp + 0x2c]
cmp dword [edi + 4], 0
mov dword [esp + 0x2c], eax
jle 0x100d4ce1
lea ecx, [edx*4]
mov dword [esp + 0x98], ecx
nop
xor ecx, ecx
test edx, edx
jle 0x100d4c2c
add esi, 3
nop dword [eax]
mov edx, dword [esp + 0x2c]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x100d4c10
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x5c]
inc ecx
add esi, dword [esp + 0x98]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], esi
cmp ecx, dword [edi + 4]
jl 0x100d4c00
jmp 0x100d4ce1
mov ecx, dword [esp + 0x2c]
add ecx, eax
cmp dword [edi + 4], 0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x2c], ecx
jle 0x100d4ce1
mov eax, dword [esp + 0x5c]
shl eax, 2
mov dword [esp + 0x5c], eax
lea eax, [edx*4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x18]
nop dword [eax]
xor esi, esi
test edx, edx
jle 0x100d4cc0
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov eax, dword [eax + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [esp + 0x98]
cmp esi, edx
jl 0x100d4ca1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
add ecx, dword [esp + 0x5c]
inc esi
add eax, dword [esp + 0xa0]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
cmp esi, dword [edi + 4]
jl 0x100d4c90
mov ecx, dword [esp + 0x10]
movss xmm1, dword [esp + 0x24]
movss xmm0, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
inc edx
add dword [esp + 0x44], 0x20
add dword [esp + 0x58], 0x10
mov esi, dword [esp + 0x44]
cmp edx, dword [eax + 0x30]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x58]
jl 0x100d4a82
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x20], 0
add eax, 0x54
sub esi, 0xffffff80
sub ecx, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x48], ecx
jne 0x100d49b0
mov edi, dword [esp + 0x10]
mov al, byte [esp + 0x17]
xor esi, esi
mov byte [edi + 0x12], al
cmp dword [esp + 0x68], esi
jle 0x100d4d89
mov edi, dword [esp + 0x20]
nop word [eax + eax]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x100d4d76
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4d76
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x54]
inc esi
add esp, 4
cmp esi, dword [esp + 0x68]
jl 0x100d4d60
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x100d4dfb
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x50]
add esi, 0x18
nop dword [eax]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100d4dbc
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4db6
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x100d4dd8
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4dd2
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x100d4ded
push eax
call fcn.1012d1d0
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [esp + 0x54], 1
jne 0x100d4da0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x100d4e26
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4e12
dec dword [eax + 0x370]
mov esi, dword [esp + 0x50]
push ecx
call esi
add esp, 4
mov dword [esp + 0x40], 0
jmp 0x100d4e2a
mov esi, dword [esp + 0x50]
mov ecx, edi
call fcn.100ba610
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x16], 1
test ecx, ecx
je 0x100d4e53
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4e4d
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100d4e70
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4e6a
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100d4e8d
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4e87
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x100d4eb0
mov eax, dword [0x1024b4a8]
test eax, eax
je 0x100d4ea4
dec dword [eax + 0x370]
mov esi, dword [esp + 0x50]
push edi
call esi
add esp, 4
jmp 0x100d4eb4
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100d4ed2
mov ecx, dword [0x1024b4a8]
test ecx, ecx
je 0x100d4ecc
dec dword [ecx + 0x370]
push eax
call esi
add esp, 4
mov al, byte [esp + 0x16]
pop edi
pop esi
mov esp, ebp
pop ebp
ret