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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ad1b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10728
call fcn.10062090
mov eax, dword [0x1009a008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x28]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x106c0], eax
lea eax, [esi + 0x11fa4]
push eax
lea ecx, [ebp - 0x1072c]
mov dword [ebp - 0x10694], esi
mov dword [ebp - 0x10688], edi
mov byte [ebp - 0x1068d], bl
mov byte [ebp - 0x10683], bl
mov dword [ebp - 0x106ec], ebx
mov dword [ebp - 0x10674], 0xffffff6a
mov dword [ebp - 0x106e4], ebx
mov dword [ebp - 0x10678], ebx
mov byte [ebp - 0x1068e], 0xff
mov dword [ebp - 0x1068c], ebx
mov dword [ebp - 0x106e8], ebx
mov dword [ebp - 0x106bc], ebx
mov dword [ebp - 0x10700], ebx
mov dword [ebp - 0x106b0], ebx
mov byte [ebp - 0x10681], bl
mov dword [ebp - 0x106d0], ebx
mov dword [ebp - 0x106c4], ebx
mov byte [ebp - 0x10682], bl
call fcn.10037ac7
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.1004074d
mov ecx, esi
mov byte [esi + 0x11c76], bl
mov byte [esi + 0x11c75], 2
call fcn.100455c5
cmp eax, 3
mov dword [ebp - 0x1067c], eax
jle 0x1005854a
push 0x1010
call fcn.10062b5c
pop ecx
mov dword [ebp - 0x106a0], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1005852e
push dword [ebp - 0x1067c]
push 0x10009df0
push ebx
push 0xa
push eax
call fcn.10037a50
add esp, 0x14
jmp 0x10058530
xor eax, eax
mov dword [ebp - 0x106fc], eax
mov byte [ebp - 4], bl
push 0x1008bdb8
lea eax, [ebp - 0x106fc]
push eax
call fcn.1006330f
mov eax, dword [esi + 8]
push dword [ebp - 0x1067c]
mov ecx, esi
mov dword [eax + 0x10], 0xf000
mov byte [ebp - 4], 2
call fcn.10045169
push ebx
push ebx
push dword [esi + 0x11fd4]
push 0x20
call dword [esi + 0x11fd0]
cmp byte [edi + 6], 1
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
push ebx
jne 0x1005859a
cmp byte [ebp + 0xc], 1
setne al
dec al
and al, 0x20
movzx eax, al
push eax
push ebx
push ebx
push 4
push ebx
jmp 0x100585b1
cmp byte [ebp + 0xc], 1
setne al
dec al
and al, 0x20
movzx eax, al
push eax
push dword [ebp + 0x14]
push ebx
push 4
push 8
push 2
call fcn.10044f52
push ebx
push ebx
push dword [esi + 0x11fd4]
push 4
call dword [esi + 0x11fd0]
mov dword [ebp - 0x106b8], ebx
mov dword [ebp - 0x106b4], ebx
mov dword [ebp - 0x106ac], ebx
mov dword [ebp - 0x106a8], ebx
mov dword [esi + 0x11e10], ebx
xor eax, eax
cmp eax, dword [edi]
mov dword [ebp - 0x10678], eax
jge 0x10058706
imul eax, eax, 0x11f
add eax, edi
mov dword [esi + 0x11fcc], 0x800
cmp byte [eax + 4], 1
jne 0x10058618
mov dword [esi + 0x11fcc], 0x930
cmp byte [eax + 5], 1
jne 0x10058628
mov dword [esi + 0x11fcc], 0x920
cmp byte [eax + 4], bl
jne 0x10058642
cmp byte [eax + 5], bl
jne 0x10058642
cmp byte [ebp + 0xc], 1
jne 0x10058642
mov dword [esi + 0x11fcc], 0x920
cmp byte [eax + 6], 1
jne 0x10058652
mov dword [esi + 0x11fcc], 0x990
mov eax, dword [eax + 0x11b]
lea ecx, [eax + 0x38]
mov eax, dword [ecx]
lea edx, [ebp - 0x106cc]
push edx
mov dword [ebp - 0x10680], ecx
call dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push dword [esi + 0x11fcc]
mov dword [ebp - 0x106a4], ecx
push eax
push ecx
mov dword [ebp - 0x106a0], eax
call fcn.10063260
mov ecx, dword [ebp - 0x10678]
imul ecx, ecx, 0x11f
mov dword [ecx + edi + 7], eax
mov ecx, dword [ebp - 0x106a4]
mov eax, dword [ebp - 0x106a0]
add dword [ebp - 0x106b8], ecx
push ebx
push dword [esi + 0x11fcc]
adc dword [ebp - 0x106b4], eax
push eax
push ecx
call fcn.10063260
add dword [ebp - 0x106ac], eax
mov eax, dword [ebp - 0x10678]
mov ecx, dword [ebp - 0x10680]
adc dword [ebp - 0x106a8], edx
mov dword [esi + eax*4 + 0x11c80], ecx
mov eax, dword [esi + 0x11fcc]
mov ecx, dword [ebp - 0x10678]
mov dword [esi + ecx*4 + 0x11e14], eax
mov eax, dword [ebp - 0x10678]
inc dword [esi + 0x11e10]
inc eax
jmp 0x100585e8
lea eax, [ebp - 0x106ac]
push eax
lea eax, [ebp - 0x106b8]
push eax
push dword [esi + 0x11fd4]
push 5
call dword [esi + 0x11fd0]
push 0x1000
lea eax, [ebp - 0x1014]
push ebx
push eax
call fcn.100620c0
add esp, 0xc
push 0xff
push 1
push 0x1000
lea eax, [ebp - 0x1014]
push eax
mov ecx, esi
call fcn.100410d1
lea eax, [ebp - 0x106e8]
push eax
lea eax, [ebp - 0x1068e]
push eax
lea eax, [ebp - 0x106e4]
push eax
lea eax, [ebp - 0x10674]
push eax
lea eax, [ebp - 0x106ec]
push eax
lea eax, [ebp - 0x10683]
push eax
lea eax, [ebp - 0x1068d]
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.100378c1
cmp byte [ebp - 0x10683], bl
jne 0x100587dc
push 0x1010
call fcn.10062b5c
pop ecx
mov dword [ebp - 0x10680], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x100587c2
push 0x10009db0
push ebx
push 0xa
push eax
call fcn.10037a50
add esp, 0x10
mov ebx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x106f4], ebx
push 0x1008bdb8
lea eax, [ebp - 0x106f4]
jmp 0x10058544
cmp dword [ebp - 0x10674], ebx
jne 0x100587ee
mov dword [ebp - 0x10674], 0xffffff6a
cmp dword [ebp - 0x10674], 0xffffff6a
je 0x10058846
push 0x1010
call fcn.10062b5c
pop ecx
mov dword [ebp - 0x10680], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x1005882c
push dword [ebp - 0x10674]
push 0x10009d58
push ebx
push 0xa
push eax
call fcn.10037a50
add esp, 0x14
mov ebx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x106d4], ebx
push 0x1008bdb8
lea eax, [ebp - 0x106d4]
jmp 0x10058544
cmp byte [edi + 6], 1
jne 0x10058894
mov eax, dword [edi + 0x7020]
mov dword [edi], eax
mov dword [ebp - 0x10678], ebx
mov eax, dword [ebp - 0x10678]
cmp eax, dword [edi + 0x7020]
jge 0x10058894
mov ecx, eax
mov eax, dword [edi + eax*4 + 0x7024]
imul ecx, ecx, 0x11f
mov dword [ecx + edi + 7], eax
mov eax, dword [ebp - 0x10678]
imul eax, eax, 0x11f
mov byte [eax + edi + 6], 1
inc dword [ebp - 0x10678]
jmp 0x1005885a
push dword [ebp + 0x20]
lea eax, [ebp - 0x1068c]
push dword [ebp + 0xc]
mov ecx, esi
push eax
lea eax, [ebp - 0x10670]
push eax
push edi
call fcn.10045b3a
push dword [ebp - 0x1068c]
lea eax, [ebp - 0x10670]
push eax
call fcn.1003777c
push dword [ebp - 0x1068c]
lea eax, [ebp - 0x10670]
push eax
mov ecx, esi
call fcn.10041725
cmp byte [edi + 6], 1
jne 0x100588e2
mov dword [edi], 1
mov dword [0x1009c308], ebx
mov dword [0x1009c30c], ebx
push dword [esi + 0x11fbc]
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x10058951
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1010
mov esi, eax
call fcn.10062b5c
pop ecx
mov dword [ebp - 0x10680], eax
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x10058937
push esi
push 0x10009cf8
push esi
push 5
push eax
call fcn.10037a50
add esp, 0x14
mov ebx, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x10704], ebx
push 0x1008bdb8
lea eax, [ebp - 0x10704]
jmp 0x10058544
push dword [esi + 0x11fc0]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x100589b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1010
mov esi, eax
call fcn.10062b5c
pop ecx
mov dword [ebp - 0x10680], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x10058996
push esi
push 0x10009c90
push esi
push 5
push eax
call fcn.10037a50
add esp, 0x14
mov ebx, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x1070c], ebx
push 0x1008bdb8
lea eax, [ebp - 0x1070c]
jmp 0x10058544
lea ecx, [esi + 0x3020]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x11c78]
call fcn.10041c43
lea eax, [ebp - 0x10700]
push eax
push ebx
push esi
push 0x10044c8a
push ebx
push ebx
mov dword [esi + 0x11fc4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x106bc], eax
cmp eax, ebx
jne 0x10058a3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1010
mov esi, eax
call fcn.10062b5c
pop ecx
mov dword [ebp - 0x10680], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x10058a21
push esi
push 0x10009c38
push esi
push 5
push eax
call fcn.10037a50
add esp, 0x14
mov ebx, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x106dc], ebx
push 0x1008bdb8
lea eax, [ebp - 0x106dc]
jmp 0x10058544
lea eax, [ebp - 0x106bc]
push eax
lea ecx, [ebp - 0x10738]
call fcn.100379a4
mov eax, dword [esi + 0x11fc8]
cdq
mov ecx, 0xb0
idiv ecx
push ebx
mov byte [ebp - 4], 9
mov dword [ebp - 0x106b0], eax
lea eax, [ebp - 0x106b0]
push eax
push dword [esi + 0x11fd4]
push 6
call dword [esi + 0x11fd0]
push dword [ebp - 0x106b0]
push dword [esi + 0x11fbc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10680], eax
cmp eax, ebx
je 0x10058aec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1010
mov esi, eax
call fcn.10062b5c
pop ecx
mov dword [ebp - 0x106c8], eax
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x10058ad2
push dword [ebp - 0x10680]
push esi
push 0x10009bd0
push esi
push 5
push eax
call fcn.10037a50
add esp, 0x18
mov ebx, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x106e0], ebx
push 0x1008bdb8
lea eax, [ebp - 0x106e0]
jmp 0x10058544
push ebx
push ebx
push dword [esi + 0x11fd4]
push 7
call dword [esi + 0x11fd0]
mov dword [ebp - 0x1069c], ebx
mov dword [ebp - 0x10698], ebx
mov dword [ebp - 0x1068c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x106c8], eax
mov dword [ebp - 0x10680], eax
xor eax, eax
cmp eax, dword [edi]
mov dword [ebp - 0x10678], eax
jge 0x100591f0
imul eax, eax, 0x11f
add edi, eax
mov dword [esi + 0x11fcc], 0x800
cmp byte [edi + 4], 1
jne 0x10058b52
mov dword [esi + 0x11fcc], 0x930
cmp byte [edi + 5], 1
jne 0x10058b62
mov dword [esi + 0x11fcc], 0x920
cmp byte [edi + 4], bl
jne 0x10058b7c
cmp byte [edi + 5], bl
jne 0x10058b7c
cmp byte [ebp + 0xc], 1
jne 0x10058b7c
mov dword [esi + 0x11fcc], 0x920
cmp byte [edi + 6], 1
jne 0x10058b8c
mov dword [esi + 0x11fcc], 0x990
push ebx
lea eax, [ebp - 0x10678]
push eax
push dword [esi + 0x11fd4]
push 0x25
call dword [esi + 0x11fd0]
cmp byte [ebp + 0x20], 1
mov edi, dword [ebp - 0x10678]
jne 0x10058bd2
cmp edi, ebx
jne 0x10058bd2
mov eax, dword [ebp - 0x10688]
cmp byte [eax + 6], 1
jne 0x10058bd2
mov ecx, esi
call fcn.10050b39
mov edi, dword [ebp - 0x10678]
mov byte [ebp - 0x10682], 1
mov dword [ebp - 0x1067c], ebx
cmp dword [ebp - 0x1067c], 0x96
jge 0x10058cd1
push 0xf000
lea eax, [ebp - 0x10014]
push ebx
push eax
call fcn.100620c0
imul edi, edi, 0x11f
mov eax, dword [ebp - 0x10688]
add eax, edi
add esp, 0xc
cmp byte [eax + 6], 1
jne 0x10058c98
cmp byte [eax + 4], 1
je 0x10058c88
cmp byte [ebp + 0xc], 1
mov edi, 0x990
sete al
inc al
movzx eax, al
push eax
push dword [ebp - 0x10674]
lea eax, [ebp - 0x10014]
push edi
push 0xa
push eax
mov ecx, esi
call fcn.10045e50
push edi
push 0xa
lea eax, [ebp - 0x10014]
push eax
mov ecx, esi
call fcn.10045db3
xor eax, eax
inc eax
push eax
push 0xa
push eax
push ebx
push eax
lea ecx, [ebp - 0x10014]
push ecx
push eax
push 4
push dword [ebp - 0x10674]
mov ecx, esi
push 0x1e
pop eax
sub eax, dword [ebp - 0x1067c]
imul eax, eax, 0xa
add eax, dword [ebp - 0x10674]
push eax
call fcn.10046a4f
push 0xa
lea eax, [ebp - 0x10014]
push eax
mov ecx, esi
call fcn.10046dcb
mov eax, dword [esi + 0x11fcc]
imul eax, eax, 0xa
push eax
push dword [ebp - 0x10674]
lea eax, [ebp - 0x10014]
push 0xa
push eax
mov ecx, esi
call fcn.10041963
add dword [ebp - 0x10674], 0xa
add dword [ebp - 0x1067c], 0xa
mov edi, dword [ebp - 0x10678]
jmp 0x10058bd8
mov ecx, dword [ebp - 0x10688]
mov eax, edi
imul eax, eax, 0x11f
cmp dword [eax + ecx + 0xb], ebx
jle 0x10058dad
mov dword [ebp - 0x1067c], ebx
mov eax, dword [ebp - 0x10688]
imul edi, edi, 0x11f
lea edi, [edi + eax + 0xb]
mov eax, dword [ebp - 0x1067c]
cmp eax, dword [edi]
jge 0x10058dad
push 0xf000
lea eax, [ebp - 0x10014]
push ebx
push eax
call fcn.100620c0
mov eax, dword [edi]
sub eax, dword [ebp - 0x1067c]
add esp, 0xc
cmp eax, 0xa
mov eax, dword [esi + 0x11fcc]
mov ecx, esi
jge 0x10058d7c
mov edi, dword [edi]
sub edi, dword [ebp - 0x1067c]
imul eax, edi
push eax
push dword [ebp - 0x10674]
lea eax, [ebp - 0x10014]
push edi
push eax
call fcn.10041963
mov edi, dword [ebp - 0x10678]
mov ecx, dword [ebp - 0x10688]
mov eax, edi
imul eax, eax, 0x11f
mov eax, dword [eax + ecx + 0xb]
sub eax, dword [ebp - 0x1067c]
add dword [ebp - 0x10674], eax
jmp 0x10058da1
imul eax, eax, 0xa
push eax
push dword [ebp - 0x10674]
lea eax, [ebp - 0x10014]
push 0xa
push eax
call fcn.10041963
add dword [ebp - 0x10674], 0xa
mov edi, dword [ebp - 0x10678]
add dword [ebp - 0x1067c], 0xa
jmp 0x10058cef
lea ecx, [esi + 0x3020]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
mov dword [ebp - 0x106a0], edi
cmp edi, ebx
je 0x100590be
cmp byte [edi + 0x19], 1
jne 0x10058de7
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x106f8], eax
push 0x1008bdb8
lea eax, [ebp - 0x106f8]
jmp 0x10058544
cmp byte [ebp + 0x24], 1
jne 0x10058e22
cmp dword [ebp - 0x106c0], ebx
je 0x10058e22
cmp dword [ebp - 0x10674], 0x4b0
jge 0x10058e22
mov eax, dword [ebp - 0x10674]
push dword [edi + 0x24]
imul eax, eax, 0x990
add eax, dword [ebp - 0x106c0]
push eax
push dword [edi + 0x2c]
call fcn.10062770
add esp, 0xc
mov ecx, dword [ebp - 0x10678]
mov edx, dword [ebp - 0x10688]
mov eax, ecx
imul eax, eax, 0x11f
add eax, edx
cmp byte [eax + 6], 1
jne 0x10058e5b
cmp byte [eax + 4], bl
jne 0x10058e5b
push 0x990
push dword [edi + 0x28]
mov ecx, esi
push dword [edi + 0x2c]
call fcn.10045db3
mov ecx, dword [ebp - 0x10678]
mov eax, dword [ebp - 0x10688]
imul ecx, ecx, 0x11f
cmp byte [ecx + eax + 6], 1
jne 0x10058e80
cmp dword [ebp - 0x10674], ebx
jne 0x10058e80
push dword [edi + 0x2c]
mov ecx, esi
call fcn.10045d14
push dword [edi + 0x24]
mov ecx, esi
push dword [ebp - 0x10674]
push dword [edi + 0x28]
push dword [edi + 0x2c]
call fcn.10041963
mov al, byte [edi + 0x18]
mov byte [ebp - 0x10681], al
mov eax, dword [edi + 0x28]
add dword [ebp - 0x10674], eax
mov eax, dword [edi + 0x28]
cdq
add dword [ebp - 0x1069c], eax
adc dword [ebp - 0x10698], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1067c], eax
cmp dword [ebp + 0x18], ebx
jbe 0x10058f00
mov edx, dword [ebp + 0x18]
imul edx, edx, 0x3e8
mov ecx, eax
sub ecx, dword [ebp - 0x106c8]
cmp ecx, edx
jbe 0x10058f00
mov dword [ebp - 0x106c8], eax
lea eax, [ebp - 0x1069c]
push eax
lea eax, [ebp - 0x106ac]
push eax
push dword [esi + 0x11fd4]
push 0xc
call dword [esi + 0x11fd0]
cmp dword [ebp + 0x1c], ebx
jbe 0x10059030
inc dword [ebp - 0x1068c]
cmp dword [ebp - 0x1068c], 8
jle 0x10058f8d
xor eax, eax
lea edi, [ebp - 0x10020]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc
lea eax, [ebp - 0x10020]
push eax
mov ecx, esi
mov dword [ebp - 0x1068c], ebx
mov byte [ebp - 4], 0xb
call fcn.10041551
mov dword [ebp - 4], 9
jmp 0x10058f8d
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x1067c]
imul edx, edx, 0x3e8
mov ecx, eax
sub ecx, dword [ebp - 0x10680]
cmp ecx, edx
jbe 0x10059030
movzx ecx, byte [ebp - 0x1001b]
mov dword [ebp - 0x10680], eax
movzx eax, byte [ebp - 0x1001c]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x1001a]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x10019]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x10017]
mov dword [ebp - 0x106d0], eax
movzx eax, byte [ebp - 0x10018]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x10016]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x10015]
shl eax, 8
or eax, ecx
mov dword [ebp - 0x106c4], eax
lea eax, [ebp - 0x106c4]
push eax
lea eax, [ebp - 0x106d0]
push eax
push dword [esi + 0x11fd4]
push 0xd
call dword [esi + 0x11fd0]
push dword [ebp - 0x106a0]
mov ecx, dword [esi + 0x11c78]
call fcn.10041c7a
cmp byte [ebp - 0x10681], 1
je 0x100590be
push ebx
push dword [esi + 0x11fc0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10058dad
cmp byte [esi + 0x11c76], 1
jne 0x10058dad
push 0x1010
call fcn.10062b5c
pop ecx
mov dword [ebp - 0x106a0], eax
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x100590a4
push dword [ebp - 0x10698]
push dword [ebp - 0x1069c]
push 0x10009b80
push ebx
push 0xe
push eax
call fcn.10037a50
add esp, 0x18
mov ebx, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x10708], ebx
push 0x1008bdb8
lea eax, [ebp - 0x10708]
jmp 0x10058544
mov edi, dword [ebp - 0x10678]
mov ecx, dword [ebp - 0x10688]
mov eax, edi
imul eax, eax, 0x11f
cmp dword [eax + ecx + 0xf], ebx
jle 0x100591a0
mov dword [ebp - 0x1067c], ebx
mov eax, dword [ebp - 0x10688]
imul edi, edi, 0x11f
lea edi, [edi + eax + 0xf]
mov eax, dword [ebp - 0x1067c]
cmp eax, dword [edi]
jge 0x100591a0
push 0xf000
lea eax, [ebp - 0x10014]
push ebx
push eax
call fcn.100620c0
mov eax, dword [edi]
sub eax, dword [ebp - 0x1067c]
add esp, 0xc
cmp eax, 0xa
mov eax, dword [esi + 0x11fcc]
mov ecx, esi
jge 0x1005916f
mov edi, dword [edi]
sub edi, dword [ebp - 0x1067c]
imul eax, edi
push eax
push dword [ebp - 0x10674]
lea eax, [ebp - 0x10014]
push edi
push eax
call fcn.10041963
mov edi, dword [ebp - 0x10678]
mov ecx, dword [ebp - 0x10688]
mov eax, edi
imul eax, eax, 0x11f
mov eax, dword [eax + ecx + 0xf]
sub eax, dword [ebp - 0x1067c]
add dword [ebp - 0x10674], eax
jmp 0x10059194
imul eax, eax, 0xa
push eax
push dword [ebp - 0x10674]
lea eax, [ebp - 0x10014]
push 0xa
push eax
call fcn.10041963
add dword [ebp - 0x10674], 0xa
mov edi, dword [ebp - 0x10678]
add dword [ebp - 0x1067c], 0xa
jmp 0x100590e2
push ebx
cmp byte [ebp - 0x10681], bl
jne 0x100591c9
push ebx
push dword [esi + 0x11fd4]
push 0x19
call dword [esi + 0x11fd0]
push dword [0x10097748]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10058dad
lea eax, [ebp - 0x10678]
push eax
push dword [esi + 0x11fd4]
push 0x26
call dword [esi + 0x11fd0]
mov eax, dword [ebp - 0x10678]
mov edi, dword [ebp - 0x10688]
inc eax
jmp 0x10058b22
lea ecx, [ebp - 0x10738]
mov byte [ebp - 4], 5
call fcn.100379c7
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.10044f16
push ebx
push ebx
push dword [esi + 0x11fd4]
push 0x29
call dword [esi + 0x11fd0]
push ebx
push ebx
push dword [esi + 0x11fd4]
push 8
call dword [esi + 0x11fd0]
mov ecx, esi
call fcn.10053bef
push ebx
push ebx
push dword [esi + 0x11fd4]
push 9
call dword [esi + 0x11fd0]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1072c]
call fcn.10037af5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10062074
leave
ret 0x24