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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10081d28
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 eax, dword [eax + 0x597dc]
cmp eax, 2
je 0x10056d1a
xor eax, eax
jmp 0x10057c32
mov eax, ebx
call fcn.10004f00
test eax, eax
je 0x10056d13
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + 0x59774]
lea ebp, [eax + 0x597a8]
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esp + 0x44], esi
jne 0x10056d5b
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [esi + 0xfc], 0
jmp 0x10057c2d
mov eax, dword [ebp + 4]
mov edi, dword [eax]
cmp edi, eax
jne 0x10056d69
call fcn.10067664
add edi, 8
mov ecx, edi
mov dword [esp + 0x50], edi
call fcn.10063a70
fld dword [edi + 0xc]
fstp dword [esp + 0x74]
neg eax
fld dword [edi + 8]
sbb eax, eax
fstp dword [esp + 0x70]
add eax, 1
fld dword [edi + 0x10]
mov dword [edi + 0xa0], eax
fstp dword [esp + 0x78]
lea eax, [esp + 0x5c]
fld dword [edi + 0x14]
lea ecx, [esp + 0x70]
fstp dword [esp + 0x7c]
fld dword [esi + 0x24]
fstp dword [esp + 0x60]
fld dword [esi + 0x20]
fstp dword [esp + 0x5c]
fld dword [esi + 0x28]
fstp dword [esp + 0x64]
fld dword [esi + 0x2c]
fstp dword [esp + 0x68]
call fcn.10023f00
fst qword [esp + 0x54]
fcomp qword [0x1008b750]
fnstsw ax
test ah, 5
jp 0x10056e69
fld dword [esp + 0x70]
sub esp, 0x10
fsub dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x84]
fsub dword [esp + 0x70]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x58]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x54]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x10056e39
fld dword [esp + 0x48]
push ecx
fstp dword [esp]
call fcn.10022bd0
call fcn.10004d90
test eax, eax
jne 0x10056e69
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x10057c2d
mov eax, ebp
call fcn.10005300
mov ecx, dword [ebx + 0x14]
push ecx
mov eax, edi
call fcn.1001ca30
jmp 0x10057c2d
call fcn.10064a60
test eax, eax
je 0x10056e99
mov eax, edi
call fcn.10003fe0
test eax, eax
jne 0x10056e99
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
mov edx, dword [ebx + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, ebp
call fcn.10005300
call fcn.10065520
test eax, eax
je 0x10056eb3
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebx + 0x88], 1
cmp dword [ebx + 0x38], 0
jne 0x10056ed9
fld dword [esi + 0x24]
fstp dword [ebx + 0x28]
fld dword [esi + 0x20]
fstp dword [ebx + 0x24]
fld dword [esi + 0x28]
fstp dword [ebx + 0x2c]
mov dword [ebx + 0x34], 0x211
mov dword [ebx + 0x38], 1
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
push ecx
push eax
mov eax, esi
call fcn.100040c0
test eax, eax
je 0x10056f80
fld qword [0x1008b758]
fld qword [esp + 0x54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10056f4e
fld dword [esp + 0x74]
mov dword [ebx + 0x34], 0x211
fld dword [esp + 0x60]
mov dword [ebx + 0x38], 1
fsubr st(1)
fld qword [0x1008b818]
fmul st(1), st(0)
fxch st(1)
fdiv st(3)
fsubp st(2)
fxch st(1)
fstp dword [ebx + 0x28]
fld dword [esp + 0x70]
fld dword [esp + 0x5c]
fsubr st(1)
fmulp st(2)
fxch st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [ebx + 0x24]
fld dword [esp + 0x78]
fstp dword [ebx + 0x2c]
jmp 0x10056f50
fstp st(0)
mov edx, dword [ebx + 0x34]
lea eax, [ebx + 0x24]
mov ecx, 2
call fcn.1004a2f0
cmp eax, 2
jne 0x10056f79
mov eax, dword [ebx + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, ebp
call fcn.10005300
jmp 0x10056f86
cmp eax, 1
jne 0x10056f8d
jmp 0x10056f86
push esi
call fcn.10004080
mov dword [ebx + 0x38], 0
fld dword [esp + 0x70]
sub esp, 0x10
fsub dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x84]
fsub dword [esp + 0x70]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x58]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x54]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x10056fe8
fld dword [esp + 0x48]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edi, ebx
call fcn.10004f90
lea ecx, [esp + 0x4c]
push ecx
mov ecx, str.4lKN
call fcn.10001a30
lea edx, [esp + 0x4c]
lea ebp, [ebx + 0x94]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 0
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x48], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10057069
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x100570b2
cmp dword [esi + 0x14], 0
jne 0x100570b2
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x100570b2
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx]
call fcn.10064990
test eax, eax
je 0x100570b2
mov edx, dword [esp + 0x48]
mov edi, dword [edx]
mov eax, dword [esp + 0x44]
call fcn.1004a950
test eax, eax
jne 0x100570b2
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
call eax
fld qword [0x1008b758]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
jne 0x10057c2d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x3c]
cmp eax, 0x1f4
jbe 0x10057c2d
mov esi, dword [esp + 0x44]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edi, 0x7368
mov eax, esi
call fcn.1004a9c0
test eax, eax
je 0x10057196
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008aee0
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 1
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10057196
cmp dword [edi + 0x14], 0
jne 0x10057196
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10057196
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10057196
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0xa
jbe 0x10057196
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [edi]
mov eax, dword [eax + 0x14]
push edx
call eax
jmp 0x10057c24
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008aeec
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 2
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005722f
cmp dword [edi + 0x14], 0
jne 0x1005722f
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005722f
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005722f
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0xa
jbe 0x1005722f
mov eax, dword [esp + 0x44]
call fcn.100040a0
cmp eax, 0x32
jb 0x10057183
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008aefc
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 3
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100572c8
cmp dword [edi + 0x14], 0
jne 0x100572c8
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100572c8
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100572c8
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0xa
jbe 0x100572c8
mov eax, dword [esp + 0x44]
call fcn.100040a0
cmp eax, 0x50
jb 0x10057183
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008af0c
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 4
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10057353
cmp dword [edi + 0x14], 0
jne 0x10057353
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10057353
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10057353
mov eax, dword [esp + 0x44]
call fcn.100040a0
cmp eax, 0x50
jb 0x10057183
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008af18
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 5
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100573de
cmp dword [edi + 0x14], 0
jne 0x100573de
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100573de
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100573de
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0x32
jb 0x10057183
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008af24
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 6
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10057469
cmp dword [edi + 0x14], 0
jne 0x10057469
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10057469
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10057469
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0xa
ja 0x10057183
lea ecx, [esp + 0x4c]
push ecx
mov ecx, str.CQ_
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 7
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100574f4
cmp dword [edi + 0x14], 0
jne 0x100574f4
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100574f4
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100574f4
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0xa
ja 0x10057183
push 0xa
mov eax, ebx
call fcn.10004c90
cmp eax, 2
jl 0x10057958
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008af38
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 8
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10057583
cmp dword [edi + 0x14], 0
jne 0x10057583
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10057583
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10057183
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008af44
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 9
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005760e
cmp dword [edi + 0x14], 0
jne 0x1005760e
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005760e
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005760e
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0xf
ja 0x10057183
lea ecx, [esp + 0x4c]
push ecx
mov ecx, str.kp0q
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 0xa
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x4c], 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 + 0x4c]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x100576b8
cmp dword [esi + 0x14], 0
jne 0x100576b8
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x100576b8
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x100576b8
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0xf
jbe 0x100576b8
mov eax, dword [esp + 0x50]
mov edi, 0x1f72
call fcn.1005a640
test eax, eax
je 0x100576b8
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
jmp 0x10057c18
lea eax, [esp + 0x4c]
push eax
mov ecx, str.kpCQ_
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 0xb
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10057738
cmp dword [edi + 0x14], 0
jne 0x10057738
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10057738
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10057738
mov eax, dword [edi]
jmp 0x10057c18
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008af68
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100577b1
cmp dword [edi + 0x14], 0
jne 0x100577b1
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100577b1
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10057731
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008af74
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 0xd
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1005782e
cmp dword [edi + 0x14], 0
jne 0x1005782e
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1005782e
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10057731
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008af80
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 0xe
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100578cd
cmp dword [edi + 0x14], 0
jne 0x100578cd
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100578cd
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100578cd
fld dword [esp + 0x64]
mov eax, dword [edi]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x68]
fstp dword [esp + 4]
fld dword [esp + 0x6c]
fstp dword [esp]
call fcn.1004e720
jmp 0x10057c24
lea edx, [esp + 0x4c]
push edx
mov ecx, 0x1008af88
call fcn.10001a30
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
mov dword [esp + 0xc4], 0xf
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10057958
cmp dword [edi + 0x14], 0
jne 0x10057958
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10057958
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10057958
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0xf
ja 0x10057731
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008af44
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 0x10
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100579e3
cmp dword [edi + 0x14], 0
jne 0x100579e3
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100579e3
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100579e3
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0x14
ja 0x10057731
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008af90
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 0x11
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10057a6e
cmp dword [edi + 0x14], 0
jne 0x10057a6e
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10057a6e
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10057a6e
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0x14
ja 0x10057731
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008af9c
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 0x12
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10057af9
cmp dword [edi + 0x14], 0
jne 0x10057af9
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10057af9
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10057af9
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0x14
ja 0x10057731
fld qword [0x1008b798]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
jne 0x10057c2d
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008afa4
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 0x13
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x4c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10057b99
cmp dword [edi + 0x14], 0
jne 0x10057b99
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10057b99
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10057b99
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0x14
ja 0x10057731
lea eax, [esp + 0x48]
push eax
mov ecx, str.R_e
call fcn.10001a30
lea ecx, [esp + 0x48]
push ecx
lea ecx, [ebx + 0x74]
mov dword [esp + 0xc4], 0x14
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x54], 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 + 0x48]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10057c2d
mov eax, dword [esi]
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x64]
call eax
test eax, eax
jne 0x10057c2d
mov eax, esi
call fcn.1002a6e0
test eax, eax
jne 0x10057c2d
mov eax, dword [esi]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
push eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x3c], eax
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