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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b0
mov eax, dword [0x1003a040]
xor eax, esp
mov dword [esp + 0x1ac], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x54], esi
cmp dword [esi + 0x58], 0
jge 0x1001c5e2
test byte [esi + 4], 2
lea eax, [esp + 0x64]
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esi + 0x40]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x64], 0x80000000
push eax
mov dword [esp + 0x6c], 0x1b00d9
je 0x1001c5d6
mov dword [esp + 0x6c], 0x20002
call fcn.1001f320
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x58], eax
mov ecx, dword [esi + 0x14]
mov edx, dword [0x1003223c]
mov dword [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x1001c63d
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001c633
dec dword [eax + 0x370]
push ecx
call edx
mov edx, dword [esp + 0x38]
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1001c659
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001c653
dec dword [eax + 0x370]
push ecx
call edx
add esp, 4
mov ecx, dword [esi + 0x4c]
xor edi, edi
mov edx, dword [0x10032234]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], edx
test ecx, ecx
jle 0x1001c6bf
cmp ecx, 8
mov eax, ecx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x1001c6bf
mov ecx, dword [0x1003a830]
test ecx, ecx
je 0x1001c6ab
inc dword [ecx + 0x370]
imul eax, eax, 0xc4
push eax
call edx
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x1001c6fc
cmp eax, 8
mov ecx, eax
mov eax, 8
cmovl ecx, eax
test ecx, ecx
jle 0x1001c6fc
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001c6ea
inc dword [eax + 0x370]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call edx
add esp, 4
mov dword [esp + 0x38], eax
mov edi, eax
imul ecx, dword [esp + 0x4c], 0xc4
push ecx
push 0
push dword [esp + 0x44]
call fcn.1003162e
mov eax, dword [esp + 0x4c]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call fcn.1003162e
add esp, 0xc
mov dword [esp + 0x30], 0
cmp dword [esi + 0x4c], 0
jle 0x1001c86b
mov eax, dword [esp + 0x3c]
xor edx, edx
add eax, 0xa4
mov dword [esp + 0x2c], edx
mov dword [esp + 8], eax
nop
mov ecx, dword [esi + 0x54]
add ecx, edx
mov dword [eax - 4], 0xffffffff
xor edx, edx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x34], edx
jle 0x1001cb2c
mov edi, dword [esp + 8]
or eax, 0xffffffff
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1001c79a
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x3c]
mov eax, dword [eax + 0x70]
cmp eax, dword [ecx + edx*4]
jne 0x1001c78f
mov dword [edi - 4], edx
mov eax, edx
jmp 0x1001c792
or eax, 0xffffffff
inc edx
mov ecx, eax
cmp edx, dword [esi + 0x34]
jl 0x1001c772
mov edi, dword [esp + 0x38]
cmp ecx, 0xffffffff
je 0x1001cb2c
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [eax + 0xc]
call fcn.10013300
mov ecx, dword [esp + 8]
mov edx, esi
add ecx, 0xffffff5c
push eax
mov dword [esp + 0x54], ecx
call fcn.100135b0
add esp, 4
test eax, eax
je 0x1001cb2c
mov eax, dword [esp + 0x50]
mov edx, 0x10036680
mov esi, dword [esp + 8]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1001c826
movzx eax, word [edx + 2]
test ax, ax
je 0x1001c822
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1001c807
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [esp + 0x30]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add esi, 0xc4
mov dword [esp + 8], esi
inc eax
mov esi, dword [esp + 0x54]
mov dword [edi + edx*8 + 4], ecx
mov edx, dword [esp + 0x2c]
add edx, 0x74
mov dword [esp + 0x30], eax
cmp eax, dword [esi + 0x4c]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], edx
jl 0x1001c750
mov eax, dword [esp + 0x4c]
xor esi, esi
mov dword [esp + 8], esi
test eax, eax
jle 0x1001cb36
mov edx, dword [esp + 0x3c]
add edx, 0xa8
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], edx
nop
mov eax, dword [edx - 8]
lea esi, [edx + 4]
mov ecx, esi
lea edi, [eax + eax*2]
mov eax, dword [edx - 4]
add eax, 0x20
mov dword [esp + 0x10], edi
sar eax, 5
push eax
call fcn.10012200
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
shl eax, 2
push eax
push 0
push dword [ecx + 0xc]
call fcn.1003162e
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp dword [eax + edi*8 + 0xc], 0
lea esi, [eax + edi*8]
jne 0x1001c8fa
mov eax, dword [eax + edi*8 + 4]
lea ecx, [esi + 0xc]
add eax, 0x20
sar eax, 5
push eax
call fcn.10012200
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0
push dword [esi + 0x14]
call fcn.1003162e
add esp, 0xc
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 0xc]
mov dword [esp + 0x18], eax
cmp word [eax], 0
je 0x1001c9c0
nop
movzx ecx, word [eax + 2]
test cx, cx
je 0x1001c9c0
movzx edi, word [eax]
cmp edi, ecx
ja 0x1001c9ab
nop dword [eax + eax]
mov eax, dword [esp + 0x10]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [esp + 0x38]
sar esi, 5
mov dword [esp + 0x50], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x1001c99a
mov ecx, dword [esp + 0xc]
mov edx, edi
add ecx, 0xffffff58
call fcn.10013aa0
mov edx, dword [esp + 0xc]
test eax, eax
je 0x1001c99e
inc dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
or dword [eax + esi*4], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1001c930
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x18], eax
cmp word [eax], 0
jne 0x1001c910
add edx, 0xc4
sub dword [esp + 0x24], 1
mov dword [esp + 0xc], edx
jne 0x1001c890
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
add ecx, 0xc0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], eax
nop dword [eax + eax]
mov esi, dword [ecx - 0x18]
cmp esi, dword [ecx - 4]
jle 0x1001ca5d
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001ca07
inc dword [eax + 0x370]
lea eax, [esi*4]
push eax
call dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add esp, 4
mov edi, eax
mov edx, dword [ecx]
test edx, edx
je 0x1001ca58
mov ecx, dword [ecx - 8]
shl ecx, 2
push ecx
push edx
push edi
call fcn.10031640
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x1001ca4c
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001ca4c
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], edi
mov dword [ecx - 4], esi
mov esi, dword [ecx - 0xc]
mov eax, dword [ecx - 0x14]
mov dword [esp + 0x24], esi
lea eax, [esi + eax*4]
mov dword [esp + 0x20], eax
cmp esi, eax
jae 0x1001cad6
xor edx, edx
mov dword [esp + 0x30], edx
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1001cac2
xor edi, edi
mov esi, 1
nop dword [eax]
test esi, eax
je 0x1001cab6
and edx, 0xffffffe0
lea eax, [esp + 0x50]
add edx, edi
add ecx, 0xfffffff8
push eax
mov dword [esp + 0x54], edx
call fcn.10012380
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
inc edi
rol esi, 1
cmp edi, 0x20
jl 0x1001ca90
mov esi, dword [esp + 0x24]
add esi, 4
add edx, 0x20
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], edx
cmp esi, dword [esp + 0x20]
jb 0x1001ca78
mov edx, dword [ecx - 0xc]
test edx, edx
je 0x1001cb0d
mov eax, dword [0x1003a830]
mov dword [ecx - 0x10], 0
mov dword [ecx - 0x14], 0
test eax, eax
je 0x1001cafa
dec dword [eax + 0x370]
push edx
call dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx - 0xc], 0
add ecx, 0xc4
sub dword [esp + 0x2c], 1
mov dword [esp + 0xc], ecx
jne 0x1001c9f0
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 8]
jmp 0x1001cb3c
mov byte [esp + 0x2b], 0
jmp 0x1001da26
xor esi, esi
mov dword [esp + 8], esi
cmp dword [esp + 0x40], 0
jle 0x1001cb99
mov esi, dword [esp + 0x34]
lea eax, [edi + 0x14]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1001cb85
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001cb75
dec dword [eax + 0x370]
push ecx
call esi
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [esp + 0x24], eax
sub edi, 1
jne 0x1001cb52
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 8]
test edi, edi
je 0x1001cbbc
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001cbac
dec dword [eax + 0x370]
push edi
call dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x38], 0
xor edi, edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], edi
test esi, esi
jle 0x1001cc37
cmp esi, 8
mov eax, esi
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x1001cc3b
mov ecx, dword [0x1003a830]
test ecx, ecx
je 0x1001cbef
inc dword [ecx + 0x370]
mov edi, dword [esp + 0x14]
shl eax, 4
push eax
call edi
mov edx, dword [0x1003a830]
add esp, 4
cmp esi, 8
mov dword [esp + 0xc], eax
mov ecx, esi
mov eax, 8
cmovl ecx, eax
test edx, edx
je 0x1001cc1d
inc dword [edx + 0x370]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call edi
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
jmp 0x1001cc3b
mov dword [esp + 0xc], edi
mov eax, esi
shl eax, 4
push eax
push 0
push dword [esp + 0x14]
call fcn.1003162e
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push edi
call fcn.1003162e
mov edx, dword [esp + 0x58]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
add esp, 0xc
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ecx
test edx, edx
jle 0x1001cecc
mov esi, dword [esp + 0x3c]
xor edi, edi
add esi, 0x98
mov dword [esp + 0x44], edi
mov dword [esp + 8], esi
mov dword [esp + 0x1c], edx
nop dword [eax + eax]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x1001ceb0
mov eax, dword [esp + 0x40]
add dword [esp + 0x40], edx
add dword [esp + 0x18], edx
shl eax, 4
add eax, dword [esp + 0xc]
mov dword [esi - 4], eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x54]
mov dword [esi], ecx
mov edx, dword [eax + 0x54]
mov eax, dword [edx + edi + 0x10]
add edx, edi
mov dword [esi - 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [esi - 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esi - 0x18], 0
mov dword [esi - 0x10], eax
mov dword [esi - 0xc], ecx
mov al, byte [edx + 0x14]
mov byte [esi - 8], al
mov al, byte [edx + 0x18]
mov byte [esi - 7], al
movss xmm1, dword [edx + 0x10]
comiss xmm1, dword [0x10036b6c]
mov dword [esp + 0x30], edx
jbe 0x1001cd6f
mov edi, dword [esi - 0x94]
mov eax, pe_nt_image_headers32
mov edx, dword [esi - 0x7c]
cwde
movzx ecx, byte [edx + edi + 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + edi + 5]
movzx edx, byte [edx + edi + 7]
add cx, ax
movsx esi, cx
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0x7c]
movzx ecx, byte [eax + edi + 6]
mov eax, pe_nt_image_headers32
mov edi, dword [esp + 0x44]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub esi, eax
movd xmm0, esi
mov esi, dword [esp + 8]
jmp 0x1001cd95
mov edx, dword [esi - 0x84]
mov eax, dword [esi - 0x94]
xorps xmm1, xmmword [0x100370d0]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x10]
divss xmm1, xmm0
movss dword [esp + 0x20], xmm1
cmp dword [esi + 0x20], ecx
jle 0x1001cea8
movzx eax, dx
xor edi, edi
mov dword [esp + 0x50], eax
mov dword [esp + 8], eax
nop word [eax + eax]
mov edx, dword [esi + 0x28]
mov edx, dword [edx + ecx*4]
lea ecx, [esi - 0x98]
call fcn.10013aa0
lea ecx, [esp + 0x48]
mov edx, eax
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x40]
sub esp, 8
movd xmm3, dword [ecx + 0x18]
movd xmm2, dword [ecx + 0x14]
lea ecx, [esi - 0x98]
cvtdq2ps xmm3, xmm3
mov dword [esp + 4], 0
mov dword [esp], 0
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm1
mulss xmm2, xmm1
call fcn.10016040
mov ecx, dword [esp + 0x68]
lea edi, [edi + 0x10]
sub ecx, dword [esp + 0x78]
add esp, 0x18
mov edx, dword [esp + 0x30]
dec cx
mov eax, dword [esi - 4]
movss xmm1, dword [esp + 0x20]
add cx, word [edx + 0x14]
add cx, word [esp + 0x5c]
mov word [eax + edi - 0xc], cx
mov ecx, dword [esp + 8]
sub ecx, dword [esp + 0x58]
mov eax, dword [esi - 4]
dec cx
add cx, word [edx + 0x18]
add cx, word [esp + 0x48]
mov word [eax + edi - 0xa], cx
mov eax, dword [esi - 4]
movzx ecx, word [eax + edi - 0xa]
movzx eax, word [eax + edi - 0xc]
imul ecx, eax
mov eax, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi + 0x20]
jl 0x1001cdd0
mov edi, dword [esp + 0x44]
jmp 0x1001ceac
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esi, 0xc4
add edi, 0x74
sub dword [esp + 0x1c], 1
mov dword [esp + 8], esi
mov dword [esp + 0x44], edi
jne 0x1001cca0
mov edi, dword [esp + 0x54]
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x20], 0
test ecx, ecx
jg 0x1001cf40
movd xmm0, eax
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1001cef7
sqrtsd xmm0, xmm0
jmp 0x1001cefc
call fcn.10031870
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10036c90]
jb 0x1001cf1c
mov ecx, 0x1000
jmp 0x1001cf40
comiss xmm0, dword [str.zD33]
jb 0x1001cf2c
mov ecx, 0x800
jmp 0x1001cf40
comiss xmm0, dword [0x10036c80]
mov ecx, 0x200
mov eax, 0x400
cmovae ecx, eax
push 0x2c
lea eax, [esp + 0x68]
mov dword [edi + 0x1c], ecx
push 0
push eax
call fcn.1003162e
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001cf71
inc dword [eax + 0x370]
push 0x30
call dword [esp + 0x18]
mov ecx, dword [0x1003a830]
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 4
sub eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x1001cf9c
inc dword [ecx + 0x370]
shl eax, 3
push eax
call dword [esp + 0x18]
add esp, 4
test esi, esi
je 0x1001d01e
test eax, eax
je 0x1001d00c
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x48]
push edx
push eax
mov dword [esp + 0x94], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0x80], ecx
push eax
mov ecx, esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov dword [esp + 0x88], 0
call fcn.100126c0
add esp, 0xc
jmp 0x1001d042
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001d01b
dec dword [eax + 0x370]
push esi
jmp 0x1001d033
test eax, eax
je 0x1001d03a
mov ecx, dword [0x1003a830]
test ecx, ecx
je 0x1001d032
dec dword [ecx + 0x370]
push eax
call dword [esp + 0x38]
add esp, 4
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov esi, dword [edi + 0x40]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
test esi, esi
jle 0x1001d082
cmp esi, 8
mov ecx, esi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x1001d082
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001d073
inc dword [eax + 0x370]
shl ecx, 4
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, esi
shl ecx, 4
push ecx
push 0
push eax
call fcn.1003162e
add esp, 0xc
cmp dword [edi + 0x40], 0
jle 0x1001d0cc
mov edx, dword [esp + 0x18]
xor ecx, ecx
add edx, 6
xor esi, esi
mov eax, dword [edi + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x18]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x48]
movzx eax, word [ecx + eax - 0x16]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x1001d0a4
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 8]
push esi
call fcn.10012b60
add esp, 4
test esi, esi
jle 0x1001d133
mov edx, dword [esp + 0x18]
xor esi, esi
mov eax, dword [esp + 0x10]
add edx, 0xa
nop
cmp dword [edx + 2], 0
je 0x1001d124
mov ecx, dword [edi + 0x48]
movzx eax, word [edx - 2]
mov word [esi + ecx + 8], ax
mov ecx, dword [edi + 0x48]
movzx eax, word [edx]
mov word [esi + ecx + 0xa], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [esp + 0x10]
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub eax, 1
mov dword [esp + 0x10], eax
jne 0x1001d0f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001d153
mov ecx, dword [0x1003a830]
test ecx, ecx
je 0x1001d14b
dec dword [ecx + 0x370]
push eax
call dword [esp + 0x38]
add esp, 4
mov esi, dword [esp + 0x4c]
test esi, esi
jle 0x1001d1d3
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
add esi, 0xa8
mov dword [esp + 0x20], eax
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x1001d1c2
mov edx, dword [esi - 0x14]
mov ecx, dword [esp + 8]
push eax
call fcn.10012b60
xor ecx, ecx
add esp, 4
mov dword [esp + 0x1c], ecx
cmp dword [esi], ecx
jle 0x1001d1c2
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x1001d1b6
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x1c]
inc ecx
add edx, 0x10
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esi]
jl 0x1001d192
add esi, 0xc4
sub dword [esp + 0x20], 1
jne 0x1001d170
mov esi, dword [esp + 0x4c]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x1001d201
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 ecx, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x10036bdc]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x1003a830]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x1001d245
inc dword [eax + 0x370]
push ecx
call dword [esp + 0x18]
mov ecx, dword [edi + 0x20]
add esp, 4
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call fcn.1003162e
mov eax, dword [edi + 0x14]
add esp, 0xc
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x70], eax
test esi, esi
jle 0x1001d410
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x30], eax
mov edx, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], esi
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x1001d3ec
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.10019470
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x10036bdc]
movss dword [esp + 0x48], xmm1
lahf
test ah, 0x44
jnp 0x1001d3d6
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100370a0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10031780
movss xmm1, dword [esp + 0x48]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0xb0], dl
inc esi
cmp esi, 0x100
jb 0x1001d2e0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x44], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x1001d3da
lea ecx, [edx + 4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
nop dword [eax]
cmp dword [ecx + 8], 0
je 0x1001d3be
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
imul edx, eax
mov dword [esp + 0x1c], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x1001d3b2
mov eax, dword [esp + 0x1c]
nop dword [eax]
xor ecx, ecx
test esi, esi
je 0x1001d3a7
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [esp + eax + 0xb0]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x1001d390
mov eax, dword [esp + 0x1c]
dec edi
add edx, eax
test edi, edi
jg 0x1001d380
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
inc eax
add ecx, 0x10
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], ecx
cmp eax, dword [edx + 0xa8]
jl 0x1001d350
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0x94], 0
add eax, 0x74
add ecx, 0xc4
sub edx, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
jne 0x1001d290
mov esi, dword [esp + 0x68]
jmp 0x1001d414
mov esi, dword [esp + 8]
cmp dword [esp + 0x8c], 0
je 0x1001d42d
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001d42d
dec dword [eax + 0x370]
push dword [esp + 0x8c]
call dword [esp + 0x38]
add esp, 4
test esi, esi
je 0x1001d44e
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001d44e
dec dword [eax + 0x370]
push esi
mov esi, dword [esp + 0x38]
call esi
mov ecx, dword [esp + 0x10]
add esp, 4
test ecx, ecx
je 0x1001d47d
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001d46f
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x1001d9dc
mov ecx, dword [esp + 0x3c]
xor edx, edx
movss xmm3, dword [0x10036bb0]
add ecx, 4
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
nop word [eax + eax]
cmp dword [ecx + 0xa4], 0
je 0x1001d960
mov esi, dword [ecx + 0x18]
mov eax, dword [edi + 0x54]
add eax, edx
mov edx, dword [ecx]
mov dword [esp + 0x50], eax
mov eax, dword [eax + 0x70]
movzx ecx, byte [esi + edx + 6]
mov dword [esp + 0x18], eax
mov eax, pe_nt_image_headers32
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 7]
add cx, ax
movsx eax, cx
movzx ecx, byte [esi + edx + 4]
mov dword [esp + 0x1c], eax
mov eax, pe_nt_image_headers32
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx + 5]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
add cx, ax
movss xmm1, dword [esi + 0x10]
movsx eax, cx
lea ecx, [edx + 0x38]
mov dword [esp + 0x48], eax
sub eax, dword [esp + 0x1c]
cmp byte [esi + 0x3c], 0
mov dword [esp + 0x44], ecx
movd xmm0, eax
lea eax, [edx + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], eax
lea eax, [edx + 0x48]
mov dword [esp + 0x5c], eax
divss xmm1, xmm0
movss dword [esp + 0x58], xmm1
jne 0x1001d631
mov ecx, edx
call fcn.1001de40
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov edx, dword [esp + 0x18]
xorps xmm5, xmm5
movd xmm0, ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x10]
movd xmm1, ecx
mov dword [eax], esi
mov eax, dword [esp + 0x44]
mov dword [eax], edi
xor eax, eax
movd xmm3, eax
mov eax, dword [esp + 0x48]
punpckldq xmm1, xmm3
mov dword [esp + 0x48], 0
movd xmm3, dword [esp + 0x48]
movd xmm2, eax
punpckldq xmm2, xmm0
movd xmm0, ecx
xor ecx, ecx
cvtdq2ps xmm0, xmm0
punpckldq xmm2, xmm1
comiss xmm0, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
seta cl
xor eax, eax
cvtdq2ps xmm4, xmm2
lea ecx, [ecx*2 - 1]
movss xmm2, dword [esp + 0x58]
comiss xmm0, xmm5
mov dword [esp + 0x58], 0
movd xmm0, dword [esp + 0x58]
movaps xmm1, xmm2
unpcklps xmm2, xmm1
seta al
mulps xmm4, xmm2
movd xmm1, ecx
punpckldq xmm1, xmm3
lea eax, [eax*2 - 1]
movss xmm3, dword [0x10036bb0]
movd xmm2, eax
mov eax, dword [esp + 0x5c]
punpckldq xmm2, xmm0
punpckldq xmm2, xmm1
cvtdq2ps xmm0, xmm2
addps xmm4, xmm0
cvttps2dq xmm0, xmm4
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm0
shufps xmm0, xmm0, 0x55
movss dword [edx + 0x4c], xmm0
jmp 0x1001d641
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x44], ecx
movss xmm0, dword [eax]
inc word [edx + 0x40]
addss xmm0, xmm3
mov ecx, dword [esp + 0x14]
movss xmm2, dword [esi + 0x28]
movss dword [esp + 0xac], xmm2
mov dword [esp + 0x40], 0
cmp dword [ecx + 0xa4], 0
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x2c]
movss dword [esp + 0x90], xmm0
jle 0x1001d958
add edx, 0x20
mov dword [esp + 0x48], edx
xor edx, edx
mov dword [esp + 8], edx
nop word [eax + eax]
mov eax, dword [ecx + 0xbc]
mov edx, dword [esp + 0x40]
movss xmm0, dword [esi + 0x34]
movss dword [esp + 0x20], xmm0
mov eax, dword [eax + edx*4]
mov edx, dword [ecx + 0x94]
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], eax
movss xmm1, dword [edx + ecx + 0x10]
comiss xmm0, xmm1
ja 0x1001d6e0
movss xmm0, dword [esi + 0x38]
minss xmm0, xmm1
movss dword [esp + 0x20], xmm0
ucomiss xmm1, xmm0
movss dword [esp + 0x1c], xmm2
lahf
test ah, 0x44
jnp 0x1001d712
cmp byte [esi + 0x1c], 0
subss xmm0, xmm1
mulss xmm0, xmm3
je 0x1001d708
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
movss dword [esp + 0x1c], xmm0
movd xmm0, dword [edi + 0x1c]
movss xmm1, dword [0x10036bdc]
cvtdq2ps xmm0, xmm0
movzx eax, word [edx + ecx]
mov esi, dword [esp + 0x48]
movaps xmm2, xmm1
divss xmm2, xmm0
movd xmm0, dword [edi + 0x20]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [edx + ecx + 8]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [edx + ecx + 0xc]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edx + ecx + 0x14]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [edx + ecx + 0x18]
movss dword [esp + 0x98], xmm0
movd xmm0, eax
movzx eax, word [edx + ecx + 2]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x9c], xmm0
movd xmm0, eax
movzx eax, word [edx + ecx + 4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
movd xmm0, eax
movzx eax, word [edx + ecx + 6]
mov ecx, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0xa4], xmm0
movd xmm0, eax
mov eax, dword [esi]
cvtdq2ps xmm0, xmm0
inc eax
push eax
mulss xmm0, xmm1
movss dword [esp + 0xac], xmm0
call fcn.1001f270
mov eax, dword [esi]
xorps xmm6, xmm6
movss xmm0, dword [esp + 0x5c]
mov esi, dword [esi + 8]
addss xmm0, xmm6
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
movss xmm3, dword [0x10036bb0]
mov eax, dword [esp + 0x58]
mov word [esi + edx*8 - 0x28], ax
addss xmm0, dword [esp + 0x1c]
movss dword [esi + edx*8 - 0x20], xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm6
addss xmm0, dword [esp + 0x90]
movss dword [esi + edx*8 - 0x1c], xmm0
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm6
addss xmm0, dword [esp + 0x1c]
movss dword [esi + edx*8 - 0x18], xmm0
movss xmm0, dword [esp + 0x98]
addss xmm0, xmm6
addss xmm0, dword [esp + 0x90]
movss dword [esi + edx*8 - 0x14], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esi + edx*8 - 0x10], xmm0
movss xmm0, dword [esp + 0xa0]
movss dword [esi + edx*8 - 0xc], xmm0
movss xmm0, dword [esp + 0xa4]
movss dword [esi + edx*8 - 8], xmm0
movss xmm0, dword [esp + 0xa8]
movss dword [esi + edx*8 - 4], xmm0
mov eax, dword [ecx]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [eax + 0x20]
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [ecx]
cmp byte [eax + 0x1c], 0
je 0x1001d8cd
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + edx*8 - 0x24], xmm0
mov eax, dword [esp + 0x18]
add dword [esp + 8], 0x1c
movss xmm2, dword [esp + 0xac]
mov byte [eax + 0x54], 1
mov eax, dword [esp + 0x44]
movss xmm1, dword [esi + edx*8 - 8]
subss xmm1, dword [esi + edx*8 - 0x10]
mov eax, dword [eax]
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss xmm0, dword [esi + edx*8 - 4]
subss xmm0, dword [esi + edx*8 - 0xc]
addss xmm1, dword [0x10036c10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
cvttss2si ecx, xmm1
movd xmm1, dword [eax + 0x20]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, dword [0x10036c10]
cvttss2si eax, xmm1
imul ecx, eax
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
add dword [edx + 0x50], ecx
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0xa4]
jl 0x1001d6a0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add ecx, 0xc4
add edx, 0x74
sub eax, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
jne 0x1001d4b0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
add esi, 0xb4
nop dword [eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1001d9ac
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001d9a6
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1001d9c7
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001d9c1
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
add esi, 0xc4
sub dword [esp + 0x4c], 1
jne 0x1001d990
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
mov ecx, edi
call fcn.1001da80
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x2b], 1
test ecx, ecx
je 0x1001da05
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001d9ff
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x1001da22
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001da1c
dec dword [eax + 0x370]
push ecx
call esi
add esp, 4
mov edi, dword [esp + 0x38]
test edi, edi
je 0x1001da45
mov eax, dword [0x1003a830]
test eax, eax
je 0x1001da39
dec dword [eax + 0x370]
mov esi, dword [esp + 0x34]
push edi
call esi
add esp, 4
jmp 0x1001da49
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1001da67
mov ecx, dword [0x1003a830]
test ecx, ecx
je 0x1001da61
dec dword [ecx + 0x370]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x1b4]
mov al, byte [esp + 0x2b]
pop edi
pop esi
xor ecx, esp
call fcn.1002d8fd
mov esp, ebp
pop ebp
ret