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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x1007f9d8
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 0x1003841e
xor eax, eax
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xa8], eax
xor eax, eax
jmp 0x10039388
mov ebp, dword [eax + 0x59774]
test ebp, ebp
mov dword [esp + 0x48], ebp
je 0x10038417
mov eax, dword [eax + 0x597e0]
cmp eax, 4
jne 0x10038451
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov ecx, dword [0x1009a210]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, dword [ebx + 0x14]
push eax
call fcn.1001be00
push ebx
call fcn.10004230
mov ecx, dword [ebx + 0x14]
cmp dword [ecx + 0x597b0], 0
ja 0x100384a8
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp + 0xfc], 0
mov ebx, dword [ebx + 0x14]
lea eax, [ebx + 0x597e8]
lea ebx, [esp + 0x50]
mov dword [esp + 0x50], 2
call fcn.100053d0
mov dword [eax], 0
jmp 0x10039383
mov eax, ebx
call fcn.10001990
cmp dword [ebp + 0xa4], 0
jne 0x10039383
cmp dword [ebp + 0xa8], 0
jne 0x10039383
mov eax, dword [ebx + 0x14]
add eax, 0x597a8
cmp dword [eax + 8], 0
mov dword [esp + 0x44], eax
jne 0x100384e6
push ebp
call fcn.10004080
jmp 0x10039383
call fcn.100052e0
mov edi, eax
mov esi, edi
mov dword [esp + 0x4c], edi
call fcn.1005a620
fld dword [edi + 0xc]
fstp dword [esp + 0x74]
lea eax, [esp + 0x5c]
fld dword [edi + 8]
lea ecx, [esp + 0x70]
fstp dword [esp + 0x70]
fld dword [edi + 0x10]
fstp dword [esp + 0x78]
fld dword [edi + 0x14]
fstp dword [esp + 0x7c]
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 + 0x54]
fcomp qword [0x1008b750]
fnstsw ax
test ah, 5
jp 0x100385e5
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 + 0x60]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x100385b3
push ebp
call fcn.10004080
fld dword [esp + 0x50]
push ecx
fstp dword [esp]
call fcn.10022bd0
call fcn.10004d90
test eax, eax
jne 0x100385e5
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x10039383
mov ecx, dword [ebx + 0x14]
push ecx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x44]
call fcn.10005300
jmp 0x10039383
call fcn.10064a60
test eax, eax
je 0x10038617
mov eax, edi
call fcn.10003fe0
test eax, eax
jne 0x10038617
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, dword [esp + 0x44]
call fcn.10005300
call fcn.10065520
test eax, eax
je 0x10038631
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebx + 0xa0], 1
cmp dword [ebx + 0xa0], 1
jle 0x10038649
call fcn.1002a700
mov dword [ebx + 0xa0], 0
cmp dword [ebx + 0x38], 0
mov esi, 0x211
jne 0x10038670
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], esi
mov dword [ebx + 0x38], 1
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
push ecx
push eax
mov eax, ebp
call fcn.100040c0
test eax, eax
je 0x1003870c
fld qword [0x1008b758]
fld qword [esp + 0x54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1003870a
fld dword [esp + 0x74]
lea eax, [ebx + 0x24]
fld dword [esp + 0x60]
mov dword [ebx + 0x34], esi
fsubr st(1)
mov edx, esi
fld qword [0x1008b808]
mov ecx, 2
mov esi, ebp
fmul st(1), st(0)
mov dword [ebx + 0x38], 1
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 [eax]
call fcn.1004a2f0
cmp eax, 2
jne 0x10039383
mov eax, dword [ebx + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x44]
call fcn.10005300
jmp 0x10039383
fstp st(0)
push ebp
call fcn.10004080
fld dword [esp + 0x70]
fsub dword [esp + 0x5c]
sub esp, 0x10
mov dword [ebx + 0x38], 0
fstp qword [esp + 8]
fld dword [esp + 0x84]
fsub dword [esp + 0x70]
fstp qword [esp]
call fcn.10059120
fstp dword [esp + 0x60]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1003877a
push ebp
call fcn.10004080
fld dword [esp + 0x50]
push ecx
fstp dword [esp]
call fcn.10022bd0
push 0x11
call fcn.1004b2a0
test eax, eax
je 0x100387b2
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 0x100387b2
mov edx, dword [ebp]
mov eax, dword [edx + 0x4c]
mov ecx, ebp
call eax
test eax, eax
jle 0x100387b2
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
push 0x12
call fcn.1004b2a0
test eax, eax
je 0x100387ea
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 0x100387ea
mov edx, dword [ebp]
mov eax, dword [edx + 0x50]
mov ecx, ebp
call eax
test eax, eax
jle 0x100387ea
mov edx, dword [ebp]
mov eax, dword [edx + 0x5c]
mov ecx, ebp
call eax
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x10038811
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, ebp
call eax
test eax, eax
jle 0x10038811
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 0x10038838
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, ebp
call eax
test eax, eax
jle 0x10038838
mov edx, dword [ebp]
mov eax, dword [edx + 0x64]
push 0x1a
mov ecx, ebp
call eax
mov eax, ebp
call fcn.1002a730
mov ecx, dword [ebx + 0x14]
cmp eax, dword [ecx + 0x2b8]
jae 0x10038869
call fcn.10035ed0
cmp eax, 1
jl 0x10038869
mov edx, dword [ebp]
mov eax, dword [edx + 0x60]
mov ecx, ebp
call eax
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
fld qword [0x1008b758]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
jne 0x10039383
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x3c]
cmp eax, 0x1f4
jbe 0x10039383
lea ecx, [esp + 0x50]
push ecx
mov ecx, str.eY_gIQ
call fcn.10001a30
lea edx, [esp + 0x50]
lea ebp, [ebx + 0x68]
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 + 0x48], 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 + 0x50]
mov dword [esp + 0x44], edi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003892e
cmp dword [edi + 0x14], 0
jne 0x1003892e
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003892e
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1003892e
mov eax, edi
mov edi, dword [eax]
mov eax, dword [esp + 0x48]
call fcn.1004a950
test eax, eax
jne 0x1003892e
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
jmp 0x1003936e
mov eax, dword [esp + 0x48]
call fcn.100040a0
cmp eax, 0x50
jae 0x100389d7
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a228
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 1
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x48], esp
mov esi, esp
call fcn.10001cb0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001590
mov esi, eax
or edi, 0xffffffff
lea eax, [esp + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x100389da
cmp dword [esi + 0x14], 0
jne 0x100389da
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x100389da
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
jne 0x100389da
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [edx]
mov eax, dword [eax + 0x14]
push edx
call eax
jmp 0x1003937a
or edi, 0xffffffff
mov eax, dword [esp + 0x48]
call fcn.100040a0
cmp eax, 0x3c
jae 0x10038a6d
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a240
call fcn.10001a30
lea edx, [esp + 0x50]
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 + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038a6d
cmp dword [esi + 0x14], 0
jne 0x10038a6d
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10038a6d
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
je 0x10038923
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a260
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 3
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038afc
cmp dword [esi + 0x14], 0
jne 0x10038afc
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x10038afc
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
jne 0x10038afc
mov eax, dword [esp + 0x48]
call fcn.100040a0
cmp eax, 0x32
jb 0x100389c0
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a26c
call fcn.10001a30
lea edx, [esp + 0x50]
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 + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038b8b
cmp dword [esi + 0x14], 0
jne 0x10038b8b
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10038b8b
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
jne 0x10038b8b
mov eax, dword [esp + 0x48]
call fcn.100040a0
cmp eax, 0x3c
jb 0x10038923
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a278
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 5
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038c1c
mov edx, esi
cmp dword [edx + 0x14], 0
jne 0x10038c1c
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10038c1c
mov esi, dword [esp + 0x44]
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x10038c1c
mov ecx, dword [esp + 0x4c]
cmp dword [ecx + 0x6c], eax
je 0x10038c1c
mov eax, dword [esi]
jmp 0x1003936e
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a254
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 6
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038ca7
cmp dword [esi + 0x14], 0
jne 0x10038ca7
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x10038ca7
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
jne 0x10038ca7
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x6c], 0
jne 0x10038923
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a34c
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 7
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038d36
cmp dword [esi + 0x14], 0
jne 0x10038d36
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x10038d36
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
jne 0x10038d36
mov eax, dword [esp + 0x48]
call fcn.1002a730
cmp eax, 0x14
ja 0x100389c0
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a354
call fcn.10001a30
lea edx, [esp + 0x50]
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 + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038dc5
cmp dword [esi + 0x14], 0
jne 0x10038dc5
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10038dc5
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
jne 0x10038dc5
mov eax, dword [esp + 0x48]
call fcn.1002a730
cmp eax, 0x1e
ja 0x10038923
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a360
call fcn.10001a30
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 9
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038e54
cmp dword [esi + 0x14], 0
jne 0x10038e54
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
je 0x10038e54
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
jne 0x10038e54
mov eax, dword [esp + 0x48]
call fcn.1002a730
cmp eax, 0x14
ja 0x100389c0
push 0xa
mov eax, ebx
call fcn.10004c90
fld qword [0x1008b800]
fcomp qword [esp + 0x54]
mov ecx, eax
fnstsw ax
test ah, 1
jne 0x1003914e
cmp ecx, 2
jle 0x1003914e
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a284
call fcn.10001a30
lea edx, [esp + 0x50]
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 + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038efe
cmp dword [esi + 0x14], 0
jne 0x10038efe
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10038efe
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
je 0x10038923
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a28c
call fcn.10001a30
lea ecx, [esp + 0x50]
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 + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038f7d
cmp dword [esi + 0x14], 0
jne 0x10038f7d
mov eax, esi
call fcn.1002a6c0
test eax, eax
jne 0x10038f7d
mov edx, esi
mov esi, dword [edx]
call fcn.10064990
test eax, eax
jne 0x100389c0
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a2a4
call fcn.10001a30
lea edx, [esp + 0x50]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 0xc
call fcn.10005150
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x10038ffe
cmp dword [esi + 0x14], 0
jne 0x10038ffe
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10038ffe
mov eax, dword [esp + 0x44]
call fcn.1002a6c0
test eax, eax
je 0x10038923
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a298
call fcn.10001a30
lea ecx, [esp + 0x50]
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 + 0x48], 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 + 0x50]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], edi
call fcn.1001f1f0
test esi, esi
je 0x100390a1
cmp dword [esi + 0x14], 0
jne 0x100390a1
mov edi, esi
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100390a1
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100390a1
mov eax, dword [esp + 0x4c]
mov edi, 0x1b934
call fcn.1005a6a0
test eax, eax
jne 0x100390a1
mov eax, dword [esp + 0x4c]
mov edi, 0xada9
call fcn.1005a6a0
test eax, eax
je 0x10038923
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a368
call fcn.10001a30
lea ecx, [esp + 0x50]
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 + 0x50], 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003914e
cmp dword [edi + 0x14], 0
jne 0x1003914e
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003914e
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1003914e
mov eax, dword [esp + 0x48]
call fcn.1002a730
cmp eax, 0x28
jbe 0x1003914e
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 0x1003937a
mov eax, dword [esp + 0x48]
mov edi, 0xbbec
call fcn.1004a950
test eax, eax
je 0x100391ef
lea edx, [esp + 0x50]
push edx
mov ecx, 0x1008a374
call fcn.10001a30
lea eax, [esp + 0x50]
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 + 0x50], 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100391ef
cmp dword [edi + 0x14], 0
jne 0x100391ef
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100391ef
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100391ef
mov eax, dword [esp + 0x48]
call fcn.1002a730
cmp eax, 0x1e
ja 0x1003936c
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a37c
call fcn.10001a30
lea ecx, [esp + 0x50]
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 + 0x50], 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003927a
cmp dword [edi + 0x14], 0
jne 0x1003927a
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003927a
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1003927a
mov eax, dword [esp + 0x48]
call fcn.1002a730
cmp eax, 0xf
ja 0x1003936c
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a310
call fcn.10001a30
lea ecx, [esp + 0x50]
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 + 0x50], 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100392f3
cmp dword [edi + 0x14], 0
jne 0x100392f3
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100392f3
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x1003936c
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1008a2ec
call fcn.10001a30
lea ecx, [esp + 0x44]
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 + 0x44]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10039383
cmp dword [edi + 0x14], 0
jne 0x10039383
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10039383
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10039383
mov eax, dword [edi]
mov ecx, dword [esp + 0x48]
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