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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x1007faa0
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 0x100372ae
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
xor eax, eax
jmp 0x10038260
mov ebp, dword [eax + 0x59774]
test ebp, ebp
mov dword [esp + 0x44], ebp
je 0x100372a7
mov eax, dword [eax + 0x597e0]
cmp eax, 4
jne 0x100372e1
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 0x10037338
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 0x1003825b
mov eax, ebx
call fcn.10001990
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
cmp dword [ebp + 0xa4], 0
jne 0x1003825b
cmp dword [ebp + 0xa8], 0
jne 0x1003825b
mov eax, dword [ebx + 0x14]
add eax, 0x597a8
cmp dword [eax + 8], 0
mov dword [esp + 0x48], eax
jne 0x10037380
push ebp
call fcn.10004080
jmp 0x1003825b
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 0x10037479
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 0x10037447
fld dword [esp + 0x50]
push ecx
fstp dword [esp]
call fcn.10022bd0
call fcn.10004d90
test eax, eax
jne 0x10037479
mov eax, edi
call fcn.10004040
cmp eax, 0x64
jne 0x1003825b
mov ecx, dword [ebx + 0x14]
push ecx
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x48]
call fcn.10005300
jmp 0x1003825b
call fcn.10064a60
test eax, eax
je 0x100374ab
mov eax, edi
call fcn.10003fe0
test eax, eax
jne 0x100374ab
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 + 0x48]
call fcn.10005300
call fcn.10065520
test eax, eax
je 0x100374c5
mov al, 0
mov ecx, dword [0x1009a43c]
mov byte [ecx], al
add dword [ebx + 0x88], 1
cmp dword [ebx + 0x88], 1
jle 0x100374dd
call fcn.1002a700
mov dword [ebx + 0x88], 0
cmp dword [ebx + 0x38], 0
mov esi, 0x211
jne 0x10037504
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 0x100375a0
fld qword [0x1008b758]
fld qword [esp + 0x54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1003759e
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 0x1003825b
mov eax, dword [ebx + 0x14]
push eax
mov eax, edi
call fcn.1001ca30
mov eax, dword [esp + 0x48]
call fcn.10005300
jmp 0x1003825b
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 0x1003760e
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 0x10037646
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 0x10037646
mov edx, dword [ebp]
mov eax, dword [edx + 0x4c]
mov ecx, ebp
call eax
test eax, eax
jle 0x10037646
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
push 0x12
call fcn.1004b2a0
test eax, eax
je 0x1003767e
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 0x1003767e
mov edx, dword [ebp]
mov eax, dword [edx + 0x50]
mov ecx, ebp
call eax
test eax, eax
jle 0x1003767e
mov edx, dword [ebp]
mov eax, dword [edx + 0x5c]
mov ecx, ebp
call eax
push 0x19
call fcn.1004b2a0
test eax, eax
je 0x100376a5
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, ebp
call eax
test eax, eax
jle 0x100376a5
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 0x100376cc
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, ebp
call eax
test eax, eax
jle 0x100376cc
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 0x100376fd
call fcn.10035ed0
cmp eax, 1
jl 0x100376fd
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 0x1003825b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x3c]
cmp eax, 0x1f4
jbe 0x1003825b
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 + 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 + 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100377c2
cmp dword [edi + 0x14], 0
jne 0x100377c2
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100377c2
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100377c2
mov eax, edi
mov edi, dword [eax]
mov eax, dword [esp + 0x44]
call fcn.1004a950
test eax, eax
jne 0x100377c2
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
jmp 0x10038246
mov eax, dword [esp + 0x44]
call fcn.100040a0
cmp eax, 0x50
jae 0x1003784d
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 + 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003784d
cmp dword [edi + 0x14], 0
jne 0x1003784d
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003784d
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10038244
mov eax, dword [esp + 0x44]
call fcn.100040a0
cmp eax, 0x3c
jae 0x100378d8
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a240
call fcn.10001a30
lea ecx, [esp + 0x50]
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 + 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x100378d8
cmp dword [edi + 0x14], 0
jne 0x100378d8
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100378d8
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10038244
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a304
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 + 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10037995
mov edx, dword [esp + 0x44]
cmp dword [edx + 0x1b8], 0
jne 0x10037995
cmp dword [edi + 0x14], 0
jne 0x10037995
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037995
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10037995
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [edi]
mov eax, dword [eax + 0x14]
push edx
call eax
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1009a210]
mov dword [ebx + 0x3c], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x8c]
call eax
jmp 0x1003825b
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a260
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 + 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10037a2f
cmp dword [edi + 0x14], 0
jne 0x10037a2f
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037a2f
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10037a2f
mov eax, dword [esp + 0x44]
call fcn.100040a0
cmp eax, 0x32
jae 0x10037a2f
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov edx, dword [edi]
mov eax, dword [eax + 0x14]
push edx
call eax
jmp 0x10038252
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], 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10037aba
cmp dword [edi + 0x14], 0
jne 0x10037aba
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037aba
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10037aba
mov eax, dword [esp + 0x44]
call fcn.100040a0
cmp eax, 0x3c
jb 0x10037a1c
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a278
call fcn.10001a30
lea edx, [esp + 0x50]
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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10037b41
cmp dword [edi + 0x14], 0
jne 0x10037b41
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037b41
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10037b41
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x6c], 0
jne 0x10038244
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], 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10037bc7
cmp dword [edi + 0x14], 0
jne 0x10037bc7
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037bc7
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10037bc7
mov edx, dword [esp + 0x4c]
cmp dword [edx + 0x6c], eax
jne 0x10037a1c
mov eax, dword [esp + 0x44]
mov edi, 0xe1a1
call fcn.1004a950
test eax, eax
je 0x10037c56
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a2ec
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 + 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10037c56
cmp dword [edi + 0x14], 0
jne 0x10037c56
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037c56
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10037a1c
mov eax, dword [esp + 0x44]
mov edi, 0xae00
call fcn.1004a950
test eax, eax
je 0x10037ce5
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a310
call fcn.10001a30
lea edx, [esp + 0x50]
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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10037ce5
cmp dword [edi + 0x14], 0
jne 0x10037ce5
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037ce5
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10037a1c
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a318
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 + 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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10037d62
cmp dword [edi + 0x14], 0
jne 0x10037d62
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037d62
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10037a1c
push 0xa
mov eax, ebx
call fcn.10004c90
fld qword [0x1008b800]
fcomp qword [esp + 0x54]
mov ecx, eax
fnstsw ax
test ah, 1
jne 0x100380d5
cmp ecx, 2
jle 0x100380d5
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a28c
call fcn.10001a30
lea edx, [esp + 0x50]
push edx
mov ecx, ebp
mov dword [esp + 0xc4], 0xb
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 + 0x50]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x10037e08
cmp dword [edi + 0x14], 0
jne 0x10037e08
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x10037e08
mov esi, dword [edi]
call fcn.10064990
test eax, eax
jne 0x10037a1c
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1008a298
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 + 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 + 0x50]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test esi, esi
je 0x10037eb1
cmp dword [esi + 0x14], 0
jne 0x10037eb1
mov eax, esi
mov esi, dword [eax]
call fcn.10064990
test eax, eax
je 0x10037eb1
mov eax, dword [esp + 0x48]
call fcn.1002a6c0
test eax, eax
jne 0x10037eb1
mov eax, dword [esp + 0x4c]
mov edi, 0x1b934
call fcn.1005a6a0
test eax, eax
jne 0x10037eb1
mov eax, dword [esp + 0x4c]
mov edi, 0xada9
call fcn.1005a6a0
test eax, eax
je 0x100377b7
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a324
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 + 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 0x10037f2e
cmp dword [edi + 0x14], 0
jne 0x10037f2e
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037f2e
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10038244
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a284
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 0x10037fab
cmp dword [edi + 0x14], 0
jne 0x10037fab
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10037fab
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10038244
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a2a4
call fcn.10001a30
lea ecx, [esp + 0x50]
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 + 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 0x10038028
cmp dword [edi + 0x14], 0
jne 0x10038028
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10038028
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10038244
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a330
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 0x100380d5
cmp dword [edi + 0x14], 0
jne 0x100380d5
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100380d5
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x100380d5
mov eax, dword [esp + 0x44]
call fcn.1002a730
cmp eax, 0x28
jbe 0x100380d5
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 0x10038252
lea edx, [esp + 0x50]
push edx
mov ecx, 0x1008a2d8
call fcn.10001a30
lea eax, [esp + 0x50]
push eax
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 0x10038152
cmp dword [edi + 0x14], 0
jne 0x10038152
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x10038152
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10038244
lea eax, [esp + 0x50]
push eax
mov ecx, 0x1008a338
call fcn.10001a30
lea ecx, [esp + 0x50]
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 + 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 0x100381cb
cmp dword [edi + 0x14], 0
jne 0x100381cb
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x100381cb
mov eax, edi
call fcn.1002a6c0
test eax, eax
je 0x10038244
lea eax, [esp + 0x48]
push eax
mov ecx, 0x1008a2ec
call fcn.10001a30
lea ecx, [esp + 0x48]
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 + 0x48]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1001f1f0
test edi, edi
je 0x1003825b
cmp dword [edi + 0x14], 0
jne 0x1003825b
mov esi, dword [edi]
call fcn.10064990
test eax, eax
je 0x1003825b
mov eax, edi
call fcn.1002a6c0
test eax, eax
jne 0x1003825b
mov eax, dword [edi]
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