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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10082027
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 ebp, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x597dc]
cmp ecx, 2
je 0x100530ac
xor eax, eax
mov dword [ebp + 0xa0], eax
mov dword [ebp + 0xa8], eax
mov dword [ebp + 0xac], eax
jmp 0x10054317
mov ebx, dword [eax + 0x59774]
push eax
call fcn.1001be00
push ebp
call fcn.10004230
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x597b0]
xor edi, edi
cmp ecx, edi
ja 0x1005310c
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebx + 0xfc], edi
mov eax, dword [ebp + 0x14]
add eax, 0x597e8
lea ebx, [esp + 0x28]
mov dword [esp + 0x28], 2
call fcn.100053d0
fld qword [0x1008b6c0]
mov dword [eax], edi
fstp qword [ebp + 0x98]
jmp 0x10054312
cmp dword [eax + 0x597b0], edi
lea esi, [eax + 0x597a8]
mov dword [esp + 0x20], esi
jne 0x10053136
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebx + 0xfc], edi
jmp 0x10054312
cmp dword [ebx + 0xa4], edi
jne 0x10054312
mov eax, dword [esi + 4]
mov edi, dword [eax]
cmp edi, eax
jne 0x10053150
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 [ebx + 0x24]
fstp dword [esp + 0x60]
fld dword [ebx + 0x20]
fstp dword [esp + 0x5c]
fld dword [ebx + 0x28]
fstp dword [esp + 0x64]
fld dword [ebx + 0x2c]
fstp dword [esp + 0x68]
call fcn.10023f00
fst qword [esp + 0x2c]
fcomp qword [0x1008b750]
fnstsw ax
test ah, 0x41
jp 0x10053253
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 0x10053223
push ebx
call fcn.10004080
fld dword [esp + 0x28]
push ecx
fstp dword [esp]
call fcn.10022bd0
call fcn.10004d90
test eax, eax
jne 0x10053253
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x10054312
mov eax, esi
call fcn.10005300
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
jmp 0x10054312
call fcn.10064a60
test eax, eax
je 0x10053283
mov eax, edi
call fcn.10003fe0
test eax, eax
jne 0x10053283
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
mov ecx, dword [ebp + 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 0x100532a1
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebp + 0xa4], esi
cmp dword [ebp + 0xa4], esi
jle 0x100532b8
call fcn.1002a700
mov dword [ebp + 0xa4], 0
cmp dword [ebp + 0x38], 0
jne 0x100532da
fld dword [ebx + 0x24]
fstp dword [ebp + 0x28]
fld dword [ebx + 0x20]
fstp dword [ebp + 0x24]
fld dword [ebx + 0x28]
fstp dword [ebp + 0x2c]
mov dword [ebp + 0x34], 0x211
mov dword [ebp + 0x38], esi
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
push ecx
push eax
mov eax, ebx
call fcn.100040c0
test eax, eax
je 0x1005335b
fld qword [0x1008b830]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x1005331d
fld dword [esp + 0x4c]
mov dword [ebp + 0x34], 0x211
fstp dword [ebp + 0x28]
mov dword [ebp + 0x38], esi
fld dword [esp + 0x48]
fstp dword [ebp + 0x24]
fld dword [esp + 0x50]
fstp dword [ebp + 0x2c]
mov edx, dword [ebp + 0x34]
lea eax, [ebp + 0x24]
mov ecx, 2
mov esi, ebx
call fcn.1004a2f0
cmp eax, 2
jne 0x1005334d
mov edx, dword [ebp + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
jmp 0x10053425
cmp eax, 1
jne 0x1005342c
jmp 0x10053425
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 [ebx + 0x24]
mov dword [esp + 0x50], edx
fstp dword [esp + 0x60]
mov dword [esp + 0x54], eax
fld dword [ebx + 0x20]
mov dword [esp + 0x58], ecx
fstp dword [esp + 0x5c]
fld dword [ebx + 0x28]
fstp dword [esp + 0x64]
fld dword [ebx + 0x2c]
fstp dword [esp + 0x68]
call fcn.10065c10
test al, al
je 0x100533d6
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x48]
call fcn.10023f00
jmp 0x10053406
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 0x100542ac
push ebx
fstp st(0)
call fcn.10004080
mov dword [ebp + 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 0x1005348e
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 0x1005350e
fld dword [esp + 0x4c]
lea eax, [ebp + 0x24]
fld qword [esp + 0x34]
mov edx, 0x211
fdiv st(2)
mov ecx, 2
mov esi, ebx
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x38], 1
fsubp st(1)
fstp dword [ebp + 0x28]
fld qword [esp + 0x3c]
fdivrp st(1)
fsubr dword [esp + 0x48]
fstp dword [eax]
fld dword [esp + 0x50]
fstp dword [ebp + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x100534fe
mov edx, dword [ebp + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
jmp 0x10053503
cmp eax, 1
jne 0x1005350a
mov dword [ebp + 0x38], 0
fld qword [esp + 0x2c]
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x1005358d
fld dword [esp + 0x4c]
lea eax, [ebp + 0x24]
fld qword [esp + 0x34]
mov edx, 0x211
fdiv st(2)
mov ecx, 2
mov esi, ebx
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x38], 1
fsubp st(1)
fstp dword [ebp + 0x28]
fld qword [esp + 0x3c]
fdivrp st(1)
fsubr dword [esp + 0x48]
fstp dword [eax]
fld dword [esp + 0x50]
fstp dword [ebp + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x1005357f
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
mov dword [ebp + 0x38], 0
jmp 0x1005358f
cmp eax, 1
jne 0x1005358f
mov dword [ebp + 0x38], 0
jmp 0x1005358f
fstp st(0)
push 0x11
call fcn.1004b2a0
test eax, eax
je 0x100535c4
mov eax, dword [ebp + 0x14]
mov edx, dword [ebx]
add eax, 0x18
push eax
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
test eax, eax
je 0x100535c4
mov edx, dword [ebx]
mov eax, dword [edx + 0x4c]
mov ecx, ebx
call eax
test eax, eax
jle 0x100535c4
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
push 0x12
call fcn.1004b2a0
test eax, eax
je 0x100535f9
mov eax, dword [ebp + 0x14]
mov edx, dword [ebx]
add eax, 0x18
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
test eax, eax
je 0x100535f9
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
mov ecx, ebx
call eax
test eax, eax
jle 0x100535f9
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
mov ecx, ebx
call eax
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x1005361e
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, ebx
call eax
test eax, eax
jle 0x1005361e
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 0x19
mov ecx, ebx
call eax
push 0x1a
call fcn.1004b2a0
test eax, eax
je 0x10053643
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, ebx
call eax
test eax, eax
jle 0x10053643
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 0x1a
mov ecx, ebx
call eax
fld qword [0x1008b730]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x10054312
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x1f4
jbe 0x10054312
fld qword [0x1008b800]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x100537e5
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ad74
call fcn.10001a30
lea edx, [esp + 0x28]
lea edi, [ebp + 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, ebp
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 0x1005372b
cmp dword [esi + 0x14], 0
jne 0x1005372b
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005372b
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
push ecx
push eax
mov eax, ebx
call fcn.100040c0
test eax, eax
je 0x1005372b
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
push edx
mov ecx, ebx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x10054312
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], 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, ebp
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 0x10054312
cmp dword [edi + 0x14], 0
jne 0x10054312
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10054312
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
push ecx
push eax
mov eax, ebx
call fcn.100040c0
test eax, eax
je 0x10054312
mov ecx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x3e8
mov dword [ebp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10054312
mov eax, ebx
call fcn.100040a0
cmp eax, 0x28
ja 0x10053867
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ad84
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x68]
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, ebp
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 0x10053867
cmp dword [edi + 0x14], 0
jne 0x10053867
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10053867
mov eax, dword [edi]
jmp 0x10054297
mov eax, ebx
call fcn.100040a0
cmp eax, 0x50
ja 0x1005391d
lea eax, [esp + 0x28]
push eax
mov ecx, str.b__rY
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 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, ebp
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 0x1005391d
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x1005391d
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x1005391d
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 1
jl 0x1005391d
mov edx, dword [ebx]
mov eax, dword [edx + 0x7c]
mov ecx, ebx
call eax
cmp eax, 0x1e
jle 0x1005391d
mov esi, dword [esp + 0x20]
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x10054295
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ad8c
call fcn.10001a30
lea edx, [esp + 0x28]
lea ecx, [ebp + 0x68]
push edx
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, ebp
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 0x100539c0
cmp dword [edi + 0x14], 0
jne 0x100539c0
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100539c0
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 1
jle 0x100539c0
mov eax, dword [ebx]
mov edx, dword [eax + 0x7c]
mov ecx, ebx
call edx
cmp eax, 0x28
jge 0x100539c0
mov ecx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x10054312
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x6c], 0
je 0x10053a3d
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ad94
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
lea ecx, [ebp + 0x68]
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, ebp
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 0x10053a3d
cmp dword [edi + 0x14], 0
jne 0x10053a3d
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x100539a6
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ad9c
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x68]
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, ebp
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 0x10053ab0
cmp dword [edi + 0x14], 0
jne 0x10053ab0
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10053860
push 0xa
mov eax, ebp
call fcn.10004c90
cmp eax, 2
jle 0x10053d5e
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ada8
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea edi, [ebp + 0x68]
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, ebp
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 0x10053b47
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10053b47
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10053b47
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
jmp 0x10054298
lea eax, [esp + 0x28]
push eax
mov ecx, str._g.b
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
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, ebp
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 0x10053bc1
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10053bc1
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
jne 0x10053b3b
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], 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, ebp
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 0x10053c47
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10053c47
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10053c47
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 2
jge 0x10053b3b
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008adc8
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
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, ebp
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 0x10053cd3
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10053cd3
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10053cd3
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 4
jg 0x10053cd3
cmp dword [ebx + 0x4c], 0x23
ja 0x10053b3b
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], 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, ebp
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 0x10053d5e
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10053d5e
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10053d5e
mov esi, dword [esp + 0x20]
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x10054295
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008add0
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x68]
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, ebp
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 0x10053dea
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10053dea
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10053dea
mov esi, dword [esp + 0x20]
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x10054295
lea eax, [esp + 0x28]
push eax
mov ecx, str._aRrR
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x68]
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, ebp
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 0x10053e82
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10053e82
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10053e82
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 1
jl 0x10053e82
mov esi, dword [esp + 0x20]
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x10054295
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ade4
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 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, ebp
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 0x10053f1e
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10053f1e
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10053f1e
mov esi, dword [esp + 0x20]
mov edi, dword [esi]
mov eax, dword [esp + 0x24]
call fcn.1005a6a0
test eax, eax
jne 0x10053f1e
mov edx, dword [ebx]
mov eax, dword [edx + 0x7c]
mov ecx, ebx
call eax
cmp eax, 0x1e
jg 0x10054295
lea eax, [esp + 0x28]
push eax
mov ecx, str.oO_e
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0xf
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, ebp
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 0x10053fb6
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10053fb6
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10053fb6
mov esi, dword [esp + 0x20]
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
jne 0x10053fb6
mov eax, ebx
call fcn.100040a0
cmp eax, 0x46
jb 0x10054295
lea eax, [esp + 0x28]
push eax
mov ecx, 0x10089a5c
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0x10
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, ebp
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 0x1005405c
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x1005405c
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x1005405c
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 5
jne 0x1005405c
mov edx, dword [ebx]
mov eax, dword [edx + 0x7c]
mov ecx, ebx
call eax
cmp eax, 0x19
jle 0x1005405c
mov esi, dword [esp + 0x20]
mov edi, dword [esi]
mov eax, ebx
call fcn.1004a950
test eax, eax
je 0x10054295
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008adf4
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 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, ebp
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 0x100540e9
cmp dword [edi + 0x14], 0
jne 0x100540e9
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100540e9
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 5
jne 0x100540e9
mov edx, dword [ebx]
mov eax, dword [edx + 0x7c]
mov ecx, ebx
call eax
cmp eax, 0x23
jg 0x10053860
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008adfc
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea edi, [ebp + 0x68]
mov ecx, edi
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, ebp
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 0x10054198
cmp dword [esi + 0x14], 0
jne 0x10054198
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x10054198
mov ecx, ebx
call fcn.1002cdb0
cmp eax, 4
jne 0x10054198
mov eax, dword [ebx]
mov edx, dword [eax + 0x7c]
mov ecx, ebx
call edx
cmp eax, 0x28
jle 0x10054198
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
push edx
mov ecx, ebx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x10054312
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ae08
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
mov ecx, edi
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, ebp
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 0x10054220
mov eax, esi
cmp dword [eax + 0x14], 0
jne 0x10054220
mov ecx, esi
mov esi, dword [ecx]
call fcn.10064990
test eax, eax
je 0x10054220
mov edx, dword [ebx]
mov eax, dword [edx + 0x7c]
mov ecx, ebx
call eax
cmp eax, 0x28
jg 0x10053b3b
lea eax, [esp + 0x20]
push eax
mov ecx, str.R_e
call fcn.10001a30
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0x14
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, ebp
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 0x10054312
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 0x10054312
mov eax, dword [esi]
push eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x10054312
fld dword [esp + 0x74]
lea eax, [ebp + 0x24]
fld dword [esp + 0x60]
mov edx, 0x211
fsubr st(1)
mov dword [ebp + 0x38], esi
mov ecx, esi
mov esi, ebx
fdiv st(2)
mov dword [ebp + 0x34], edx
fsubp st(1)
fstp dword [ebp + 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 [ebp + 0x2c]
call fcn.1004a2f0
cmp eax, 2
jne 0x10054306
mov eax, dword [ebp + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
jmp 0x1005430b
cmp eax, 1
jne 0x10054312
mov dword [ebp + 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