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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x818
movsd xmm3, qword [0x1006be60]
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x4c], eax
push esi
xorps xmm1, xmm1
mov dword [esp + 0xcc], edx
mov esi, eax
mov dword [esp + 0x20], 0
movsx eax, byte [eax]
movapd xmm2, xmm1
mov dword [esp + 0xb0], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ecx
movsd qword [esp + 0x74], xmm1
movsd qword [esp + 4], xmm2
mov dword [esp + 0x24], esi
movsd qword [esp + 0x5c], xmm3
push edi
cmp eax, 0x2d
ja 0x1001fda3
jmp 0x1001fd70
movzx eax, byte [eax + 0x100212bc]
jmp dword [eax*4 + 0x100212a8]
mov al, byte [esi]
mov byte [esp + 0x4f], al
cmp al, 0x30
jne 0x1001fdcd
mov dword [esp + 0x44], 1
inc esi
cmp byte [esi], 0x30
je 0x1001fdb5
mov al, byte [esi]
mov dword [esp + 0x28], esi
mov byte [esp + 0x4f], al
test al, al
je 0x10021283
movsx edi, byte [esp + 0x4f]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x58], esi
xor edx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
cmp edi, 0x30
jl 0x1001fe2e
lea ecx, [ecx]
cmp edi, 0x39
jg 0x1001fe2a
cmp eax, 9
jge 0x1001fe05
lea eax, [edx - 6]
lea eax, [edx + eax*4]
lea edx, [edi + eax*2]
jmp 0x1001fe13
cmp eax, 0x10
jge 0x1001fe17
lea eax, [ecx - 6]
lea eax, [ecx + eax*4]
lea ecx, [edi + eax*2]
mov eax, dword [esp + 0x20]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], eax
cmp edi, 0x30
jge 0x1001fdf0
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, esi
sub eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
cmp edi, 0x2e
jne 0x1001ff6d
movsx edi, byte [esi + 1]
inc esi
mov eax, esi
mov dword [esp + 0x50], esi
sub eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x90], eax
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], esi
test eax, eax
jne 0x1001fed3
cmp edi, 0x30
jne 0x1001feb7
xor eax, eax
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x28], esi
cmp edi, 0x30
je 0x1001fea0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x1001ff69
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x58], esi
jmp 0x1001fee3
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x1001ff65
mov eax, dword [esp + 0x3c]
inc eax
sub edi, 0x30
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edi
je 0x1001ff53
add dword [esp + 0x30], eax
cmp eax, 1
jle 0x1001ff29
mov esi, dword [esp + 0x20]
lea edi, [eax - 1]
mov eax, esi
inc esi
cmp eax, 9
jge 0x1001ff10
lea edx, [edx + edx*4]
add edx, edx
jmp 0x1001ff1a
cmp esi, 0x10
jg 0x1001ff1a
lea ecx, [ecx + ecx*4]
add ecx, ecx
dec edi
jne 0x1001ff01
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
inc dword [esp + 0x20]
cmp eax, 9
jge 0x1001ff3e
lea eax, [edx + edx*4]
lea edx, [edi + eax*2]
jmp 0x1001ff4b
cmp dword [esp + 0x20], 0x10
jg 0x1001ff4b
lea eax, [ecx + ecx*4]
lea ecx, [edi + eax*2]
mov dword [esp + 0x3c], 0
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], esi
jmp 0x1001fed3
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 0
cmp edi, 0x65
je 0x1001ff83
cmp edi, 0x45
jne 0x1002006e
test eax, eax
jne 0x1001ff97
cmp dword [esp + 0x3c], eax
jne 0x1001ff97
cmp dword [esp + 0x44], eax
je case.0x100200b2.74
movsx edi, byte [esi + 1]
mov dword [esp + 0x54], esi
mov eax, edi
inc esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x28], esi
sub eax, 0x2b
je 0x1001ffc0
sub eax, 2
jne 0x1001ffc9
mov dword [esp + 0x50], 1
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x28], esi
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x10020066
cmp edi, 0x30
jne 0x1001ffee
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
cmp edi, 0x30
je 0x1001ffe0
mov dword [esp + 0x28], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x10020062
mov dword [esp + 0x5c], esi
lea eax, [edi - 0x30]
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
cmp edi, 0x30
jl 0x10020034
mov ecx, eax
cmp edi, 0x39
jg 0x1002002c
inc esi
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 0x18]
mov dword [esp + 0x28], esi
lea ecx, [edi + ecx*2]
movsx edi, byte [esi]
cmp edi, 0x30
jge 0x10020011
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub eax, dword [esp + 0x5c]
cmp eax, 8
jg 0x1002004a
mov eax, dword [esp + 0x18]
cmp eax, 0x4e1f
jle 0x10020053
mov eax, 0x4e1f
mov dword [esp + 0x18], eax
cmp dword [esp + 0x50], 0
je 0x1002006e
neg eax
mov dword [esp + 0x18], eax
jmp 0x1002006e
xor eax, eax
jmp 0x10020072
mov esi, dword [esp + 0x54]
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x20], 0
jne 0x10020198
cmp dword [esp + 0x3c], 0
jne 0x10021283
cmp dword [esp + 0x44], 0
jne 0x10021283
mov eax, dword [esp + 0x48]
test eax, eax
jne case.0x100200b2.74
add edi, 0xffffffb7
cmp edi, 0x25
ja case.0x100200b2.74
movzx eax, byte [edi + 0x100212f8]
jmp dword [eax*4 + 0x100212ec]
mov edx, 0x6e
mov edi, 0x1006b691
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x100200d3
add ecx, 0x20
cmp ecx, edx
jne case.0x100200b2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x100200c3
mov edx, esi
mov dword [esp + 0x2c], 0x1006b695
mov edi, 0x69
movsx ecx, byte [edx + 1]
lea edx, [edx + 1]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x10020104
add ecx, 0x20
cmp ecx, edi
jne 0x1002011d
mov eax, dword [esp + 0x2c]
movsx edi, byte [eax]
inc eax
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x100200f2
lea esi, [edx + 1]
jmp 0x1002011e
inc esi
mov dword [esp + 0xc], 0x7ff00000
mov dword [esp + 8], 0
movsd xmm2, qword [esp + 8]
jmp 0x10021283
mov edx, 0x61
mov edi, 0x1006b69d
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x10020153
add ecx, 0x20
cmp ecx, edx
jne case.0x100200b2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x10020143
inc esi
mov dword [esp + 0xc], 0x7ff80000
mov dword [esp + 0x28], esi
mov dword [esp + 8], edx
cmp byte [esi], 0x28
jne 0x1002012e
lea edx, [esp + 0x28]
lea ecx, [esp + 8]
call fcn.1001f630
movsd xmm2, qword [esp + 8]
jmp 0x1002127f
mov esi, dword [esp + 0x54]
xor eax, eax
jmp 0x10021287
sub eax, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x14]
test eax, eax
movd xmm2, edx
cmove eax, edi
mov dword [esp + 0x14], eax
mov eax, 0x10
cmp edi, eax
cvtdq2pd xmm2, xmm2
cmovl eax, edi
mov dword [esp + 0x54], eax
mov eax, edx
shr eax, 0x1f
addsd xmm2, qword [eax*8 + 0x1006be50]
mov eax, dword [esp + 0x54]
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 8], xmm2
cmp eax, 9
jle 0x1002022b
movsd xmm1, qword [eax*8 + 0x1006a9c0]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, xmm2
addsd xmm0, qword [ecx*8 + 0x1006be50]
addsd xmm1, xmm0
movaps xmm2, xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 8], xmm2
mov eax, dword [esp + 0x18]
cmp edi, 0xf
jg 0x100202a4
test eax, eax
je 0x10021283
jle 0x1002028c
cmp eax, 0x16
jg 0x10020258
movsd xmm0, qword [eax*8 + 0x1006aa08]
mulsd xmm0, xmm2
movaps xmm2, xmm0
jmp 0x10021283
mov ecx, 0xf
sub ecx, edi
lea eax, [ecx + 0x16]
cmp dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
jg 0x100202a4
movsd xmm0, qword [ecx*8 + 0x1006aa08]
sub eax, ecx
mulsd xmm0, xmm2
mulsd xmm0, qword [eax*8 + 0x1006aa08]
movaps xmm2, xmm0
jmp 0x10021283
cmp eax, 0xffffffea
jl 0x100202a4
shl eax, 3
mov ecx, 0x1006aa08
sub ecx, eax
divsd xmm2, qword [ecx]
jmp 0x10021283
sub eax, dword [esp + 0x54]
xor ecx, ecx
add eax, edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0xb0], ecx
test eax, eax
jle 0x1002037b
mov ecx, eax
and ecx, 0xf
je 0x100202dc
movsd xmm0, qword [ecx*8 + 0x1006aa08]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 8], xmm2
and eax, 0xfffffff0
je 0x10020477
cmp eax, 0x134
jg 0x10020f1e
sar eax, 4
xor ecx, ecx
cmp eax, 1
jle 0x1002031b
lea ebx, [ebx]
test al, 1
je 0x10020313
mulsd xmm2, qword [ecx*8 + 0x1006aac0]
movsd qword [esp + 8], xmm2
sar eax, 1
inc ecx
cmp eax, 1
jg 0x10020300
movsd xmm0, qword [ecx*8 + 0x1006aac0]
sub dword [esp + 0xc], 0x3500000
mulsd xmm0, qword [esp + 8]
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x7ff00000
cmp ecx, 0x7ca00000
ja 0x10020f1e
cmp ecx, 0x7c900000
jbe 0x1002036d
mov dword [esp + 0xc], 0x7fefffff
mov dword [esp + 8], 0xffffffff
jmp 0x10020477
add eax, 0x3500000
mov dword [esp + 0xc], eax
jmp 0x10020477
jns 0x10020477
neg eax
mov ecx, eax
and ecx, 0xf
je 0x1002039f
divsd xmm2, qword [ecx*8 + 0x1006aa08]
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 8], xmm2
sar eax, 4
test eax, eax
je 0x10020477
cmp eax, 0x20
jge 0x10021170
test al, 0x10
mov dword [esp + 0x5c], 0x6a
mov ecx, 0
cmovne ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0xb0], ecx
test eax, eax
jle 0x10020401
mov ecx, 0x1006a9e0
jmp 0x100203e0
test al, 1
je 0x100203ee
mulsd xmm2, qword [ecx]
movsd qword [esp + 8], xmm2
sar eax, 1
add ecx, 8
test eax, eax
jg 0x100203e0
mov ecx, dword [esp + 0x44]
movsd qword [esp + 0x30], xmm2
test ecx, ecx
je 0x10020463
mov eax, dword [esp + 0xc]
mov ecx, 0x6b
shr eax, 0x14
and eax, 0x7ff
sub ecx, eax
test ecx, ecx
jle 0x10020463
cmp ecx, 0x20
jl 0x10020452
mov dword [esp + 8], 0
cmp ecx, 0x35
jl 0x1002043e
mov dword [esp + 0xc], 0x3700000
movsd xmm0, qword [esp + 8]
jmp 0x10020469
add ecx, 0xffffffe0
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0xc], eax
movsd xmm0, qword [esp + 8]
jmp 0x10020469
or eax, 0xffffffff
shl eax, cl
and dword [esp + 8], eax
movsd xmm0, qword [esp + 8]
jmp 0x10020469
movsd xmm0, qword [esp + 0x30]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10021170
mov esi, dword [esp + 0x14]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], esi
cmp edi, 0x28
jle 0x1002054f
mov eax, 0x12
mov ecx, eax
cmp esi, eax
jge 0x100204a3
mov eax, dword [esp + 0x48]
add eax, ecx
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x58]
mov edi, edi
dec eax
cmp eax, dword [esp + 0x2c]
jg 0x100204be
cmp eax, edi
jl 0x100204be
lea eax, [edi - 1]
cmp byte [eax + esi], 0x30
jne 0x100204c7
dec ecx
jmp 0x100204b0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
sub edi, ecx
add dword [esp + 0x18], edi
cmp esi, ecx
mov edi, ecx
cmovg esi, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], esi
cmp ecx, 9
jge 0x1002054f
xor edx, edx
xor esi, esi
cmp dword [esp + 0x14], edx
jle 0x1002051a
mov edi, dword [esp + 0x14]
jmp 0x10020500
mov eax, dword [esp + 0x58]
lea edx, [edx + edx*4]
lea edx, [edx - 0x18]
movsx ecx, byte [esi + eax]
inc esi
lea edx, [ecx + edx*2]
cmp esi, edi
jl 0x10020500
mov edi, dword [esp + 0x20]
cmp esi, edi
jge 0x1002054b
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x58]
sub edi, esi
mov dword [esp + 0x2c], edi
mov edi, eax
mov dword [esp + 0x5c], eax
dec dword [esp + 0x2c]
lea edx, [edx + edx*4]
movsx eax, byte [edi]
lea edx, [edx - 0x18]
lea edi, [edi + 1]
lea edx, [eax + edx*2]
jne 0x10020532
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
push edx
push edi
mov edx, esi
call fcn.1001e9b0
movsd xmm0, qword [0x1006bde0]
mov ecx, eax
movsd qword [esp + 0x12c], xmm0
add esp, 0xc
movsd xmm0, qword [0x1006bdd0]
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [0x1006bdc0]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x1006be30]
movsd qword [esp + 0x138], xmm0
movsd xmm0, qword [0x1006be18]
movsd qword [esp + 0x110], xmm0
movsd xmm0, qword [0x1006bda0]
movsd qword [esp + 0x130], xmm0
movsd xmm0, qword [0x1006bdb8]
movsd qword [esp + 0x118], xmm0
movsd xmm0, qword [0x1006bdc8]
mov dword [esp + 0x50], ecx
movsd qword [esp + 0x128], xmm0
mov ecx, dword [ecx + 4]
mov esi, 1
call fcn.1001e7d0
mov edx, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov ecx, dword [edx + 0x10]
lea ecx, [ecx*4 + 8]
push ecx
lea ecx, [edx + 0xc]
push ecx
lea ecx, [eax + 0xc]
push ecx
call fcn.10042c10
add esp, 0xc
lea eax, [esp + 0xdc]
lea edx, [esp + 0x5c]
lea ecx, [esp + 8]
push eax
call fcn.1001f3f0
add esp, 4
mov dword [esp + 0x3c], eax
mov ecx, esi
call fcn.1001eb00
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
test eax, eax
js 0x1002065a
xor edx, edx
mov dword [esp + 0x54], eax
xor esi, esi
jmp 0x10020668
mov edx, eax
xor ecx, ecx
neg edx
mov dword [esp + 0x54], ecx
mov esi, edx
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], esi
test ecx, ecx
js 0x10020680
add esi, ecx
mov dword [esp + 0x2c], esi
jmp 0x10020686
sub eax, ecx
mov dword [esp + 0x1c], eax
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0xdc]
lea eax, [esi - 1]
add eax, ecx
cmp eax, 0xfffffc02
jge 0x100206a9
add ecx, 0x433
jmp 0x100206b0
mov ecx, 0x36
sub ecx, esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
add esi, ecx
add eax, ecx
mov ecx, dword [esp + 0x1c]
add ecx, eax
cmp esi, ecx
mov dword [esp + 0x1c], ecx
mov eax, ecx
cmovl eax, esi
cmp eax, dword [esp + 0x30]
cmovg eax, dword [esp + 0x30]
test eax, eax
jle 0x100206e6
sub ecx, eax
sub esi, eax
sub dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
test edx, edx
jle 0x10020867
mov ecx, dword [esp + 0x14]
call fcn.1001ece0
mov edx, dword [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.1001eba0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x1002085f
cmp dword [ecx + 4], 7
jle 0x10020734
push ecx
call fcn.10043518
mov eax, dword [esp + 0x30]
add esp, 4
mov ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x1002086b
mov eax, dword [esp + 0x24]
test al, 1
je 0x1002074f
and eax, 0xfffffffe
lea ecx, [esp + 0x560]
mov dword [esp + 0x24], eax
call fcn.10009810
mov eax, dword [0x10072ec4]
test eax, 0xfffffffe
jne 0x100207ae
mov ecx, 1
xor eax, eax
mov edx, 0x10072ec4
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x10020794
mov eax, dword [0x10072ec4]
cmp eax, 1
jne 0x100207ae
lea esp, [esp]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10072ec4]
cmp eax, 1
je 0x10020780
jmp 0x100207ae
push 0x7d0
push 0x10072ec8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x10072ec4], 0x10072ec8
mov eax, dword [0x10072ec4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 4]
mov eax, dword [ecx*4 + 0x10073ec0]
mov dword [edx], eax
mov eax, dword [esp + 0x24]
mov dword [ecx*4 + 0x10073ec0], edx
test al, 2
je 0x100207ec
and eax, 0xfffffffd
lea ecx, [esp + 0x2a0]
mov dword [esp + 0x24], eax
call fcn.10009810
mov eax, dword [0x10072ec4]
test eax, 0xfffffffe
jne 0x10020844
mov ecx, 1
xor eax, eax
mov edx, 0x10072ec4
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x1002082a
mov eax, dword [0x10072ec4]
cmp eax, 1
jne 0x10020844
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10072ec4]
cmp eax, 1
je 0x10020816
jmp 0x10020844
push 0x7d0
push 0x10072ec8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x10072ec4], 0x10072ec8
mov eax, dword [0x10072ec4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x1002086b
mov ecx, dword [esp + 0x3c]
test esi, esi
jle 0x1002087e
mov edx, esi
call fcn.1001ee90
mov esi, eax
mov dword [esp + 0x3c], esi
jmp 0x10020882
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
test eax, eax
jle 0x1002089b
mov edx, eax
call fcn.1001ece0
mov ecx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x100208b0
mov edx, eax
call fcn.1001ee90
mov ecx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x100208cb
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.1001ee90
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov edx, ecx
mov ecx, esi
call fcn.1001f0a0
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov dword [ecx + 0xc], 0
mov ecx, esi
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x2c], esi
sub ecx, eax
jne 0x10020947
mov edx, dword [esp + 0x14]
lea ecx, [eax - 1]
mov esi, dword [esp + 0x1c]
add esi, 0x14
lea ecx, [esi + ecx*4]
lea edx, [edx + eax*4]
mov eax, dword [ecx]
add edx, 0x10
cmp eax, dword [edx]
jne 0x10020935
cmp ecx, esi
jbe 0x100209cd
mov eax, dword [ecx - 4]
sub ecx, 4
sub edx, 4
cmp eax, dword [edx]
je 0x10020920
mov eax, dword [ecx]
cmp eax, dword [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0xa4], edi
jle 0x10020958
test ecx, ecx
jle 0x10020f06
test ecx, ecx
js 0x1002107c
je 0x10020f4a
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xd8]
call fcn.1001f290
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xd4]
movapd xmm1, xmm0
movsd qword [esp + 0xb8], xmm1
call fcn.1001f290
mov eax, dword [esp + 0x14]
movsd qword [esp + 0xe8], xmm0
sub esi, dword [eax + 0x10]
shl esi, 5
sub esi, dword [esp + 0xd4]
add esi, dword [esp + 0xd8]
test esi, esi
jle 0x100209d4
shl esi, 0x14
add dword [esp + 0xbc], esi
movsd xmm1, qword [esp + 0xb8]
jmp 0x100209ea
xor ecx, ecx
jmp 0x1002093f
imul eax, esi, 0xfff00000
add dword [esp + 0xec], eax
movsd xmm0, qword [esp + 0xe8]
divsd xmm1, xmm0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x120]
comisd xmm0, xmm1
jb 0x10020b2e
test edx, edx
je 0x10020a1c
movsd xmm2, qword [esp + 0xe0]
movapd xmm1, xmm2
jmp 0x10020a59
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10020b0a
test eax, 0xfffff
jne 0x10020b17
movsd xmm0, qword [esp + 0xe0]
comisd xmm0, xmm1
jbe 0x10020afc
movsd xmm1, qword [esp + 0xc0]
movapd xmm2, xmm1
xorpd xmm2, xmmword [esp + 0x60]
mov esi, eax
and esi, 0x7ff00000
cmp esi, 0x7fe00000
jne 0x10020b5d
movsd xmm0, qword [esp + 8]
sub eax, 0x3500000
mov dword [esp + 0xc], eax
and eax, 0x7ff00000
sub eax, 0x3400000
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], 0
movsd xmm0, qword [esp + 0xf0]
mulsd xmm0, xmm2
addsd xmm0, qword [esp + 8]
movsd qword [esp + 8], xmm0
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 0x7ff00000
cmp eax, 0x7ca00000
jb 0x10020b48
cmp dword [esp + 0x84], 0x7fefffff
jne 0x10020ae7
cmp dword [esp + 0x80], 0xffffffff
je 0x10020f1a
mov dword [esp + 0xc], 0x7fefffff
mov dword [esp + 8], 0xffffffff
jmp 0x10020c7d
mulsd xmm1, qword [esp + 0xc0]
jmp 0x10020a4f
cmp ecx, 1
jne 0x10020b17
test eax, eax
je 0x1002114e
movsd xmm1, qword [esp + 0xe0]
movsd xmm2, qword [esp + 0x138]
jmp 0x10020a59
mulsd xmm1, qword [esp + 0xc0]
test edx, edx
je 0x10020a4f
movapd xmm2, xmm1
jmp 0x10020a59
add ecx, 0x3500000
mov dword [esp + 0xc], ecx
movsd xmm0, qword [esp + 8]
jmp 0x10020c09
cmp dword [esp + 0x44], 0
je 0x10020bd4
cmp esi, 0x6a00000
ja 0x10020bd4
movsd xmm0, qword [esp + 0x110]
comisd xmm0, xmm1
jb 0x10020bb4
movapd xmm0, xmm1
call fcn.10043ac1
mov edx, dword [esp + 0x30]
test eax, eax
mov ecx, 1
cmove eax, ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x1006be50]
movapd xmm2, xmm1
test edx, edx
jne 0x10020bb4
xorpd xmm2, xmmword [esp + 0x60]
mov eax, 0x6b00000
movsd qword [esp + 0xc8], xmm2
sub eax, esi
add dword [esp + 0xcc], eax
movsd xmm2, qword [esp + 0xc8]
lea eax, [esi - 0x3400000]
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], eax
movsd xmm0, qword [esp + 0x108]
mulsd xmm0, xmm2
addsd xmm0, qword [esp + 8]
movsd qword [esp + 8], xmm0
mov ecx, dword [esp + 0xc]
movsd qword [esp + 0x30], xmm0
cmp dword [esp + 0xa4], edi
jne 0x10020c7d
cmp dword [esp + 0x44], 0
jne 0x10020c7d
mov eax, ecx
and eax, 0x7ff00000
cmp esi, eax
jne 0x10020c7d
cvttsd2si eax, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
test edx, edx
jne 0x10020c5b
cmp dword [esp + 8], edx
jne 0x10020c5b
test ecx, 0xfffff
jne 0x10020c5b
movsd xmm0, qword [esp + 0x130]
comisd xmm0, xmm1
jmp 0x10020c77
movsd xmm0, qword [esp + 0x118]
comisd xmm0, xmm1
ja 0x100211c1
comisd xmm1, xmmword [esp + 0x128]
ja 0x100211c1
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x10020d66
cmp dword [esi + 4], 7
jle 0x10020c9d
push esi
call fcn.10043518
add esp, 4
jmp 0x10020d66
mov eax, dword [esp + 0x24]
test al, 4
je 0x10020cb8
and eax, 0xfffffffb
lea ecx, [esp + 0x140]
mov dword [esp + 0x24], eax
call fcn.10009810
mov eax, dword [0x10072ec4]
test eax, 0xfffffffe
jne 0x10020d10
mov ecx, 1
xor eax, eax
mov edx, 0x10072ec4
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x10020cf6
mov eax, dword [0x10072ec4]
cmp eax, 1
jne 0x10020d10
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10072ec4]
cmp eax, 1
je 0x10020ce2
jmp 0x10020d10
push 0x7d0
push 0x10072ec8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x10072ec4], 0x10072ec8
mov eax, dword [0x10072ec4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 4]
mov eax, dword [ecx*4 + 0x10073ec0]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [ecx*4 + 0x10073ec0], esi
test al, 8
je 0x10020d4a
and eax, 0xfffffff7
lea ecx, [esp + 0x400]
mov dword [esp + 0x24], eax
call fcn.10009810
mov ecx, 0x10072ec4
call fcn.1001c6c0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x48]
test esi, esi
je 0x10020dea
cmp dword [esi + 4], 7
jle 0x10020d7f
push esi
call fcn.10043518
add esp, 4
jmp 0x10020dea
mov eax, dword [esp + 0x24]
test al, 0x10
je 0x10020d9a
and eax, 0xffffffef
lea ecx, [esp + 0x6c0]
mov dword [esp + 0x24], eax
call fcn.10009810
mov ecx, 0x10072ec4
call fcn.1001c6c0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 4]
mov eax, dword [ecx*4 + 0x10073ec0]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [ecx*4 + 0x10073ec0], esi
test al, 0x20
je 0x10020dd9
and eax, 0xffffffdf
lea ecx, [esp + 0x1f0]
mov dword [esp + 0x24], eax
call fcn.10009810
mov ecx, 0x10072ec4
call fcn.1001c6c0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x14]
cmp dword [esi + 4], 7
jle 0x10020dff
push esi
call fcn.10043518
add esp, 4
jmp 0x10020e6c
mov eax, dword [esp + 0x24]
test al, 0x40
je 0x10020e1a
and eax, 0xffffffbf
lea ecx, [esp + 0x350]
mov dword [esp + 0x24], eax
call fcn.10009810
mov ecx, 0x10072ec4
call fcn.1001c6c0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 4]
mov eax, dword [ecx*4 + 0x10073ec0]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [ecx*4 + 0x10073ec0], esi
test al, al
jns 0x10020e5b
and eax, 0xffffff7f
lea ecx, [esp + 0x4b0]
mov dword [esp + 0x24], eax
call fcn.10009810
mov ecx, 0x10072ec4
call fcn.1001c6c0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x1c]
cmp dword [esi + 4], 7
jle 0x10020e88
push esi
call fcn.10043518
mov ecx, dword [esp + 0x54]
add esp, 4
jmp 0x100205f1
mov eax, dword [esp + 0x24]
test eax, 0x100
je 0x10020ea8
and eax, 0xfffffeff
lea ecx, [esp + 0x610]
mov dword [esp + 0x24], eax
call fcn.10009810
mov ecx, 0x10072ec4
call fcn.1001c6c0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 4]
mov eax, dword [ecx*4 + 0x10073ec0]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [ecx*4 + 0x10073ec0], esi
test eax, 0x200
je 0x10020eec
and eax, 0xfffffdff
lea ecx, [esp + 0x770]
mov dword [esp + 0x24], eax
call fcn.10009810
mov ecx, 0x10072ec4
call fcn.1001c6c0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x50]
jmp 0x100205f1
test edx, edx
jne 0x100211b5
mov dword [esp + 0xa4], edi
jmp 0x10021084
mov esi, dword [esp + 0x28]
call fcn.100480c7
movsd xmm3, qword [esp + 0x60]
mov dword [esp + 0xc], 0x7ff00000
mov dword [esp + 8], 0
movsd xmm2, qword [esp + 8]
mov dword [eax], 0x22
jmp 0x10021283
mov esi, dword [esp + 0xc]
test edx, edx
mov edx, dword [esp + 8]
je 0x10020fb5
mov eax, esi
and eax, 0xfffff
cmp eax, 0xfffff
jne 0x10020fc5
cmp dword [esp + 0x44], 0
je 0x10020f8a
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6a00000
ja 0x10020f8a
shr eax, 0x14
mov ecx, 0x6b
sub ecx, eax
or eax, 0xffffffff
shl eax, cl
jmp 0x10020f8d
or eax, 0xffffffff
cmp edx, eax
jne 0x10020fc5
and esi, 0x7ff00000
mov dword [esp + 8], 0
add esi, 0x100000
mov dword [esp + 0x98], 0
jmp 0x100211b1
test esi, 0xfffff
jne 0x10020fc5
test edx, edx
je 0x10021132
test dl, 1
je 0x100211b5
mov ecx, dword [esp + 0x30]
and esi, 0x7ff00000
sub esi, 0x3400000
test ecx, ecx
je 0x10021022
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], 0
movsd xmm0, qword [esp + 0x100]
addsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 8], xmm0
mov eax, 1
sub eax, ecx
mov dword [esp + 0x98], eax
jmp 0x100211c1
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x78]
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], 0
subsd xmm0, qword [esp + 0xf8]
ucomisd xmm0, xmm1
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 8], xmm0
lahf
test ah, 0x44
jp 0x1002100f
cmp dword [esp + 0xa4], edi
jle 0x1002116a
mov dword [esp + 0xb4], 1
jmp 0x100211c1
test edx, edx
jne 0x100211b5
cmp dword [esp + 8], 0
jne 0x100211b5
mov esi, dword [esp + 0xc]
test esi, 0xfffff
jne 0x100211b5
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jbe 0x100211b5
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x14], 0
jne 0x100210c5
cmp dword [ecx + 0x10], 1
jle 0x100211b5
mov edx, 1
call fcn.1001ee90
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x10]
sub eax, edx
jne 0x1002112a
lea eax, [ecx + 0x14]
lea ecx, [edx - 1]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
add eax, 0x10
lea edx, [eax + edx*4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10021120
lea esp, [esp]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add eax, 0x14
cmp ecx, eax
jbe 0x100211b5
mov eax, dword [ecx - 4]
sub ecx, 4
sub edx, 4
cmp eax, dword [edx]
je 0x10021100
mov eax, dword [ecx]
cmp eax, dword [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jle 0x100211b5
cmp dword [esp + 0x44], 0
je 0x1002119c
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jg 0x1002119c
cmp eax, 0x3700000
jg 0x100211b5
cmp dword [esp + 0xa4], edi
jle 0x10021164
mov dword [esp + 0xb4], 1
jmp 0x100211b5
movsd xmm1, qword [esp + 0x78]
mov esi, dword [esp + 0x28]
jmp 0x10021176
movsd xmm1, qword [esp + 0x78]
movapd xmm0, xmm1
movsd qword [esp + 0x30], xmm0
call fcn.100480c7
movsd xmm2, qword [esp + 0x30]
movsd xmm3, qword [esp + 0x60]
mov dword [eax], 0x22
jmp 0x10021283
and esi, 0x7ff00000
mov dword [esp + 8], 0xffffffff
dec esi
or esi, 0xfffff
mov dword [esp + 0xc], esi
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x3c]
call fcn.1001e890
mov ecx, dword [esp + 0x48]
call fcn.1001e890
mov ecx, dword [esp + 0x14]
call fcn.1001e890
mov ecx, dword [esp + 0x50]
call fcn.1001e890
mov ecx, dword [esp + 0x1c]
call fcn.1001e890
cmp dword [esp + 0xa4], edi
jle 0x1002121e
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xc]
call fcn.1001f990
mov eax, dword [esp + 0xb4]
add esp, 4
movsd xmm2, qword [esp + 8]
jmp 0x10021228
movsd xmm2, qword [esp + 0x30]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10021279
mov dword [esp + 0x84], 0x39500000
mov dword [esp + 0x80], 0
movsd xmm0, qword [esp + 0x80]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 8], xmm2
test dword [esp + 0xc], 0x7ff00000
movsd qword [esp + 0x30], xmm2
jne 0x10021279
call fcn.100480c7
movsd xmm2, qword [esp + 0x30]
mov dword [eax], 0x22
movsd xmm3, qword [esp + 0x60]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x10021294
mov dword [ecx], esi
test eax, eax
je 0x1002129c
xorpd xmm2, xmm3
pop edi
movapd xmm0, xmm2
pop esi
mov esp, ebp
pop ebp
ret