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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, edx
mov esi, eax
mov eax, dword [0x68eab8]
cmp dword [eax], 0
je 0x506e19
mov eax, dword [0x68e554]
mov eax, dword [eax]
mov dword [eax + 4], ebx
mov eax, dword [0x68eab8]
mov eax, dword [eax]
cmp byte [eax + 0x1c], 0
je 0x5064d1
cmp byte [ebx + 0x17], 0x1e
jne 0x5062ac
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
call fcn.005b7fb8
movzx edi, al
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
cdq
xor eax, edx
sub eax, edx
dec eax
jg 0x506239
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, dword [ebx + 0x10]
cdq
xor eax, edx
sub eax, edx
dec eax
jg 0x506239
cmp byte [ebx + 0x31], 0
jne 0x506239
mov eax, esi
call fcn.0050e0a0
test al, al
je 0x5061d1
mov eax, esi
call fcn.0050e03c
test al, al
je 0x5061d1
mov eax, dword [0x68eab8]
mov eax, dword [eax]
movzx eax, byte [eax + 0x14]
cmp edi, eax
je 0x5061d1
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
push edi
push 0
push 0
push 0
push 0
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov dx, 1
call fcn.005a33d8
jmp 0x506e19
mov eax, esi
call fcn.0050e0a0
test al, al
je 0x506e19
mov eax, esi
call fcn.0050e03c
test al, al
je 0x506e19
mov eax, dword [0x68e570]
xor edx, edx
mov dword [eax], edx
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68e4c0]
sub eax, dword [edx]
cmp eax, 0x7d0
jbe 0x506e19
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68e4c0]
mov dword [edx], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebx + 4]
mov edx, 0x7d
mov eax, esi
call fcn.0050b274
jmp 0x506e19
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x506277
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, dword [ebx + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x506277
cmp byte [ebx + 0x31], 0
jne 0x506277
mov eax, dword [0x68f1ac]
mov byte [eax], 0
jmp 0x50627f
mov eax, dword [0x68f1ac]
mov byte [eax], 1
push esp
lea eax, [esp + 8]
push eax
mov ecx, edi
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.005b8118
mov eax, dword [0x68eba4]
mov edx, dword [esp]
mov dword [eax], edx
mov eax, dword [0x68ea94]
mov edx, dword [esp + 4]
mov dword [eax], edx
jmp 0x506e19
mov eax, dword [0x68e7a8]
cmp byte [eax + 0xdad], 0x21
jne 0x506e19
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
call fcn.005b7fb8
movzx edi, al
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
cdq
xor eax, edx
sub eax, edx
dec eax
jg 0x50638e
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, dword [ebx + 0x10]
cdq
xor eax, edx
sub eax, edx
dec eax
jg 0x50638e
cmp byte [ebx + 0x31], 0
jne 0x50638e
mov eax, esi
call fcn.0050e0a0
test al, al
je 0x50637c
mov eax, esi
call fcn.0050e03c
test al, al
je 0x50637c
mov eax, esi
call fcn.0050e0e8
test al, al
je 0x50637c
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
push edi
push 0
push 0
push 0
push 0
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov dx, 0xb
call fcn.005a33d8
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68f194]
mov dword [edx], eax
mov eax, dword [0x68e740]
mov dword [eax], 0xffffffff
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68ed5c]
mov dword [edx], eax
jmp 0x506e19
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
call fcn.005b7e3c
test al, al
je 0x50645e
cmp byte [ebx + 0x31], 0
jne 0x50645e
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
call fcn.005b7e0c
cmp eax, 2
jg 0x50645e
mov eax, esi
call fcn.0050e0a0
test al, al
je 0x50644c
mov eax, esi
call fcn.0050e03c
test al, al
je 0x50644c
mov eax, esi
call fcn.0050e0e8
test al, al
je 0x50644c
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
push edi
push 0
push 0
push 0
push 0
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov dx, 0xb
call fcn.005a33d8
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68f194]
mov dword [edx], eax
mov eax, dword [0x68e740]
mov dword [eax], 0xffffffff
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68ed5c]
mov dword [edx], eax
jmp 0x506e19
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x50649c
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, dword [ebx + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x50649c
cmp byte [ebx + 0x31], 0
jne 0x50649c
mov eax, dword [0x68f1ac]
mov byte [eax], 0
jmp 0x5064a4
mov eax, dword [0x68f1ac]
mov byte [eax], 1
push esp
lea eax, [esp + 8]
push eax
mov ecx, edi
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.005b8118
mov eax, dword [0x68eba4]
mov edx, dword [esp]
mov dword [eax], edx
mov eax, dword [0x68ea94]
mov edx, dword [esp + 4]
mov dword [eax], edx
jmp 0x506e19
mov ebp, 7
mov eax, dword [0x68e7a8]
cmp byte [eax + 0x11d], 6
jne 0x5064e9
mov ebp, 8
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
call fcn.005b7fb8
movzx edi, al
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
cdq
xor eax, edx
sub eax, edx
dec eax
jg 0x506b5a
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, dword [ebx + 0x10]
cdq
xor eax, edx
sub eax, edx
dec eax
jg 0x506b5a
cmp byte [ebx + 0x31], 0
jne 0x506b5a
cmp byte [ebx + 0x17], 0x1e
jne 0x506612
mov eax, esi
call fcn.0050e0a0
test al, al
je 0x5065aa
mov eax, esi
call fcn.0050e03c
test al, al
je 0x5065aa
mov eax, dword [0x68eab8]
mov eax, dword [eax]
movzx eax, byte [eax + 0x14]
cmp edi, eax
je 0x5065aa
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
push edi
push 0
push 0
push 0
push 0
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov dx, 1
call fcn.005a33d8
jmp 0x506b48
mov eax, esi
call fcn.0050e0a0
test al, al
je 0x506b48
mov eax, esi
call fcn.0050e03c
test al, al
je 0x506b48
mov eax, dword [0x68e570]
xor edx, edx
mov dword [eax], edx
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68e4c0]
sub eax, dword [edx]
cmp eax, 0x7d0
jbe 0x506b48
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68e4c0]
mov dword [edx], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebx + 4]
mov edx, 0x7d
mov eax, esi
call fcn.0050b274
jmp 0x506b48
mov eax, esi
call fcn.0050e0a0
test al, al
je 0x506afc
mov eax, esi
call fcn.0050e03c
test al, al
je 0x506afc
mov eax, esi
call fcn.0050e0e8
test al, al
je 0x506afc
mov eax, dword [0x68ecb8]
cmp byte [eax], 0
je 0x506689
mov eax, dword [0x68ecb8]
mov byte [eax], 0
mov ebp, 0x11
mov eax, dword [0x68e778]
mov byte [eax + 0xa425], 0
mov ax, 0x6e
call fcn.005826b4
mov eax, dword [0x68e740]
cmp dword [eax], 0x6e
jne 0x506aa9
mov eax, dword [0x68e740]
mov dword [eax], 0xffffffff
jmp 0x506aa9
mov eax, dword [0x68e880]
cmp byte [eax], 0
je 0x5066d3
mov eax, dword [0x68e880]
mov byte [eax], 0
mov ebp, 0x13
mov eax, dword [0x68e778]
mov byte [eax + 0xa721], 0
mov ax, 0x70
call fcn.005826b4
mov eax, dword [0x68e740]
cmp dword [eax], 0x70
jne 0x506aa9
mov eax, dword [0x68e740]
mov dword [eax], 0xffffffff
jmp 0x506aa9
mov eax, dword [0x68e370]
cmp byte [eax], 0
je 0x50671d
mov eax, dword [0x68e370]
mov byte [eax], 0
mov ebp, 0x14
mov eax, dword [0x68e778]
mov byte [eax + 0xa89f], 0
mov ax, 0x71
call fcn.005826b4
mov eax, dword [0x68e740]
cmp dword [eax], 0x71
jne 0x506aa9
mov eax, dword [0x68e740]
mov dword [eax], 0xffffffff
jmp 0x506aa9
mov eax, dword [0x68e914]
cmp byte [eax], 0
je 0x50674e
mov eax, dword [0x68e914]
mov byte [eax], 0
mov ebp, 0x15
mov eax, dword [0x68e778]
mov byte [eax + 0xb60d], 0
mov ax, 0x7a
call fcn.005826b4
jmp 0x506aa9
mov eax, dword [0x68eee4]
cmp byte [eax], 0
je 0x50677f
mov eax, dword [0x68eee4]
mov byte [eax], 0
mov ebp, 0x87
mov eax, dword [0x68e778]
mov byte [eax + 0x402b], 0
mov ax, 0x2b
call fcn.005826b4
jmp 0x506aa9
mov eax, dword [0x68e670]
cmp byte [eax], 0
je 0x5067dd
mov eax, dword [0x68e670]
mov byte [eax], 0
mov eax, dword [0x68e778]
cmp byte [eax + 0x13364], 0
je 0x5067be
mov ebp, 0x8f
mov eax, dword [0x68e778]
mov byte [eax + 0x13365], 0
mov ax, 0xce
call fcn.005826b4
jmp 0x506aa9
mov ebp, 0x16
mov eax, dword [0x68e778]
mov byte [eax + 0x5391], 0
mov ax, 0x38
call fcn.005826b4
jmp 0x506aa9
mov eax, dword [0x68ed9c]
cmp byte [eax], 0
je 0x50686e
mov eax, dword [0x68eab8]
mov eax, dword [eax]
cmp dword [eax + 0x97], 7
jl 0x50686e
mov eax, dword [0x68ed9c]
mov byte [eax], 0
mov eax, dword [0x68e778]
cmp byte [eax + 0x12bee], 0
je 0x50684f
mov ebp, 0x8b
mov eax, dword [0x68e778]
mov byte [eax + 0x12bef], 0
mov ax, 0xc9
call fcn.005826b4
mov eax, dword [0x68e778]
movzx eax, byte [eax + 0x12bf0]
mov edx, edi
movzx edx, dl
movzx eax, al
shl eax, 8
or dx, ax
mov eax, edx
movzx edi, ax
jmp 0x506aa9
mov ebp, 0xd
mov eax, dword [0x68e778]
mov byte [eax + 0x26cd], 0
mov ax, 0x1a
call fcn.005826b4
jmp 0x506aa9
mov eax, dword [0x68eb24]
cmp byte [eax], 0
je 0x5068eb
mov eax, dword [0x68eb24]
mov byte [eax], 0
mov eax, dword [0x68e778]
cmp byte [eax + 0x12d6c], 0
je 0x5068cc
mov ebp, 0x8c
mov eax, dword [0x68e778]
mov byte [eax + 0x12d6d], 0
mov ax, 0xca
call fcn.005826b4
mov eax, dword [0x68e778]
movzx eax, byte [eax + 0x12d6e]
mov edx, edi
movzx edx, dl
movzx eax, al
shl eax, 8
or dx, ax
mov eax, edx
movzx edi, ax
jmp 0x506aa9
mov ebp, 0xa
mov eax, dword [0x68e778]
mov byte [eax + 0xa73], 0
mov ax, 7
call fcn.005826b4
jmp 0x506aa9
mov eax, dword [0x68ea40]
cmp byte [eax], 0
je 0x506917
mov eax, dword [0x68eab8]
mov eax, dword [eax]
cmp dword [eax + 0x97], 0xa
jl 0x506917
mov eax, dword [0x68ea40]
mov byte [eax], 0
mov ebp, 0x10
jmp 0x506aa9
mov eax, dword [0x68eac4]
cmp byte [eax], 0
je 0x506931
mov eax, dword [0x68eab8]
mov eax, dword [eax]
cmp dword [eax + 0x97], 6
jge 0x506954
mov eax, dword [0x68e600]
cmp byte [eax + 0x27], 0
je 0x506a00
mov eax, dword [0x68eab8]
mov eax, dword [eax]
cmp dword [eax + 0x97], 6
jl 0x506a00
mov edx, edi
mov eax, esi
call fcn.005059b8
test al, al
je 0x506a00
mov eax, dword [0x68e778]
cmp byte [eax + 0x13068], 0
je 0x5069be
mov edx, edi
mov eax, esi
call fcn.00505b00
test al, al
je 0x5069be
mov ebp, 0x8e
mov eax, dword [0x68e778]
mov byte [eax + 0x13069], 0
mov ax, 0xcc
call fcn.005826b4
mov eax, dword [0x68e778]
movzx eax, byte [eax + 0x1306a]
mov edx, edi
movzx edx, dl
movzx eax, al
shl eax, 8
or dx, ax
mov eax, edx
movzx edi, ax
jmp 0x506aa9
mov eax, dword [0x68e778]
cmp byte [eax + 0x254e], 0
je 0x506aa9
mov edx, edi
mov eax, esi
call fcn.005059b8
test al, al
je 0x506aa9
mov ebp, 0xc
mov eax, dword [0x68e778]
mov byte [eax + 0x254f], 0
mov ax, 0x19
call fcn.005826b4
jmp 0x506aa9
mov eax, dword [0x68ef14]
cmp byte [eax], 0
je 0x506a24
mov eax, dword [0x68eab8]
mov eax, dword [eax]
cmp dword [eax + 0x97], 6
jl 0x506a24
mov ebp, 0xe
jmp 0x506aa9
mov eax, dword [0x68e600]
cmp byte [eax + 0x26], 0
jne 0x506a46
mov eax, dword [0x68e988]
cmp byte [eax], 0
je 0x506aa9
mov edx, edi
mov eax, esi
call fcn.00505924
test al, al
je 0x506aa9
mov eax, dword [0x68e778]
cmp byte [eax + 0x12eea], 0
je 0x506a8f
mov ebp, 0x8d
mov eax, dword [0x68e778]
mov byte [eax + 0x12eeb], 0
mov ax, 0xcb
call fcn.005826b4
mov eax, dword [0x68e778]
movzx eax, byte [eax + 0x12eec]
mov edx, edi
movzx edx, dl
movzx eax, al
shl eax, 8
or dx, ax
mov eax, edx
movzx edi, ax
jmp 0x506aa9
mov ebp, 0xb
mov eax, dword [0x68e778]
mov byte [eax + 0x11e9], 0
mov ax, 0xc
call fcn.005826b4
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
mov eax, edi
movzx eax, al
push eax
push 0
movzx eax, di
shr eax, 8
movzx eax, al
push eax
push 0
push 0
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov edx, ebp
call fcn.005a33d8
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68f194]
mov dword [edx], eax
mov eax, dword [0x68e740]
mov dword [eax], 0xffffffff
jmp 0x506b48
mov eax, esi
call fcn.0050e0a0
test al, al
jne 0x506b16
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68ed5c]
mov dword [edx], eax
jmp 0x506b48
mov eax, esi
call fcn.0050e03c
test al, al
jne 0x506b30
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68ed5c]
mov dword [edx], eax
jmp 0x506b48
mov eax, esi
call fcn.0050e0e8
test al, al
jne 0x506b48
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68ed5c]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68ed5c]
mov dword [edx], eax
jmp 0x506e19
xor ebp, ebp
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
call fcn.005b7e3c
test al, al
je 0x506da7
cmp byte [ebx + 0x31], 0
jne 0x506da7
cmp byte [ebx + 0x17], 0x1e
je 0x506da7
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0xc]
call fcn.005b7e0c
mov dword [esp + 8], eax
mov eax, esi
call fcn.0050e0a0
test al, al
je 0x506d8b
mov eax, esi
call fcn.0050e03c
test al, al
je 0x506d8b
mov eax, esi
call fcn.0050e0e8
test al, al
je 0x506d8b
cmp dword [esp + 8], 4
jg 0x506c2b
mov eax, dword [0x68eee4]
cmp byte [eax], 0
je 0x506c2b
mov eax, dword [0x68e644]
cmp byte [eax], 0
je 0x506c2b
mov eax, dword [0x68eee4]
mov byte [eax], 0
mov ebp, 0x87
mov eax, dword [0x68e778]
mov byte [eax + 0x402b], 0
mov ax, 0x2b
call fcn.005826b4
jmp 0x506d3f
cmp dword [esp + 8], 4
jg 0x506c63
mov eax, dword [0x68e670]
cmp byte [eax], 0
je 0x506c63
mov eax, dword [0x68e670]
mov byte [eax], 0
mov ebp, 0x16
mov eax, dword [0x68e778]
mov byte [eax + 0x5391], 0
mov ax, 0x38
call fcn.005826b4
jmp 0x506d3f
cmp dword [esp + 8], 3
jg 0x506cb4
mov eax, dword [0x68e880]
cmp byte [eax], 0
je 0x506cb4
mov eax, dword [0x68e880]
mov byte [eax], 0
mov ebp, 0x13
mov eax, dword [0x68e778]
mov byte [eax + 0xa721], 0
mov ax, 0x70
call fcn.005826b4
mov eax, dword [0x68e740]
cmp dword [eax], 0x70
jne 0x506d3f
mov eax, dword [0x68e740]
mov dword [eax], 0xffffffff
jmp 0x506d3f
cmp dword [esp + 8], 2
jg 0x506ce9
mov eax, dword [0x68eee4]
cmp byte [eax], 0
je 0x506ce9
mov eax, dword [0x68eee4]
mov byte [eax], 0
mov ebp, 0x87
mov eax, dword [0x68e778]
mov byte [eax + 0x402b], 0
mov ax, 0x2b
call fcn.005826b4
jmp 0x506d3f
cmp dword [esp + 8], 2
jg 0x506d1e
mov eax, dword [0x68e914]
cmp byte [eax], 0
je 0x506d1e
mov eax, dword [0x68e914]
mov byte [eax], 0
mov ebp, 0x15
mov eax, dword [0x68e778]
mov byte [eax + 0xb60d], 0
mov ax, 0x7a
call fcn.005826b4
jmp 0x506d3f
cmp dword [esp + 8], 2
jg 0x506d3f
mov eax, dword [0x68e988]
cmp byte [eax], 0
je 0x506d3f
mov eax, dword [0x68e600]
cmp byte [eax + 0x37], 0
je 0x506d3f
mov ebp, 0xb
test ebp, ebp
je 0x506da7
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
push edi
push 0
push 0
push 0
push 0
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov edx, ebp
call fcn.005a33d8
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68f194]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x68ed5c]
mov dword [edx], eax
jmp 0x506da7
cmp dword [esp + 8], 2
jg 0x506da7
mov eax, dword [0x68e988]
cmp byte [eax], 0
je 0x506da7
mov eax, dword [0x68e600]
cmp byte [eax + 0x37], 0
jne 0x506e19
test ebp, ebp
jne 0x506e19
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x506de9
mov eax, dword [0x68eab8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, dword [ebx + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x506de9
cmp byte [ebx + 0x31], 0
jne 0x506de9
mov eax, dword [0x68f1ac]
mov byte [eax], 0
jmp 0x506df1
mov eax, dword [0x68f1ac]
mov byte [eax], 1
push esp
lea eax, [esp + 8]
push eax
mov ecx, edi
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.005b8118
mov eax, dword [0x68eba4]
mov edx, dword [esp]
mov dword [eax], edx
mov eax, dword [0x68ea94]
mov edx, dword [esp + 4]
mov dword [eax], edx
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret