Function at 0x1005ade0
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 0x1005ae3c
xor eax, eax
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xb0], eax
jmp 0x1005bb29
mov ebp, dword [eax + 0x59774]
mov eax, dword [eax + 0x597e0]
cmp eax, 4
mov dword [esp + 0x40], ebp
jne 0x1005ae6b
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 0x1005bb24
cmp dword [ebp + 0xa8], 0
jne 0x1005bb24
mov ecx, dword [ebx + 0x14]
cmp dword [ecx + 0x597b0], 0
ja 0x1005aeea
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 0x1005bb24
call fcn.1005ac70
jmp 0x1005bb24
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 0x1005af0f
push ebp
call fcn.10004080
jmp 0x1005bb24
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 0x1005af3d
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 0x1005afcd
mov edi, dword [esi]
mov eax, dword [esp + 0x48]
call fcn.1005a6a0
test eax, eax
je 0x1005afcd
mov ecx, dword [esp + 0x48]
push ecx
mov eax, ebx
call fcn.10004e80
jmp 0x1005bb24
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 0x1005b0a0
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 0x1005b06a
fld dword [esp + 0x44]
push ecx
fstp dword [esp]
call fcn.10022bd0
mov edi, dword [esp + 0x48]
call fcn.10004d90
test eax, eax
jne 0x1005b0a0
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x1005bb24
mov edx, dword [ebx + 0x14]
push edx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x4c]
call fcn.10005300
jmp 0x1005bb24
call fcn.10065520
test eax, eax
mov edx, 1
je 0x1005b0be
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebx + 0xa8], edx
cmp dword [ebx + 0xa8], edx
jle 0x1005b0d5
call fcn.1002a700
mov dword [ebx + 0xa8], 0
call fcn.10064a60
test eax, eax
mov esi, dword [esp + 0x48]
je 0x1005b107
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 0x1005b107
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 0x1005b14a
mov ecx, dword [ebp + 0x19c]
mov eax, dword [ebp + 0x198]
push ecx
push eax
mov eax, esi
call fcn.10031b00
test eax, eax
je 0x1005b14a
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 0x1005b1b1
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 0x1005b1b3
fstp st(0)
mov eax, esi
mov ecx, 2
mov esi, ebp
call fcn.1004a2f0
cmp eax, 2
jne 0x1005b1dc
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 0x1005b237
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 0x1005bb24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x3c]
cmp eax, 0x1f4
jbe 0x1005bb24
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 0x1005b304
cmp dword [esi + 0x14], 0
jne 0x1005b304
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005b304
mov eax, dword [esp + 0x44]
mov edi, dword [eax]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
jne 0x1005b304
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
jmp 0x1005bb0f
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 0x1005b39c
cmp dword [esi + 0x14], 0
jne 0x1005b39c
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x1005b39c
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005b39c
mov ecx, dword [esp + 0x44]
mov edi, dword [ecx]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
je 0x1005b2f9
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 0x1005b442
cmp dword [esi + 0x14], 0
jne 0x1005b442
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x1005b442
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005b442
mov ecx, dword [esp + 0x44]
mov edi, dword [ecx]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
jne 0x1005b442
mov eax, dword [esp + 0x40]
call fcn.100040a0
cmp eax, 0x3c
jb 0x1005b2f9
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 0x1005b4da
cmp dword [esi + 0x14], 0
jne 0x1005b4da
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x1005b4da
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005b4da
mov ecx, dword [esp + 0x44]
mov edi, dword [ecx]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
je 0x1005b2f9
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 0x1005b574
fld qword [0x1008b758]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
jne 0x1005b574
cmp dword [edi + 0x14], 0
jne 0x1005b574
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005b574
mov esi, dword [esp + 0x40]
mov eax, esi
call fcn.100040a0
cmp eax, 0x3c
jae 0x1005b574
mov edx, dword [esi]
mov eax, dword [edi]
mov ecx, esi
jmp 0x1005bb15
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 0x1005b5e9
cmp dword [edi + 0x14], 0
jne 0x1005b5e9
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005b5e9
mov eax, dword [edi]
jmp 0x1005bb0f
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 0x1005b657
cmp dword [edi + 0x14], 0
jne 0x1005b657
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005b5e2
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 0x1005b6c9
cmp dword [edi + 0x14], 0
jne 0x1005b6c9
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005b5e2
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 0x1005b765
cmp dword [esi + 0x14], 0
jne 0x1005b765
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005b765
mov edx, dword [esp + 0x44]
mov edi, dword [edx]
mov eax, dword [esp + 0x40]
call fcn.1004a950
test eax, eax
jne 0x1005b765
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 0x1005bb1b
push 0xa
mov eax, ebx
call fcn.10004c90
cmp eax, 2
jl 0x1005b88b
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 0x1005b80b
cmp dword [edi + 0x14], 0
jne 0x1005b80b
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005b80b
mov esi, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
mov ecx, esi
call edx
test eax, eax
je 0x1005b80b
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 0x1005b88b
cmp dword [edi + 0x14], 0
jne 0x1005b88b
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1005b88b
mov eax, dword [esp + 0x40]
call fcn.100040a0
cmp eax, 0x50
jb 0x1005b5e2
mov esi, dword [esp + 0x40]
mov eax, esi
call fcn.100040a0
cmp eax, 0x50
jbe 0x1005b919
mov eax, esi
call fcn.1002a730
cmp eax, 0x28
ja 0x1005b919
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 0x1005b919
cmp dword [edi + 0x14], 0
jne 0x1005b919
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005b5e2
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 0x1005b9a2
cmp dword [esi + 0x14], 0
jne 0x1005b9a2
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005b9a2
mov edx, dword [esp + 0x44]
mov edi, dword [edx]
mov eax, dword [esp + 0x48]
call fcn.1005a6a0
test eax, eax
je 0x1005b74e
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 0x1005ba2b
cmp dword [esi + 0x14], 0
jne 0x1005ba2b
mov esi, dword [esi]
call fcn.10064990
test eax, eax
je 0x1005ba2b
mov eax, dword [esp + 0x44]
mov edi, dword [eax]
mov eax, dword [esp + 0x48]
call fcn.1005a6a0
test eax, eax
je 0x1005b2f9
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 0x1005ba9d
cmp dword [edi + 0x14], 0
jne 0x1005ba9d
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x1005b5e2
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 0x1005bb24
cmp dword [ebp + 0x14], 0
jne 0x1005bb24
mov esi, dword [ebp]
call fcn.10064990
test eax, eax
je 0x1005bb24
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