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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10081b48
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 0x1005cf9a
xor eax, eax
jmp 0x1005dc65
mov ebp, dword [eax + 0x59774]
mov eax, dword [eax + 0x597e0]
cmp eax, 4
mov dword [esp + 0x40], ebp
jne 0x1005cfc9
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 edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
cmp dword [ebp + 0xa4], 0
jne 0x1005dc60
cmp dword [ebp + 0xa8], 0
jne 0x1005dc60
mov ecx, dword [ebx + 0x14]
cmp dword [ecx + 0x597b0], 0
ja 0x1005d048
push ebp
call fcn.10004080
mov ebx, dword [ebx + 0x14]
lea eax, [ebx + 0x597e8]
lea ebx, [esp + 0x4c]
mov dword [esp + 0x4c], 2
call fcn.100053d0
mov dword [eax], 0
mov eax, ebp
call fcn.1005ac90
cmp eax, 0x32
jae 0x1005dc60
call fcn.1005ac70
jmp 0x1005dc60
mov eax, ebx
call fcn.10001990
mov esi, dword [ebx + 0x14]
add esi, 0x597a8
cmp dword [esi + 8], 0
mov dword [esp + 0x4c], esi
jne 0x1005d06d
push ebp
call fcn.10004080
jmp 0x1005dc60
push ebx
call fcn.100332b0
fld dword [ebp + 0x24]
test eax, eax
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]
je 0x1005d09b
push eax
mov eax, ebx
call fcn.10004e00
mov eax, esi
call fcn.100052e0
mov esi, eax
mov dword [esp + 0x48], eax
call fcn.1005a620
lea edx, [esp + 0x44]
push edx
mov ecx, str.Fear
call fcn.10001a30
lea eax, [esp + 0x44]
push eax
lea ecx, [ebx + 0x74]
mov dword [esp + 0xc4], 0
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 dword [esi], eax
mov eax, ebx
call fcn.100014b0
mov esi, eax
lea eax, [esp + 0x44]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005d12b
mov edi, dword [esi]
mov eax, dword [esp + 0x48]
call fcn.1005a6a0
test eax, eax
je 0x1005d12b
mov ecx, dword [esp + 0x48]
push ecx
mov eax, ebx
call fcn.10004e80
jmp 0x1005dc60
mov eax, dword [esp + 0x48]
fld dword [eax + 0xc]
lea ecx, [esp + 0x70]
fstp dword [esp + 0x74]
fld dword [eax + 8]
fstp dword [esp + 0x70]
fld dword [eax + 0x10]
fstp dword [esp + 0x78]
fld dword [eax + 0x14]
lea eax, [esp + 0x5c]
fstp dword [esp + 0x7c]
call fcn.10023f00
fst qword [esp + 0x54]
fcomp qword [0x1008b750]
fnstsw ax
test ah, 5
jp 0x1005d1fe
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 + 0x54]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x50]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1005d1c8
fld dword [esp + 0x44]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edi, dword [esp + 0x48]
call fcn.10004d90
test eax, eax
jne 0x1005d1fe
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x1005dc60
mov edx, dword [ebx + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x4c]
call fcn.10005300
jmp 0x1005dc60
call fcn.10065520
test eax, eax
je 0x1005d211
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
call fcn.10064a60
test eax, eax
mov esi, dword [esp + 0x48]
je 0x1005d243
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
mov edx, dword [ebp]
push ecx
push eax
mov eax, dword [edx + 0x78]
mov ecx, ebp
call eax
test eax, eax
je 0x1005d243
call fcn.1005ac50
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
push str.target
call fcn.10064a30
add esp, 4
push edx
push eax
mov eax, esi
call fcn.1005a700
test eax, eax
je 0x1005d286
mov ecx, dword [ebp + 0x19c]
mov eax, dword [ebp + 0x198]
push ecx
push eax
mov eax, esi
call fcn.10031b00
test eax, eax
je 0x1005d286
mov ecx, dword [0x1009a210]
mov edx, dword [ecx]
mov eax, dword [edx + 0x8c]
call eax
fld dword [ebp + 0x24]
lea esi, [ebx + 0x24]
fstp dword [esi + 4]
mov edx, 0x211
fld dword [ebp + 0x20]
fstp dword [esi]
fld dword [ebp + 0x28]
fstp dword [esi + 8]
mov dword [ebx + 0x34], edx
fld qword [0x1008b830]
fld qword [esp + 0x54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1005d2ed
fld dword [esp + 0x74]
mov dword [ebx + 0x34], edx
fld dword [esp + 0x60]
fsubr st(1)
fld qword [0x1008b838]
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 [esi]
jmp 0x1005d2ef
fstp st(0)
mov eax, esi
mov ecx, 2
mov esi, ebp
call fcn.1004a2f0
cmp eax, 2
jne 0x1005d318
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x48]
push ecx
call fcn.1001ca30
mov eax, dword [esp + 0x4c]
call fcn.10005300
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 + 0x5c]
add esp, 4
fld dword [0x1008b71c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x58]
fstp dword [esp]
call fcn.10022b80
add esp, 0xc
test eax, eax
jne 0x1005d373
fld dword [esp + 0x4c]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov edi, ebx
call fcn.10004f90
fld qword [0x1008b7f8]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
jne 0x1005dc60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x3c]
cmp eax, 0x1f4
jbe 0x1005dc60
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008a824
call fcn.10001a30
lea edx, [esp + 0x4c]
lea ebp, [ebx + 0x68]
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 + 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 + 0x4c]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005d440
cmp dword [esi + 0x14], 0
jne 0x1005d440
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005d440
mov eax, dword [esp + 0x44]
mov edi, dword [eax]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
jne 0x1005d440
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
jmp 0x1005dc4b
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008a818
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 2
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 + 0x4c]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005d4d8
cmp dword [esi + 0x14], 0
jne 0x1005d4d8
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x1005d4d8
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005d4d8
mov ecx, dword [esp + 0x44]
mov edi, dword [ecx]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
je 0x1005d435
lea eax, [esp + 0x4c]
push eax
mov ecx, str._rNmp
call fcn.10001a30
lea ecx, [esp + 0x4c]
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 + 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 + 0x4c]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005d57e
cmp dword [esi + 0x14], 0
jne 0x1005d57e
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x1005d57e
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005d57e
mov ecx, dword [esp + 0x44]
mov edi, dword [ecx]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
jne 0x1005d57e
mov eax, dword [esp + 0x40]
call fcn.100040a0
cmp eax, 0x3c
jb 0x1005d435
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008b150
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 4
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 + 0x4c]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005d616
cmp dword [esi + 0x14], 0
jne 0x1005d616
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x1005d616
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005d616
mov ecx, dword [esp + 0x44]
mov edi, dword [ecx]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
je 0x1005d435
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008b160
call fcn.10001a30
lea ecx, [esp + 0x4c]
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 + 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 0x1005d6b0
fld qword [0x1008b758]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
jne 0x1005d6b0
cmp dword [edi + 0x14], 0
jne 0x1005d6b0
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005d6b0
mov esi, dword [esp + 0x40]
mov eax, esi
call fcn.100040a0
cmp eax, 0x3c
jae 0x1005d6b0
mov edx, dword [esi]
mov eax, dword [edi]
mov ecx, esi
jmp 0x1005dc51
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008b16c
call fcn.10001a30
lea ecx, [esp + 0x4c]
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 + 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 0x1005d725
cmp dword [edi + 0x14], 0
jne 0x1005d725
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005d725
mov eax, dword [edi]
jmp 0x1005dc4b
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008b17c
call fcn.10001a30
lea ecx, [esp + 0x4c]
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 + 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 0x1005d793
cmp dword [edi + 0x14], 0
jne 0x1005d793
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005d71e
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008b18c
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], 8
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 0x1005d805
cmp dword [edi + 0x14], 0
jne 0x1005d805
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005d71e
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008b198
call fcn.10001a30
lea ecx, [esp + 0x4c]
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 + 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 + 0x4c]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005d8a1
cmp dword [esi + 0x14], 0
jne 0x1005d8a1
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005d8a1
mov edx, dword [esp + 0x44]
mov edi, dword [edx]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
jne 0x1005d8a1
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [edx]
mov eax, dword [eax + 0x14]
push edx
call eax
jmp 0x1005dc57
push 0xa
mov eax, ebx
call fcn.10004c90
cmp eax, 2
jl 0x1005d9c7
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008b1a4
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 + 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 0x1005d947
cmp dword [edi + 0x14], 0
jne 0x1005d947
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005d947
mov esi, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
mov ecx, esi
call edx
test eax, eax
je 0x1005d947
mov edi, dword [edi]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push edi
mov ecx, esi
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x3c], eax
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008b1b0
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 0x1005d9c7
cmp dword [edi + 0x14], 0
jne 0x1005d9c7
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005d9c7
mov eax, dword [esp + 0x40]
call fcn.100040a0
cmp eax, 0x50
jb 0x1005d71e
mov esi, dword [esp + 0x40]
mov eax, esi
call fcn.100040a0
cmp eax, 0x50
jbe 0x1005da55
mov eax, esi
call fcn.1002a730
cmp eax, 0x28
ja 0x1005da55
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008a830
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 0x1005da55
cmp dword [edi + 0x14], 0
jne 0x1005da55
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005d71e
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008b1bc
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 esi, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005dade
cmp dword [esi + 0x14], 0
jne 0x1005dade
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005dade
mov edx, dword [esp + 0x44]
mov edi, dword [edx]
mov eax, dword [esp + 0x48]
call fcn.1005a6a0
test eax, eax
je 0x1005d88a
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x1008b1c4
call fcn.10001a30
lea edx, [esp + 0x4c]
push edx
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 esi, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x44], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x1005db67
cmp dword [esi + 0x14], 0
jne 0x1005db67
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005db67
mov eax, dword [esp + 0x44]
mov edi, dword [eax]
mov eax, dword [esp + 0x48]
call fcn.1005a6a0
test eax, eax
je 0x1005d435
lea eax, [esp + 0x4c]
push eax
mov ecx, 0x1008b1d0
call fcn.10001a30
lea ecx, [esp + 0x4c]
push ecx
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 0x1005dbd9
cmp dword [edi + 0x14], 0
jne 0x1005dbd9
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005d71e
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008b1d8
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 ebp, eax
lea eax, [esp + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test ebp, ebp
je 0x1005dc60
cmp dword [ebp + 0x14], 0
jne 0x1005dc60
mov esi, dword [ebp]
call fcn.10064990
test eax, eax
je 0x1005dc60
mov eax, dword [ebp]
mov ecx, dword [esp + 0x40]
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