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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10081df5
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 0x10055bdc
xor eax, eax
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
jmp 0x10056b0a
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 0x10055c31
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 0x10056b05
cmp dword [eax + 0x597b0], edi
lea esi, [eax + 0x597a8]
mov dword [esp + 0x20], esi
jne 0x10055c5b
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp + 0xfc], edi
jmp 0x10056b05
cmp dword [ebp + 0xa4], edi
jne 0x10056b05
mov eax, dword [esi + 4]
mov edi, dword [eax]
cmp edi, eax
jne 0x10055c75
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 0x10055d78
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 0x10055d48
push ebp
call fcn.10004080
fld dword [esp + 0x28]
push ecx
fstp dword [esp]
call fcn.10022bd0
call fcn.10004d90
test eax, eax
jne 0x10055d78
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x10056b05
mov eax, esi
call fcn.10005300
mov eax, dword [ebx + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
jmp 0x10056b05
call fcn.10064a60
test eax, eax
je 0x10055da8
mov eax, edi
call fcn.10003fe0
test eax, eax
jne 0x10055da8
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 0x10055dc6
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebx + 0xa4], esi
cmp dword [ebx + 0xa4], esi
jle 0x10055ddd
call fcn.1002a700
mov dword [ebx + 0xa4], 0
cmp dword [ebx + 0x38], 0
jne 0x10055dff
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 0x10055e80
fld qword [0x1008b830]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x10055e42
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 0x10055e72
mov edx, dword [ebx + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
jmp 0x10055f4a
cmp eax, 1
jne 0x10055f51
jmp 0x10055f4a
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 0x10055efb
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x48]
call fcn.10023f00
jmp 0x10055f2b
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 0x10056a9f
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 0x10055fb3
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 0x10056033
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 0x10056023
mov edx, dword [ebx + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
jmp 0x10056028
cmp eax, 1
jne 0x1005602f
mov dword [ebx + 0x38], 0
fld qword [esp + 0x2c]
fld qword [0x1008b798]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x100560b2
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 0x100560a4
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 0x100560b4
cmp eax, 1
jne 0x100560b4
mov dword [ebx + 0x38], 0
jmp 0x100560b4
fstp st(0)
push 0x11
call fcn.1004b2a0
test eax, eax
je 0x100560ec
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 0x100560ec
mov edx, dword [ebp]
mov eax, dword [edx + 0x4c]
mov ecx, ebp
call eax
test eax, eax
jle 0x100560ec
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
push 0x12
call fcn.1004b2a0
test eax, eax
je 0x10056124
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 0x10056124
mov edx, dword [ebp]
mov eax, dword [edx + 0x50]
mov ecx, ebp
call eax
test eax, eax
jle 0x10056124
mov edx, dword [ebp]
mov eax, dword [edx + 0x5c]
mov ecx, ebp
call eax
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x1005614b
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, ebp
call eax
test eax, eax
jle 0x1005614b
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 0x10056172
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, ebp
call eax
test eax, eax
jle 0x10056172
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 0x10056b05
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x3c]
cmp eax, 0x1f4
jbe 0x10056b05
fld qword [0x1008b800]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x10056316
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ad74
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 0x1005625b
cmp dword [esi + 0x14], 0
jne 0x1005625b
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005625b
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 0x1005625b
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 0x10056b05
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, 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 0x10056b05
cmp dword [edi + 0x14], 0
jne 0x10056b05
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10056b05
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 0x10056b05
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 0x10056b05
mov eax, ebp
call fcn.100040a0
cmp eax, 0x28
ja 0x10056398
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], 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 0x10056398
cmp dword [edi + 0x14], 0
jne 0x10056398
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10056398
mov eax, dword [edi]
jmp 0x10056a89
mov eax, ebp
call fcn.100040a0
cmp eax, 0x50
ja 0x10056453
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], 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 esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10056453
cmp dword [esi + 0x14], 0
jne 0x10056453
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x10056453
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 1
jl 0x10056453
mov edx, dword [ebp]
mov eax, dword [edx + 0x7c]
mov ecx, ebp
call eax
cmp eax, 0x1e
jle 0x10056453
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx]
mov eax, ebp
call fcn.1004a950
test eax, eax
jne 0x10056453
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
jmp 0x10056a8a
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x6c], 0
je 0x100564eb
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ad94
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
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 edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100564eb
cmp dword [edi + 0x14], 0
jne 0x100564eb
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100564eb
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 0x10056b05
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008ad9c
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 0x10056581
cmp dword [esi + 0x14], 0
jne 0x10056581
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x10056581
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 0x10056b05
push 0xa
mov eax, ebx
call fcn.10004c90
cmp eax, 2
jle 0x10056719
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1008ada8
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
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 0x1005660b
cmp dword [esi + 0x14], 0
jne 0x1005660b
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
jne 0x10056447
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], 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 0x1005668f
cmp dword [esi + 0x14], 0
jne 0x1005668f
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x1005668f
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 2
jge 0x10056562
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], 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 0x10056719
cmp dword [esi + 0x14], 0
jne 0x10056719
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10056719
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 4
jg 0x10056719
cmp dword [ebp + 0x4c], 0x23
ja 0x10056447
lea eax, [esp + 0x28]
push eax
mov ecx, str._aRrR
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 0x100567ac
cmp dword [esi + 0x14], 0
jne 0x100567ac
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x100567ac
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 1
jl 0x100567ac
mov edx, dword [esp + 0x20]
mov edi, dword [edx]
mov eax, ebp
call fcn.1004a950
test eax, eax
je 0x10056562
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], 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 0x10056845
cmp dword [esi + 0x14], 0
jne 0x10056845
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x10056845
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, dword [esp + 0x24]
call fcn.1005a6a0
test eax, eax
jne 0x10056845
mov edx, dword [ebp]
mov eax, dword [edx + 0x7c]
mov ecx, ebp
call eax
cmp eax, 0x1e
jg 0x10056447
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], 0xb
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 0x100568d9
cmp dword [esi + 0x14], 0
jne 0x100568d9
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x100568d9
mov edx, dword [esp + 0x20]
mov edi, dword [edx]
mov eax, ebp
call fcn.1004a950
test eax, eax
jne 0x100568d9
mov eax, ebp
call fcn.100040a0
cmp eax, 0x46
jb 0x10056562
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x10089a5c
call fcn.10001a30
lea edx, [esp + 0x28]
push edx
lea ecx, [ebx + 0x68]
mov dword [esp + 0xc4], 0xc
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 0x1005697c
cmp dword [esi + 0x14], 0
jne 0x1005697c
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005697c
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 5
jne 0x1005697c
mov eax, dword [ebp]
mov edx, dword [eax + 0x7c]
mov ecx, ebp
call edx
cmp eax, 0x19
jle 0x1005697c
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, ebp
call fcn.1004a950
test eax, eax
je 0x10056447
lea eax, [esp + 0x28]
push eax
mov ecx, 0x1008adf4
call fcn.10001a30
lea ecx, [esp + 0x28]
push ecx
lea edi, [ebx + 0x68]
mov ecx, edi
mov dword [esp + 0xc4], 0xd
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 0x10056a12
cmp dword [esi + 0x14], 0
jne 0x10056a12
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x10056a12
mov ecx, ebp
call fcn.1002cdb0
cmp eax, 5
jne 0x10056a12
mov eax, dword [ebp]
mov edx, dword [eax + 0x7c]
mov ecx, ebp
call edx
cmp eax, 0x23
jg 0x10056562
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], 0xe
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 0x10056b05
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 0x10056b05
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 0x10056b05
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 0x10056af9
mov eax, dword [ebx + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x20]
call fcn.10005300
jmp 0x10056afe
cmp eax, 1
jne 0x10056b05
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