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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x460ec018]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x48], 0x3c
xor edi, edi
mov dword [esp + 0x40], ebx
inc edi
lea ecx, [esp + 0x14]
mov eax, edi
mov dword [esp + 0x30], edi
xor esi, esi
mov dword [esp + 0x34], eax
push ebx
mov dword [esp + 0x30], esi
call fcn.460b3cbd
mov eax, dword [ebx + 8]
mov ecx, ebx
push dword [ebx + 0x88]
mov dword [esp + 0x58], esi
mov dword [esp + 0x6c], edi
mov eax, dword [eax + 0xac]
mov dword [esp + 0x50], eax
call fcn.460936b1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0x18
cmp dword [ebp + 0x14], esi
je 0x46093d97
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x64
mov dword [esp + 0x3c], eax
jmp 0x46093d9b
mov dword [esp + 0x3c], esi
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x50], esi
test edi, edi
jne 0x46093db0
lea edi, [esp + 0xec]
mov dword [ebp + 0x1c], edi
mov eax, 0x2000
test dword [ebx + 0x20], eax
je 0x46093dc6
mov eax, dword [ebx + 8]
test dword [eax + 0x5c], 0x40000
je 0x46093dc9
mov dword [ebp + 0x18], esi
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push esi
push dword [eax + 0x14]
call fcn.460b3ec7
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
neg eax
push eax
call fcn.460b3d61
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
test eax, eax
je 0x46093e23
mov eax, dword [ebx + 8]
mov ecx, 0x2000
test word [eax + 0x64], cx
jne 0x46093e1a
mov ecx, dword [ebp + 8]
call fcn.460c323b
movzx eax, word [eax]
sub eax, 2
cmp eax, 5
ja 0x46093e23
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x38]
xor eax, eax
cmp dword [esp + 0x28], eax
sete al
inc eax
mov edi, dword [esp + 0x18]
dec eax
mov dword [esp + 0x44], eax
test edi, edi
jle 0x46093e7c
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.460b3e91
cmp byte [eax + 0x14], 0
je 0x46093e53
cmp ebx, edi
jge 0x46093e7c
inc dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.460b3d87
lea ecx, [esp + 0x14]
call fcn.460b3e72
mov ecx, dword [esp + 0x28]
add ecx, dword [eax]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
test eax, eax
jg 0x46093e31
push dword [ebp + 8]
mov ebx, dword [esp + 0x44]
lea ecx, [esp + 0x74]
push ebx
call fcn.460b5761
mov eax, dword [esp + 0x28]
mov ecx, eax
neg ecx
mov edi, dword [ebp + 0x1c]
je 0x46093ea8
push ecx
lea ecx, [esp + 0x74]
call fcn.460c30e1
mov eax, dword [esp + 0x28]
add eax, dword [ebp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], eax
call fcn.460b4078
movzx eax, ax
lea ecx, [esp + 0x70]
push eax
call fcn.460b6c74
cmp dword [esp + 0x18], esi
jle 0x46093ee1
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.460b3e91
movzx eax, byte [eax + 0x15]
and eax, 1
mov dword [esp + 0x30], eax
push dword [esp + 0x18]
mov ecx, ebx
call fcn.46094c58
mov ecx, eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x18]
mov dword [edi + 4], edx
mov dword [edi + 0xc], eax
mov dword [edi], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 8], ecx
mov dword [esp + 0x10], ecx
mov dword [ebx + 0x64], ecx
mov dword [ebx + 0x60], eax
cmp dword [ebp + 0x18], esi
je 0x46093f4b
cmp dword [ebx + 0x6c], esi
jle 0x46093f4b
cmp ecx, dword [ebx + 0x6c]
jle 0x46093f4b
cmp eax, dword [ebx + 0x68]
jle 0x46093f4b
push 0xffffffffffffffff
mov dword [ebx + 0x88], ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.460870b2
mov ecx, ebx
call fcn.46094816
push ebx
mov ecx, edi
call fcn.46091bab
jmp 0x4609477f
cmp dword [esp + 0x38], esi
jle 0x46094345
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.46086f15
mov dword [esp + 0x40], eax
test eax, eax
je 0x460942e7
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x46093f80
cmp dword [esp + 0x24], ecx
setne cl
xor eax, eax
jmp 0x46093f89
xor eax, eax
cmp dword [ecx + 4], eax
jne 0x46093f91
mov ecx, eax
test ecx, ecx
jne 0x46093f91
mov esi, eax
jmp 0x46093faf
lea ecx, [esp + 0x14]
call fcn.460b3e72
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.460b3e72
movzx ecx, word [esi + 0x12]
mov esi, dword [eax]
sub esi, ecx
xor eax, eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
or edx, 2
mov dword [esp + 0x30], edx
test ecx, ecx
jle 0x4609406d
cmp ecx, esi
jl 0x4609406d
mov ecx, dword [ebx + 8]
mov edi, 0x2000
test word [ecx + 0x64], di
mov edi, dword [ebp + 0x1c]
jne 0x4609406d
test byte [ecx + 0x72], 1
jne 0x4609406d
mov ecx, dword [ebx + 0x90]
test ecx, ecx
je 0x46094003
cmp word [ecx + 0xc], ax
je 0x46094003
cmp word [ecx + 0xe], ax
jne 0x4609406d
lea ecx, [esp + 0x14]
call fcn.460b3e72
push eax
lea ecx, [esp + 0x74]
call fcn.460b585e
test esi, esi
je 0x46094024
push esi
lea ecx, [esp + 0x74]
call fcn.460c30e1
lea ecx, [esp + 0x14]
mov dword [esp + 0xa4], esi
call fcn.460b3e72
lea ecx, [esp + 0x14]
mov eax, dword [eax + 8]
and byte [esp + 0xb9], 0x2e
mov dword [esp + 0xac], eax
call fcn.460b3e72
test byte [eax + 0x15], 0x40
je 0x4609405d
and byte [esp + 0xb9], 0xdf
mov edx, dword [esp + 0x30]
xor eax, eax
mov byte [esp + 0xb8], al
or edx, 0x20
mov ecx, dword [esp + 0x40]
push eax
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x80]
push eax
call fcn.460b3780
test eax, eax
je 0x46094614
cmp dword [esp + 0x50], 0
jne 0x460940b6
mov eax, dword [esp + 0xd8]
cmp byte [eax + 0x10], 2
jne 0x4609424f
test byte [eax + 2], 1
je 0x4609424f
mov dword [esp + 0x50], 1
xor esi, esi
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x460942e7
movzx ecx, byte [eax + 0x15]
mov edx, dword [esp + 0x10]
and ecx, 1
mov dword [esp + 0x30], ecx
mov ecx, eax
mov dword [esp + 0x54], edx
call fcn.460b3caf
mov ecx, dword [esp + 0x44]
add edx, eax
sub dword [esp + 0x38], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], edx
test eax, eax
jle 0x460941f8
cmp dword [esp + 0x2c], 0
je 0x460941f4
cmp eax, ecx
jl 0x460941f4
lea ecx, [esp + 0x14]
call fcn.460b3e72
mov edx, eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
cmp ecx, dword [edx + 4]
jne 0x460941f4
mov ecx, dword [eax + 8]
cmp ecx, dword [edx + 8]
jne 0x460941f4
mov cx, word [eax + 0xc]
cmp cx, word [edx + 0xc]
jne 0x460941f4
mov ax, word [eax + 0xe]
cmp ax, word [edx + 0xe]
jne 0x460941f4
mov eax, dword [esp + 0x44]
cmp eax, dword [edx]
jne 0x460941f4
mov eax, dword [esp + 0x40]
mov ax, word [eax + 0x12]
cmp ax, word [edx + 0x12]
jne 0x460941f4
mov eax, dword [ebx + 8]
mov ecx, 0x2000
test word [eax + 0x64], cx
jne 0x460941f4
lea ecx, [esp + 0x14]
call fcn.460b3e72
mov ecx, dword [esp + 0x28]
sub ecx, dword [eax]
inc dword [edi + 4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
call fcn.460b3e72
lea ecx, [esp + 0x14]
mov eax, dword [eax]
add dword [edi], eax
call fcn.460b3e72
lea ecx, [esp + 0x14]
mov eax, dword [eax]
add dword [edi + 0xc], eax
call fcn.460b3e72
mov ecx, eax
call fcn.460b3caf
add dword [edi + 8], eax
lea ecx, [esp + 0x14]
call fcn.460b3e72
mov ecx, eax
call fcn.460b3caf
add dword [edi + 0x14], eax
lea ecx, [esp + 0x58]
dec dword [esp + 0x2c]
push 1
call fcn.4608714d
push ecx
lea ecx, [esp + 0x18]
call fcn.460b3de6
test eax, eax
jne 0x460941f8
mov dword [esp + 0x28], esi
cmp dword [ebp + 0x14], 0
je 0x4609420a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x3c]
jae 0x4609425a
cmp dword [ebp + 0x18], 0
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x10]
je 0x4609423f
cmp edx, dword [ebx + 0x6c]
jle 0x4609423f
cmp eax, dword [ebx + 0x68]
jle 0x4609423f
mov ecx, dword [esp + 0x48]
mov eax, ecx
dec ecx
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x4609433a
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x38], 0
jg 0x46093f55
jmp 0x46094349
xor esi, esi
mov dword [esp + 0x50], esi
jmp 0x460940b8
mov edx, dword [esp + 0x10]
mov eax, esi
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x84]
mov eax, dword [ebx + 0x54]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x88]
mov dword [edi + 0x14], eax
mov dword [ebx + 0x60], ecx
lea ecx, [esp + 0x14]
push esi
push dword [edi + 4]
call fcn.460cd2e5
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x58]
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.460871a2
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esi
mov edi, eax
mov esi, dword [esp + 0x84]
push esi
call fcn.460cd3b0
mov eax, dword [ebp + 0x1c]
sub esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x18], esi
test edi, edi
jne 0x4609461b
xor esi, esi
mov edi, eax
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx + 0x4c]
call fcn.460872fa
or dword [ebx + 0x20], 0x90
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x60], esi
mov ecx, dword [ebx + 0x20]
test cl, 0x10
jne 0x4609432d
mov eax, dword [esp + 0x84]
or ecx, 0x10
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x60], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x64], eax
mov ecx, dword [ecx + 0x4c]
call fcn.460872fa
and dword [ebx + 0x20], 0xffffffef
push ebx
mov ecx, edi
call fcn.46091bab
jmp 0x46094782
mov eax, esi
mov dword [esp + 0x34], eax
jmp 0x46094264
mov edx, dword [esp + 0x10]
cmp eax, dword [esp + 0x4c]
jge 0x46094264
cmp dword [esp + 0x68], 0
je 0x4609440a
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x4609437b
xor ecx, ecx
cmp dword [esp + 0x24], ecx
setne cl
jmp 0x46094382
cmp dword [edx + 4], esi
jne 0x46094386
mov ecx, esi
test ecx, ecx
je 0x460943c3
cmp dword [edi + 0xc], eax
jge 0x460943c3
lea ecx, [esp + 0x14]
call fcn.460b3e72
mov ecx, eax
call fcn.460b3caf
add dword [edi + 0x14], eax
lea ecx, [esp + 0x14]
call fcn.460b3e72
lea ecx, [esp + 0x14]
mov eax, dword [eax]
add dword [edi + 0xc], eax
call fcn.460cd337
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x46094368
mov dword [esp + 0x68], esi
jmp 0x4609440a
test edx, edx
jne 0x460943d2
xor ecx, ecx
cmp dword [esp + 0x24], ecx
setne cl
jmp 0x460943d9
cmp dword [edx + 4], esi
jne 0x460943dd
mov ecx, esi
test ecx, ecx
je 0x4609440a
cmp dword [edi + 0xc], eax
jne 0x4609440a
lea ecx, [esp + 0x14]
call fcn.460b3e72
cmp dword [eax], esi
je 0x4609440a
lea ecx, [esp + 0x14]
call fcn.460b3e72
movzx eax, byte [eax + 0x16]
cmp word [esp + 0xe0], ax
je 0x460944bf
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.46086f15
mov dword [esp + 0x44], eax
test eax, eax
je 0x460942e7
mov ecx, dword [esp + 0x30]
push esi
or ecx, 2
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
call fcn.460b3780
test eax, eax
je 0x460942ff
mov ecx, dword [esp + 0x44]
movzx eax, byte [ecx + 0x15]
and eax, 1
mov dword [esp + 0x30], eax
call fcn.460b3caf
mov ecx, dword [esp + 0x10]
add ecx, eax
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x10], ecx
je 0x4609447e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x3c]
jae 0x4609425a
mov ecx, dword [esp + 0x10]
cmp dword [ebp + 0x18], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
je 0x460944b0
cmp ecx, dword [ebx + 0x6c]
jle 0x460944b0
cmp eax, dword [ebx + 0x68]
jle 0x460944b0
mov ecx, dword [esp + 0x48]
mov eax, ecx
dec ecx
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x46094601
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x4c]
jl 0x46094353
jmp 0x46094607
lea ecx, [esp + 0x14]
call fcn.460b3e72
or byte [eax + 0x15], 0x10
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x460944f8
dec eax
lea ecx, [esp + 0x58]
push eax
call fcn.460864a0
test byte [eax + 0x15], 1
jne 0x460944f2
lea ecx, [esp + 0x14]
call fcn.460b3e72
and byte [eax + 0x15], 0xef
mov eax, dword [esp + 0x18]
jmp 0x46094522
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x3c], eax
cmp eax, ecx
jl 0x46094522
test ecx, ecx
je 0x46094522
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x18]
call fcn.460b3e91
test byte [eax + 0x15], 1
je 0x460944e5
mov eax, dword [esp + 0x3c]
push esi
push dword [edi + 4]
mov dword [edi + 0x10], eax
lea ecx, [esp + 0x1c]
sub eax, dword [edi + 4]
mov dword [esp + 0x44], eax
call fcn.460cd2e5
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x40]
push dword [esp + 0x20]
call fcn.460871a2
test eax, eax
je 0x460942e7
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
add eax, dword [esp + 0x5c]
push esi
push eax
call fcn.460cd2e5
push 1
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.4608714d
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [edi + 0x20], edx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x18], eax
mov dword [ebx + 0x60], eax
test esi, esi
je 0x460945ef
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jne 0x460945b0
cmp dword [esp + 0x24], eax
setne al
jmp 0x460945b5
cmp dword [ecx + 4], eax
jne 0x460945b9
test eax, eax
je 0x460945ef
mov esi, dword [esp + 0x84]
lea ecx, [esp + 0x14]
call fcn.460b3e72
mov ecx, eax
call fcn.460b3caf
add dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
call fcn.460b3e72
lea ecx, [esp + 0x14]
add esi, dword [eax]
mov dword [ebx + 0x60], esi
call fcn.460cd337
test eax, eax
jne 0x460945c0
mov eax, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [ebx + 0x60], eax
sete cl
mov dword [esp + 0x34], ecx
jmp 0x46094645
mov eax, esi
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
jmp 0x4609426b
xor esi, esi
jmp 0x460942ff
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebx + 0x54]
cmp dword [esi + 4], eax
jl 0x46094645
test eax, eax
jle 0x46094645
dec eax
lea ecx, [ebx + 0x50]
push eax
mov dword [esi + 4], eax
call fcn.460864a0
mov ecx, eax
call fcn.460b3caf
sub dword [esi + 8], eax
mov eax, dword [ecx]
sub dword [esi], eax
mov edi, dword [esp + 0x34]
mov eax, edi
mov ecx, dword [ebx + 0x20]
or dword [ebx + 0x6c], 0xffffffff
and ecx, 0xfffffeff
or dword [ebx + 0x68], 0xffffffff
mov esi, dword [esp + 0x10]
shl eax, 8
or ecx, eax
mov dword [ebx + 0x64], esi
and ecx, 0xffffff7f
mov dword [ebx + 0x20], ecx
test edi, edi
je 0x460946ad
cmp dword [ebp + 0x14], 0
je 0x460946ad
mov eax, dword [ebx + 8]
push 0x1af
mov edi, dword [eax + 0x1c]
mov eax, dword [edi]
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x460ed508]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x20]
mov esi, dword [esp + 0x10]
and eax, 0xfffffffe
mov edi, dword [esp + 0x34]
or eax, 0x100
mov dword [ebx + 0x20], eax
push esi
mov ecx, ebx
call fcn.460936b1
test dword [ebx + 0x20], 0x200
jne 0x460946da
test edi, edi
je 0x460947ad
cmp esi, dword [ebx + 0x88]
jne 0x460946da
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
je 0x460947b1
mov eax, dword [ebx]
mov dword [ebx + 0x88], esi
push 1
push 1
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x460ed508]
mov ecx, ebx
call esi
mov ecx, ebx
call fcn.460947c4
cmp dword [esp + 0x50], 0
mov esi, eax
je 0x46094728
movsx eax, word [ebx + 0x14]
mov ecx, 0x5a0
imul eax, dword [ebx + 0x7c]
add eax, 0x2d0
cdq
idiv ecx
movsx ecx, word [ebx + 0x24]
cmp eax, ecx
jle 0x46094728
cmp esi, eax
jg 0x46094728
mov esi, eax
test dword [ebx + 0x20], 0x200
jne 0x46094745
test edi, edi
je 0x4609473d
cmp esi, dword [ebx + 0x84]
jne 0x46094745
cmp esi, dword [ebx + 0x84]
jle 0x46094760
mov eax, dword [ebx]
mov dword [ebx + 0x84], esi
push 1
push 0
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x460ed508]
mov ecx, ebx
call esi
and dword [ebx + 0x20], 0xfffffdff
test edi, edi
jne 0x4609477b
cmp dword [ebp + 0x14], edi
jne 0x4609477f
mov ecx, ebx
call fcn.46094816
test eax, eax
je 0x4609477f
and dword [ebx + 0x20], 0xffffffef
xor esi, esi
inc esi
lea ecx, [esp + 0x70]
call fcn.460b578c
mov ecx, dword [esp + 0x58]
call fcn.460e9cb0
mov ecx, dword [esp + 0x114]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.460ea320
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jg 0x460946da
mov dword [ebx + 0x88], esi
jmp 0x460946f5