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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10081f12
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x597dc]
cmp ecx, 2
je 0x10054719
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
jmp 0x10055a1d
mov ebp, dword [eax + 0x59774]
push eax
call fcn.1001be00
push ebx
call fcn.10004230
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x597b0]
xor edi, edi
cmp ecx, edi
ja 0x1005476e
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp + 0xfc], edi
mov ebx, dword [ebx + 0x14]
lea eax, [ebx + 0x597e8]
lea ebx, [esp + 0x28]
mov dword [esp + 0x28], 2
call fcn.100053d0
mov dword [eax], edi
jmp 0x10055a18
cmp dword [eax + 0x597b0], edi
lea esi, [eax + 0x597a8]
mov dword [esp + 0x20], esi
jne 0x10054798
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp + 0xfc], edi
jmp 0x10055a18
cmp dword [ebp + 0xa4], edi
jne 0x10055a18
mov eax, dword [esi + 4]
mov edi, dword [eax]
cmp edi, eax
jne 0x100547b2
call fcn.10067664
add edi, 8
mov ecx, edi
mov dword [esp + 0x24], edi
call fcn.10063a70
fld dword [edi + 0xc]
fstp dword [esp + 0x4c]
neg eax
fld dword [edi + 8]
sbb eax, eax
fstp dword [esp + 0x48]
add eax, 1
fld dword [edi + 0x10]
mov dword [edi + 0xa0], eax
fstp dword [esp + 0x50]
lea eax, [esp + 0x5c]
fld dword [edi + 0x14]
lea ecx, [esp + 0x48]
fstp dword [esp + 0x54]
fld dword [ebp + 0x24]
fstp dword [esp + 0x60]
fld dword [ebp + 0x20]
fstp dword [esp + 0x5c]
fld dword [ebp + 0x28]
fstp dword [esp + 0x64]
fld dword [ebp + 0x2c]
fstp dword [esp + 0x68]
call fcn.10023f00
fst qword [esp + 0x2c]
fcomp qword [0x1008b750]
fnstsw ax
test ah, 0x41
jp 0x100548b5
fld dword [esp + 0x48]
sub esp, 0x10
fsub dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x5c]
fsub dword [esp + 0x70]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x38]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x10054885
push ebp
call fcn.10004080
fld dword [esp + 0x28]
push ecx
fstp dword [esp]
call fcn.10022bd0
call fcn.10004d90
test eax, eax
jne 0x100548b5
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x10055a18
mov eax, esi
call fcn.10005300
mov eax, dword [ebx + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
jmp 0x10055a18
call fcn.10064a60
test eax, eax
je 0x100548e5
mov eax, edi
call fcn.10003fe0
test eax, eax
jne 0x100548e5
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
mov ecx, dword [ebx + 0x14]
push ecx
mov eax, edi
call fcn.1001ca30
mov eax, esi
call fcn.10005300
call fcn.10065520
test eax, eax
mov esi, 1
je 0x10054900
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebx + 0x7c], esi
cmp dword [ebx + 0x7c], esi
jle 0x10054911
call fcn.1002a700
mov dword [ebx + 0x7c], 0
cmp dword [ebx + 0x38], 0
jne 0x10054933
fld dword [ebp + 0x24]
fstp dword [ebx + 0x28]
fld dword [ebp + 0x20]
fstp dword [ebx + 0x24]
fld dword [ebp + 0x28]
fstp dword [ebx + 0x2c]
mov dword [ebx + 0x34], 0x211
mov dword [ebx + 0x38], esi
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
push ecx
push eax
mov eax, ebp
call fcn.100040c0
test eax, eax
je 0x100549b4
fld qword [0x1008b830]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x10054976
fld dword [esp + 0x4c]
mov dword [ebx + 0x34], 0x211
fstp dword [ebx + 0x28]
mov dword [ebx + 0x38], esi
fld dword [esp + 0x48]
fstp dword [ebx + 0x24]
fld dword [esp + 0x50]
fstp dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
lea eax, [ebx + 0x24]
mov ecx, 2
mov esi, ebp
call fcn.1004a2f0
cmp eax, 2
jne 0x100549a6
mov edx, dword [ebx + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
jmp 0x10054a7e
cmp eax, 1
jne 0x10054a85
jmp 0x10054a7e
fld dword [edi + 0xc]
fstp dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
fld dword [edi + 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0x70]
fld dword [edi + 0x10]
mov eax, dword [esp + 0x70]
fstp dword [esp + 0x78]
mov edx, dword [esp + 0x78]
fld dword [edi + 0x14]
mov dword [esp + 0x48], eax
fstp dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
fld dword [ebp + 0x24]
mov dword [esp + 0x50], edx
fstp dword [esp + 0x60]
mov dword [esp + 0x54], eax
fld dword [ebp + 0x20]
mov dword [esp + 0x58], ecx
fstp dword [esp + 0x5c]
fld dword [ebp + 0x28]
fstp dword [esp + 0x64]
fld dword [ebp + 0x2c]
fstp dword [esp + 0x68]
call fcn.10065c10
test al, al
je 0x10054a2f
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x48]
call fcn.10023f00
jmp 0x10054a5f
fld dword [esp + 0x5c]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esp + 0x70]
fstp dword [esp + 8]
fld dword [esp + 0x80]
fstp dword [esp + 4]
fld dword [esp + 0x84]
fstp dword [esp]
call fcn.10017880
add esp, 0x10
fst qword [esp + 0x2c]
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100559b2
push ebp
fstp st(0)
call fcn.10004080
mov dword [ebx + 0x38], 0
fld dword [esp + 0x48]
sub esp, 0x10
fsub dword [esp + 0x6c]
fst qword [esp + 0x4c]
fld dword [esp + 0x5c]
fsub dword [esp + 0x70]
fst qword [esp + 0x44]
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x38]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x10054ae7
fld dword [esp + 0x28]
push ecx
fstp dword [esp]
call fcn.10022bd0
fld qword [0x1008b830]
fld qword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x10054b67
fld dword [esp + 0x4c]
lea eax, [ebx + 0x24]
fld qword [esp + 0x34]
mov edx, 0x211
fdiv st(2)
mov ecx, 2
mov esi, ebp
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], 1
fsubp st(1)
fstp dword [ebx + 0x28]
fld qword [esp + 0x3c]
fdivrp st(1)
fsubr dword [esp + 0x48]
fstp dword [eax]
fld dword [esp + 0x50]
fstp dword [ebx + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x10054b57
mov edx, dword [ebx + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
jmp 0x10054b5c
cmp eax, 1
jne 0x10054b63
mov dword [ebx + 0x38], 0
fld qword [esp + 0x2c]
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x10054be6
fld dword [esp + 0x4c]
lea eax, [ebx + 0x24]
fld qword [esp + 0x34]
mov edx, 0x211
fdiv st(2)
mov ecx, 2
mov esi, ebp
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], 1
fsubp st(1)
fstp dword [ebx + 0x28]
fld qword [esp + 0x3c]
fdivrp st(1)
fsubr dword [esp + 0x48]
fstp dword [eax]
fld dword [esp + 0x50]
fstp dword [ebx + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x10054bd8
mov eax, dword [ebx + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
mov dword [ebx + 0x38], 0
jmp 0x10054be8
cmp eax, 1
jne 0x10054be8
mov dword [ebx + 0x38], 0
jmp 0x10054be8
fstp st(0)
push 0x11
call fcn.1004b2a0
test eax, eax
je 0x10054c20
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp]
add eax, 0x18
push eax
mov eax, dword [edx + 0x38]
mov ecx, ebp
call eax
test eax, eax
je 0x10054c20
mov edx, dword [ebp]
mov eax, dword [edx + 0x4c]
mov ecx, ebp
call eax
test eax, eax
jle 0x10054c20
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
push 0x12
call fcn.1004b2a0
test eax, eax
je 0x10054c58
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp]
add eax, 0x18
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebp
call eax
test eax, eax
je 0x10054c58
mov edx, dword [ebp]
mov eax, dword [edx + 0x50]
mov ecx, ebp
call eax
test eax, eax
jle 0x10054c58
mov edx, dword [ebp]
mov eax, dword [edx + 0x5c]
mov ecx, ebp
call eax
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x10054c7f
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, ebp
call eax
test eax, eax
jle 0x10054c7f
mov edx, dword [ebp]
mov eax, dword [edx + 0x64]
push 0x19
mov ecx, ebp
call eax
push 0x1a
call fcn.1004b2a0
test eax, eax
je 0x10054ca6
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, ebp
call eax
test eax, eax
jle 0x10054ca6
mov edx, dword [ebp]
mov eax, dword [edx + 0x64]
push 0x1a
mov ecx, ebp
call eax
fld qword [0x1008b730]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x10055a18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x3c]
cmp eax, 0x1f4
jbe 0x10055a18
fld qword [0x1008b800]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x10054ef6
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ae28
call fcn.10001a30
lea edx, [esp + 0x28]
lea edi, [ebx + 0x68]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10054d91
cmp dword [esi + 0x14], 0
jne 0x10054d91
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10054d91
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
push ecx
push eax
mov eax, ebp
call fcn.100040c0
test eax, eax
je 0x10054d91
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, ebp
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x3c], eax
jmp 0x10055a18
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ad74
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 1
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10054e3b
cmp dword [esi + 0x14], 0
jne 0x10054e3b
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x10054e3b
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
push ecx
push eax
mov eax, ebp
call fcn.100040c0
test eax, eax
je 0x10054e3b
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
push edx
mov ecx, ebp
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x3c], eax
jmp 0x10055a18
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ad7c
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 2
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10055a18
cmp dword [edi + 0x14], 0
jne 0x10055a18
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10055a18
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
push ecx
push eax
mov eax, ebp
call fcn.100040c0
test eax, eax
je 0x10055a18
mov ecx, dword [edi]
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebp
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x3e8
mov dword [ebx + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10055a18
mov eax, ebp
call fcn.100040a0
cmp eax, 0x28
ja 0x10054f78
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ad84
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc4], 3
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10054f78
cmp dword [edi + 0x14], 0
jne 0x10054f78
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10054f78
mov eax, dword [edi]
jmp 0x1005599c
mov eax, ebp
call fcn.100040a0
cmp eax, 0x50
ja 0x10055033
lea eax, [esp + 0x28]
push eax
mov ecx, str.b__rY
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc4], 4
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055033
cmp dword [esi + 0x14], 0
jne 0x10055033
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x10055033
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 1
jl 0x10055033
mov edx, dword [ebp]
mov eax, dword [edx + 0x7c]
mov ecx, ebp
call eax
cmp eax, 0x1e
jle 0x10055033
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx]
mov eax, ebp
call fcn.1004a950
test eax, eax
jne 0x10055033
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
jmp 0x1005599d
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ad8c
call fcn.10001a30
lea ecx, [esp + 0x28]
lea edi, [ebx + 0x68]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 5
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100550e4
cmp dword [esi + 0x14], 0
jne 0x100550e4
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x100550e4
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 1
jle 0x100550e4
mov eax, dword [ebp]
mov edx, dword [eax + 0x7c]
mov ecx, ebp
call edx
cmp eax, 0x28
jge 0x100550e4
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
push edx
mov ecx, ebp
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x3c], eax
jmp 0x10055a18
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x6c], 0
je 0x10055166
lea edx, [esp + 0x28]
push edx
mov ecx, 0x1008ad94
call fcn.10001a30
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov dword [esp + 0xc4], 6
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055166
cmp dword [esi + 0x14], 0
jne 0x10055166
mov ecx, esi
mov esi, dword [ecx]
call fcn.10064990
test eax, eax
jne 0x10055027
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ad9c
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 7
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100551de
cmp dword [esi + 0x14], 0
jne 0x100551de
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
jne 0x100550c5
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ae30
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 8
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055273
cmp dword [esi + 0x14], 0
jne 0x10055273
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10055273
mov edx, dword [ebp]
mov eax, dword [edx + 0x7c]
mov ecx, ebp
call eax
cmp eax, 0x1e
jle 0x10055273
mov eax, dword [esp + 0x24]
call fcn.10004040
cmp eax, 0x23
jbe 0x10055027
push 0xa
mov eax, ebx
call fcn.10004c90
cmp eax, 2
jle 0x1005550a
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ada8
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 9
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100552fd
cmp dword [esi + 0x14], 0
jne 0x100552fd
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
jne 0x100550c5
lea ecx, [esp + 0x28]
push ecx
mov ecx, str._g.b
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0xa
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055375
cmp dword [esi + 0x14], 0
jne 0x10055375
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
jne 0x10055027
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008adbc
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0xb
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100553f9
cmp dword [esi + 0x14], 0
jne 0x100553f9
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x100553f9
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 2
jge 0x100550c5
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008adc8
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055483
cmp dword [esi + 0x14], 0
jne 0x10055483
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10055483
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 4
jg 0x10055483
cmp dword [ebp + 0x4c], 0x23
ja 0x10055027
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008add0
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0xd
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005550a
cmp dword [esi + 0x14], 0
jne 0x1005550a
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005550a
mov edx, dword [esp + 0x20]
mov edi, dword [edx]
mov eax, ebp
call fcn.1004a950
test eax, eax
je 0x100550c5
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008add0
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc4], 0xe
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055592
cmp dword [esi + 0x14], 0
jne 0x10055592
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x10055592
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, ebp
call fcn.1004a950
test eax, eax
jne 0x10055027
lea eax, [esp + 0x28]
push eax
mov ecx, str._aRrR
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc4], 0xf
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055626
cmp dword [esi + 0x14], 0
jne 0x10055626
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x10055626
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 1
jl 0x10055626
mov edx, dword [esp + 0x20]
mov edi, dword [edx]
mov eax, ebp
call fcn.1004a950
test eax, eax
je 0x100550c5
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ade4
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc4], 0x10
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100556bf
cmp dword [esi + 0x14], 0
jne 0x100556bf
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x100556bf
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, dword [esp + 0x24]
call fcn.1005a6a0
test eax, eax
jne 0x100556bf
mov edx, dword [ebp]
mov eax, dword [edx + 0x7c]
mov ecx, ebp
call eax
cmp eax, 0x1e
jg 0x10055027
lea eax, [esp + 0x28]
push eax
mov ecx, str.oO_e
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc4], 0x11
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055753
cmp dword [esi + 0x14], 0
jne 0x10055753
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x10055753
mov edx, dword [esp + 0x20]
mov edi, dword [edx]
mov eax, ebp
call fcn.1004a950
test eax, eax
jne 0x10055753
mov eax, ebp
call fcn.100040a0
cmp eax, 0x46
jb 0x100550c5
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ae38
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc4], 0x12
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100557f8
cmp dword [edi + 0x14], 0
jne 0x100557f8
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100557f8
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 5
jne 0x100557f8
mov eax, dword [ebp]
mov edx, dword [eax + 0x7c]
mov ecx, ebp
call edx
cmp eax, 0x23
jle 0x100557f8
mov ecx, dword [edi]
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebp
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x3c], eax
jmp 0x10055a18
lea eax, [esp + 0x28]
push eax
mov ecx, 0x10089a5c
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc4], 0x13
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005589b
cmp dword [esi + 0x14], 0
jne 0x1005589b
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005589b
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 5
jne 0x1005589b
mov edx, dword [ebp]
mov eax, dword [edx + 0x7c]
mov ecx, ebp
call eax
cmp eax, 0x19
jle 0x1005589b
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx]
mov eax, ebp
call fcn.1004a950
test eax, eax
je 0x10055027
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ae40
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea edi, [ebx + 0x68]
mov ecx, edi
mov dword [esp + 0xc4], 0x14
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055925
cmp dword [esi + 0x14], 0
jne 0x10055925
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x10055925
mov eax, dword [ebp]
mov edx, dword [eax + 0x7c]
mov ecx, ebp
call edx
cmp eax, 0x37
jg 0x100550c5
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.R_e
call fcn.10001a30
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0x15
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10055a18
mov eax, dword [esi]
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x68]
call eax
test eax, eax
jne 0x10055a18
mov eax, dword [esi]
push eax
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
mov ecx, ebp
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x3c], eax
jmp 0x10055a18
fld dword [esp + 0x74]
lea eax, [ebx + 0x24]
fld dword [esp + 0x60]
mov edx, 0x211
fsubr st(1)
mov dword [ebx + 0x38], esi
mov ecx, esi
mov esi, ebp
fdiv st(2)
mov dword [ebx + 0x34], edx
fsubp st(1)
fstp dword [ebx + 0x28]
fld dword [esp + 0x70]
fld dword [esp + 0x5c]
fsubr st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [eax]
fld dword [esp + 0x78]
fstp dword [ebx + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x10055a0c
mov eax, dword [ebx + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
jmp 0x10055a11
cmp eax, 1
jne 0x10055a18
mov dword [ebx + 0x38], 0
mov eax, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4