Function at 0x1001bf50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x224], 0
jne 0x1001bf81
mov ecx, dword [edi + 0x5975c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [edi + 0xc]
push edx
call eax
test eax, eax
jne 0x1001cc6d
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [edi + 0x59804]
cmp eax, 0x4e20
jbe 0x1001bfa9
call esi
lea esi, [edi + 0x597ec]
mov dword [edi + 0x59804], eax
call fcn.1001d900
mov eax, dword [edi + 0x5975c]
fld dword [eax + 0x34]
mov ecx, dword [edi + 0x5977c]
mov esi, dword [ecx]
fstp dword [ebp - 0x20]
fld dword [eax + 0x30]
lea ebx, [edi + 0x59778]
fstp dword [ebp - 0x24]
mov dword [ebp - 0xc], ebx
fld dword [eax + 0x38]
mov dword [ebp - 0x10], esi
fstp dword [ebp - 0x1c]
cmp ebx, ebx
mov edx, dword [ebx + 4]
mov dword [ebp - 0x110], edx
je 0x1001bfe7
call fcn.10080d40
cmp esi, dword [ebp - 0x110]
je 0x1001cc6d
cmp esi, dword [ebx + 4]
jne 0x1001bffd
call fcn.10080d40
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
add esi, 8
push ecx
push eax
mov eax, edi
call fcn.1001b970
test eax, eax
jne 0x1001cc43
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x1c8], eax
je 0x1001c038
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp edi, dword [eax + 4]
jne 0x1001c032
call fcn.10080d40
cmp dword [edi + 0x38], 2
je 0x1001c062
cmp dword [ebx + 0x1cc], 0
je 0x1001c208
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ecx + 4]
jne 0x1001c055
call fcn.10080d40
cmp dword [edi + 0x38], 3
jne 0x1001c208
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp edi, dword [edx + 4]
jne 0x1001c06f
call fcn.10080d40
fld dword [esi + 0x10]
sub esp, 0x10
fstp dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
fld dword [esi + 0xc]
mov eax, esp
fstp dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
fld dword [esi + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
push ebx
mov dword [eax + 0xc], edx
call fcn.1001b690
test eax, eax
je 0x1001c208
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx + 4]
jne 0x1001c0bb
call fcn.10080d40
fld dword [esi + 0x10]
lea eax, [ebp - 0x24]
fstp dword [ebp - 0x150]
lea ecx, [ebp - 0x154]
fld dword [esi + 0xc]
fstp dword [ebp - 0x154]
fld dword [esi + 0x14]
fstp dword [ebp - 0x14c]
call fcn.10003a50
fcomp qword [0x100a9868]
fnstsw ax
test ah, 5
jp 0x1001c208
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x59788]
mov ebx, dword [edx]
add edi, 0x59784
jmp 0x1001c110
cmp edi, edi
mov eax, dword [edi + 4]
mov dword [ebp - 0xe8], eax
je 0x1001c122
call fcn.10080d40
cmp ebx, dword [ebp - 0xe8]
je 0x1001c162
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [edx + 4]
jne 0x1001c13a
call fcn.10080d40
cmp ebx, dword [edi + 4]
jne 0x1001c144
call fcn.10080d40
mov eax, dword [esi + 8]
cmp dword [ebx + 0x10], eax
mov ecx, dword [esi + 4]
jne 0x1001c154
cmp dword [ebx + 0xc], ecx
je 0x1001c162
cmp ebx, dword [edi + 4]
jne 0x1001c15e
call fcn.10080d40
mov ebx, dword [ebx]
jmp 0x1001c110
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx + 4]
jne 0x1001c172
call fcn.10080d40
fld dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
fsub dword [edx + 0x1c]
fstp dword [ebp - 8]
fld dword [ebp - 8]
fabs
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp dword [0x100a98a8]
fnstsw ax
test ah, 0x41
je 0x1001cc43
cmp edi, edi
mov eax, dword [edi + 4]
mov dword [ebp - 0xf8], eax
je 0x1001c1ac
call fcn.10080d40
cmp ebx, dword [ebp - 0xf8]
jne 0x1001c208
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5975c]
mov edx, dword [ecx]
add eax, 0xc
push eax
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x1001c208
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [edx + 4]
jne 0x1001c1dc
call fcn.10080d40
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
push eax
mov ebx, esi
mov dword [ebp - 0x108], eax
call fcn.1001ddf0
mov ecx, edi
mov ebx, eax
call fcn.1001de40
mov edx, dword [ebp - 0x108]
mov dword [edx + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ecx + 4]
jne 0x1001c218
call fcn.10080d40
mov edx, dword [edi + 0x10]
and edx, 0xfffff
cmp edx, 0x2cf64
jne 0x1001c449
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001c242
call fcn.10080d40
fld dword [esi + 0x10]
lea eax, [ebp - 0x24]
fstp dword [ebp - 0x168]
lea ecx, [ebp - 0x16c]
fld dword [esi + 0xc]
fstp dword [ebp - 0x16c]
fld dword [esi + 0x14]
fstp dword [ebp - 0x164]
call fcn.10003a50
fcomp qword [0x100a98a0]
fnstsw ax
test ah, 5
jp 0x1001c449
mov eax, dword [ebp + 8]
cmp dword [eax + 0x624], 0
je 0x1001c2d8
mov edx, dword [ebp - 0x10]
add eax, 0x59778
cmp edx, dword [eax + 4]
jne 0x1001c29a
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
call fcn.1003b6d0
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
push edx
push eax
call fcn.1007ee60
add esp, 8
test eax, eax
je 0x1001c2ce
mov ebx, eax
add ebx, 0x234
mov eax, 0
mov dword [ebx], eax
call fcn.1003b6d0
jmp 0x1001c449
mov ecx, dword [ebp - 0x10]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001c2ea
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xc], 0
call fcn.1003b6d0
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
push edx
push eax
call fcn.1007ee60
add esp, 8
test eax, eax
je 0x1001c321
mov ebx, eax
mov eax, dword [ebx + 0x234]
mov dword [ebp - 0xc], eax
call fcn.1003b6d0
cmp dword [ebp - 0xc], 0
je 0x1001c449
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x59788]
mov ebx, dword [edx]
add edi, 0x59784
cmp edi, edi
mov eax, dword [edi + 4]
mov dword [ebp - 0x118], eax
je 0x1001c353
call fcn.10080d40
cmp ebx, dword [ebp - 0x118]
je 0x1001c398
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001c370
call fcn.10080d40
cmp ebx, dword [edi + 4]
jne 0x1001c37a
call fcn.10080d40
mov eax, dword [esi + 8]
cmp dword [ebx + 0x10], eax
mov ecx, dword [esi + 4]
jne 0x1001c38a
cmp dword [ebx + 0xc], ecx
je 0x1001c398
cmp ebx, dword [edi + 4]
jne 0x1001c394
call fcn.10080d40
mov ebx, dword [ebx]
jmp 0x1001c341
cmp edi, edi
mov edx, dword [edi + 4]
mov dword [ebp - 0x128], edx
je 0x1001c3aa
call fcn.10080d40
cmp ebx, dword [ebp - 0x128]
jne 0x1001c449
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4d0], 0
je 0x1001c40b
cmp dword [eax + 0x628], 1
jne 0x1001c449
mov ecx, dword [ebp - 0x10]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001c3dd
call fcn.10080d40
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
push edx
push eax
mov ebx, esi
mov dword [ebp - 0x138], eax
call fcn.1001ddf0
mov ecx, edi
mov ebx, eax
call fcn.1001de40
mov eax, dword [ebp - 0x138]
mov dword [eax + 4], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], ebx
jmp 0x1001c449
mov edx, dword [ebp - 0x10]
add eax, 0x59778
cmp edx, dword [eax + 4]
jne 0x1001c41d
call fcn.10080d40
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
push eax
mov ebx, esi
mov dword [ebp - 0xc0], eax
call fcn.1001ddf0
mov ecx, edi
mov ebx, eax
call fcn.1001de40
mov edx, dword [ebp - 0xc0]
mov dword [edx + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
add eax, 0x59778
cmp edi, dword [eax + 4]
jne 0x1001c45e
call fcn.10080d40
mov eax, dword [edi + 0x10]
and eax, 0xfffff
cmp eax, 0x2cc9a
je 0x1001c489
cmp eax, 0x2f006
je 0x1001c489
cmp eax, 0x2f007
je 0x1001c489
cmp eax, 0x2f008
jne 0x1001c676
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0x59778
cmp edi, dword [eax + 4]
jne 0x1001c49b
call fcn.10080d40
fld dword [esi + 0x10]
fstp dword [ebp - 0x78]
fld dword [esi + 0xc]
fstp dword [ebp - 0x7c]
fld dword [esi + 0x14]
fstp dword [ebp - 0x74]
emms
fld dword [ebp - 0x78]
fsub dword [ebp - 0x20]
fld dword [ebp - 0x7c]
fsub dword [ebp - 0x24]
fld dword [ebp - 0x74]
fsub dword [ebp - 0x1c]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [ebp - 8]
fld dword [ebp - 8]
call fcn.10094530
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp dword [0x100a9898]
fnstsw ax
test ah, 5
jp 0x1001c676
mov eax, dword [ebp + 8]
cmp dword [eax + 0x624], 0
je 0x1001c54f
mov ecx, dword [ebp - 0x10]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001c511
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
call fcn.1003b6d0
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
push edx
push eax
call fcn.1007ee60
add esp, 8
test eax, eax
je 0x1001c545
mov ebx, eax
add ebx, 0x234
mov eax, 0
mov dword [ebx], eax
call fcn.1003b6d0
jmp 0x1001c676
mov edx, dword [ebp - 0x10]
add eax, 0x59778
cmp edx, dword [eax + 4]
jne 0x1001c561
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xc], 0
call fcn.1003b6d0
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x98]
push edx
push eax
call fcn.1007ee60
add esp, 8
test eax, eax
je 0x1001c5a4
mov ebx, eax
mov eax, dword [ebx + 0x234]
mov dword [ebp - 0xc], eax
call fcn.1003b6d0
cmp dword [ebp - 0xc], 0
je 0x1001c676
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x59788]
mov ebx, dword [eax]
add edi, 0x59784
cmp edi, edi
mov ecx, dword [edi + 4]
mov dword [ebp - 0xb0], ecx
je 0x1001c5d6
call fcn.10080d40
cmp ebx, dword [ebp - 0xb0]
je 0x1001c61b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
add eax, 0x59778
cmp edx, dword [eax + 4]
jne 0x1001c5f3
call fcn.10080d40
cmp ebx, dword [edi + 4]
jne 0x1001c5fd
call fcn.10080d40
mov eax, dword [esi + 8]
cmp dword [ebx + 0x10], eax
mov ecx, dword [esi + 4]
jne 0x1001c60d
cmp dword [ebx + 0xc], ecx
je 0x1001c61b
cmp ebx, dword [edi + 4]
jne 0x1001c617
call fcn.10080d40
mov ebx, dword [ebx]
jmp 0x1001c5c4
cmp edi, edi
mov eax, dword [edi + 4]
mov dword [ebp - 0xd0], eax
je 0x1001c62d
call fcn.10080d40
cmp ebx, dword [ebp - 0xd0]
jne 0x1001c676
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001c64a
call fcn.10080d40
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
push edx
push eax
mov ebx, esi
mov dword [ebp - 0x158], eax
call fcn.1001ddf0
mov ecx, edi
mov ebx, eax
call fcn.1001de40
mov eax, dword [ebp - 0x158]
mov dword [eax + 4], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
add ebx, 0x59778
cmp edi, dword [ebx + 4]
mov dword [ebp - 0xc], ebx
jne 0x1001c68f
call fcn.10080d40
mov eax, dword [edi + 0x10]
and eax, 0xfffff
lea edx, [eax - 0x2adfb]
cmp edx, 7
jbe 0x1001c6ad
cmp eax, 0x2ae04
jne 0x1001c82a
cmp edi, dword [ebx + 4]
jne 0x1001c6b7
call fcn.10080d40
fld dword [esi + 0x10]
fstp dword [ebp - 0x90]
fld dword [esi + 0xc]
fstp dword [ebp - 0x94]
fld dword [esi + 0x14]
fstp dword [ebp - 0x8c]
emms
fld dword [ebp - 0x90]
fsub dword [ebp - 0x20]
fld dword [ebp - 0x94]
fsub dword [ebp - 0x24]
fld dword [ebp - 0x8c]
fsub dword [ebp - 0x1c]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [ebp - 8]
fld dword [ebp - 8]
call fcn.10094530
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp dword [0x100a9894]
fnstsw ax
test ah, 5
jp 0x1001c82a
cmp edi, dword [ebx + 4]
jne 0x1001c72b
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 8], 0
call fcn.1003b6d0
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
push edx
push eax
call fcn.1007ee60
add esp, 8
test eax, eax
je 0x1001c762
mov ebx, eax
mov eax, dword [ebx + 0x234]
mov dword [ebp - 8], eax
call fcn.1003b6d0
cmp dword [ebp - 8], 0
je 0x1001c82a
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x59788]
mov ebx, dword [eax]
add edi, 0x59784
cmp edi, edi
mov ecx, dword [edi + 4]
mov dword [ebp - 0xe0], ecx
je 0x1001c794
call fcn.10080d40
cmp ebx, dword [ebp - 0xe0]
je 0x1001c7d4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp edx, dword [eax + 4]
jne 0x1001c7ac
call fcn.10080d40
cmp ebx, dword [edi + 4]
jne 0x1001c7b6
call fcn.10080d40
mov eax, dword [esi + 8]
cmp dword [ebx + 0x10], eax
mov ecx, dword [esi + 4]
jne 0x1001c7c6
cmp dword [ebx + 0xc], ecx
je 0x1001c7d4
cmp ebx, dword [edi + 4]
jne 0x1001c7d0
call fcn.10080d40
mov ebx, dword [ebx]
jmp 0x1001c782
cmp edi, edi
mov ecx, dword [edi + 4]
mov dword [ebp - 0x120], ecx
je 0x1001c7e6
call fcn.10080d40
cmp ebx, dword [ebp - 0x120]
jne 0x1001c82a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp edx, dword [eax + 4]
jne 0x1001c7fe
call fcn.10080d40
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
push eax
mov ebx, esi
mov dword [ebp - 0xf0], eax
call fcn.1001ddf0
mov ecx, edi
mov ebx, eax
call fcn.1001de40
mov edx, dword [ebp - 0xf0]
mov dword [edx + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ecx + 4]
jne 0x1001c83a
call fcn.10080d40
mov eax, dword [edi + 0x10]
and eax, 0xfffff
call fcn.10016640
test eax, eax
je 0x1001ca79
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp edx, dword [eax + 4]
jne 0x1001c85f
call fcn.10080d40
fld dword [esi + 0x10]
fstp dword [ebp - 0xa8]
fld dword [esi + 0xc]
fstp dword [ebp - 0xac]
fld dword [esi + 0x14]
fstp dword [ebp - 0xa4]
emms
fld dword [ebp - 0xa8]
fsub dword [ebp - 0x20]
fld dword [ebp - 0xac]
fsub dword [ebp - 0x24]
fld dword [ebp - 0xa4]
fsub dword [ebp - 0x1c]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [ebp - 8]
fld dword [ebp - 8]
call fcn.10094530
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp dword [0x100a98a8]
fnstsw ax
test ah, 5
jp 0x1001ca79
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
cmp edi, dword [ebx + 4]
jne 0x1001c8d9
call fcn.10080d40
cmp edi, dword [ebx + 4]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x84], ecx
jne 0x1001c8ec
call fcn.10080d40
mov eax, dword [ebp + 8]
cmp dword [eax + 0x624], 0
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x80], edx
je 0x1001c933
call fcn.1003b6d0
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
push edx
push eax
call fcn.1007ee60
add esp, 8
test eax, eax
je 0x1001c929
mov ebx, eax
add ebx, 0x234
mov eax, 0
mov dword [ebx], eax
call fcn.1003b6d0
jmp 0x1001ca79
cmp edi, dword [ebx + 4]
jne 0x1001c93d
call fcn.10080d40
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 8], 0
call fcn.1003b6d0
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
push edx
push eax
call fcn.1007ee60
add esp, 8
test eax, eax
je 0x1001c974
mov ebx, eax
mov eax, dword [ebx + 0x234]
mov dword [ebp - 8], eax
call fcn.1003b6d0
cmp dword [ebp - 8], 0
je 0x1001ca79
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x59788]
mov ebx, dword [ecx]
add edi, 0x59784
cmp edi, edi
mov edx, dword [edi + 4]
mov dword [ebp - 0x140], edx
je 0x1001c9a6
call fcn.10080d40
cmp ebx, dword [ebp - 0x140]
je 0x1001c9e6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx + 4]
jne 0x1001c9be
call fcn.10080d40
cmp ebx, dword [edi + 4]
jne 0x1001c9c8
call fcn.10080d40
mov eax, dword [esi + 8]
cmp dword [ebx + 0x10], eax
mov ecx, dword [esi + 4]
jne 0x1001c9d8
cmp dword [ebx + 0xc], ecx
je 0x1001c9e6
cmp ebx, dword [edi + 4]
jne 0x1001c9e2
call fcn.10080d40
mov ebx, dword [ebx]
jmp 0x1001c994
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp edx, dword [eax + 4]
jne 0x1001c9f6
call fcn.10080d40
fld dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
fsub dword [ecx + 0x1c]
fstp dword [ebp - 8]
fld dword [ebp - 8]
fabs
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp dword [0x100a9890]
fnstsw ax
test ah, 0x41
je 0x1001cc43
cmp edi, edi
mov edx, dword [edi + 4]
mov dword [ebp - 0x100], edx
je 0x1001ca30
call fcn.10080d40
cmp ebx, dword [ebp - 0x100]
jne 0x1001ca79
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001ca4d
call fcn.10080d40
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
push edx
push eax
mov ebx, esi
mov dword [ebp - 0x130], eax
call fcn.1001ddf0
mov ecx, edi
mov ebx, eax
call fcn.1001de40
mov eax, dword [ebp - 0x130]
mov dword [eax + 4], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
add ebx, 0x59778
cmp edi, dword [ebx + 4]
jne 0x1001ca8f
call fcn.10080d40
mov edx, dword [edi + 0x10]
and edx, 0xfffff
cmp edx, 0x2d350
je 0x1001cac0
cmp edi, dword [ebx + 4]
jne 0x1001caaa
call fcn.10080d40
mov eax, dword [edi + 0x10]
and eax, 0xfffff
cmp eax, 0x2c6de
jne 0x1001cc43
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0x59778
cmp edi, dword [eax + 4]
jne 0x1001cad2
call fcn.10080d40
fld dword [esi + 0x10]
fstp dword [ebp - 0x58]
fld dword [esi + 0xc]
fstp dword [ebp - 0x5c]
fld dword [esi + 0x14]
fstp dword [ebp - 0x54]
emms
fld dword [ebp - 0x58]
fsub dword [ebp - 0x20]
fld dword [ebp - 0x5c]
fsub dword [ebp - 0x24]
fld dword [ebp - 0x54]
fsub dword [ebp - 0x1c]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [ebp - 8]
fld dword [ebp - 8]
call fcn.10094530
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp dword [0x100a9898]
fnstsw ax
test ah, 5
jp 0x1001cc43
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x59788]
mov ebx, dword [ecx]
add edi, 0x59784
jmp 0x1001cb40
cmp edi, edi
mov edx, dword [edi + 4]
mov dword [ebp - 0xb8], edx
je 0x1001cb52
call fcn.10080d40
cmp ebx, dword [ebp - 0xb8]
je 0x1001cb97
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001cb6f
call fcn.10080d40
cmp ebx, dword [edi + 4]
jne 0x1001cb79
call fcn.10080d40
mov eax, dword [esi + 8]
cmp dword [ebx + 0x10], eax
mov ecx, dword [esi + 4]
jne 0x1001cb89
cmp dword [ebx + 0xc], ecx
je 0x1001cb97
cmp ebx, dword [edi + 4]
jne 0x1001cb93
call fcn.10080d40
mov ebx, dword [ebx]
jmp 0x1001cb40
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
add eax, 0x59778
cmp edx, dword [eax + 4]
jne 0x1001cbac
call fcn.10080d40
mov eax, dword [ebp - 0x10]
fld dword [ebp - 0x1c]
fsub dword [eax + 0x1c]
fstp dword [ebp - 8]
fld dword [ebp - 8]
fabs
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp dword [0x100a9890]
fnstsw ax
test ah, 0x41
je 0x1001cc43
cmp edi, edi
mov ecx, dword [edi + 4]
mov dword [ebp - 0xc8], ecx
je 0x1001cbe2
call fcn.10080d40
cmp ebx, dword [ebp - 0xc8]
jne 0x1001cc43
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5975c]
mov edx, dword [ecx]
add eax, 0xc
push eax
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x1001cc43
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, 0x59778
cmp ecx, dword [eax + 4]
jne 0x1001cc17
call fcn.10080d40
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
push edx
push eax
mov ebx, esi
mov dword [ebp - 0xd8], eax
call fcn.1001ddf0
mov ecx, edi
mov esi, eax
call fcn.1001de40
mov eax, dword [ebp - 0xd8]
mov dword [eax + 4], esi
mov ecx, dword [esi + 4]
mov dword [ecx], esi
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
add eax, 0x59778
cmp esi, dword [eax + 4]
mov dword [ebp - 0xc], eax
jne 0x1001cc5b
call fcn.10080d40
mov edx, dword [esi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov esi, edx
jmp 0x1001bfd5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4