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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2124
call dword [0x10026340]
cmp dword [ebp + 0x10], 0
jne 0x100044d9
jmp 0x10004681
mov eax, dword [0x10531594]
movzx ecx, byte [eax + 2]
cmp ecx, 0xc1
jne 0x1000467c
cmp dword [0xe609e8], 5
jne 0x1000467c
mov edx, dword [0x10531594]
movzx eax, byte [edx + 4]
cmp eax, 0x11
je 0x1000452b
mov ecx, dword [0x10531594]
movzx edx, byte [ecx + 4]
cmp edx, 0x19
je 0x1000452b
mov eax, dword [0x10531594]
movzx ecx, byte [eax + 4]
cmp ecx, 0x1e
jne 0x1000467c
mov edx, dword [0x11183b10]
mov eax, dword [edx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10004584
mov eax, dword [ebp - 4]
call fcn.10003ec0
movsx eax, word [eax]
call fcn.10003ee0
mov eax, dword [ebp - 4]
call fcn.10003ed0
movzx ecx, byte [eax]
mov edx, dword [0x11183a6c]
mov eax, dword [edx]
mov cx, word [eax + ecx*2 + 0x78]
mov word [ebp - 8], cx
movsx edx, word [ebp - 8]
cmp edx, 0x107
je 0x1000457f
movsx eax, word [ebp - 8]
cmp eax, 0x22f
jne 0x10004584
jmp 0x100047e8
cmp dword [0x11184228], 0
jne 0x100045a8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184228], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184224], eax
jmp 0x1000467c
movzx ecx, byte [0x11183ac7]
test ecx, ecx
jne 0x100045b8
jmp 0x100049b0
mov byte [0x11183ac7], 0
cmp dword [0x11184220], 0
je 0x100045ef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x11184220]
cmp eax, 0x7d0
jb 0x100045e5
mov dword [0x11184220], 0
jmp 0x100049b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x11184228]
cmp eax, 0x19
jb 0x10004677
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184228], eax
cmp dword [0x11183acc], 0
je 0x10004675
mov eax, 0x3e8
cdq
idiv dword [0x11183acc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x11184224]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jge 0x10004660
mov eax, dword [0x1118421c]
add eax, 1
mov dword [0x1118421c], eax
cmp dword [0x1118421c], 2
jl 0x10004660
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184220], eax
jmp 0x100049b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184224], eax
mov dword [0x1118421c], 0
jmp 0x1000467c
jmp 0x100049b0
jmp 0x100047e8
mov ecx, dword [0x10531594]
movzx edx, byte [ecx + 2]
cmp edx, 0xc1
jne 0x100047ce
cmp dword [0xe609e8], 5
jne 0x100047ce
mov eax, dword [0x10531594]
movzx ecx, byte [eax + 4]
cmp ecx, 0x11
je 0x100046c5
mov edx, dword [0x10531594]
movzx eax, byte [edx + 4]
cmp eax, 0x4b
jne 0x100047ce
cmp dword [0x11184218], 0
jne 0x100046e9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184218], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184214], eax
jmp 0x100047ce
movzx ecx, byte [0x11183ac7]
test ecx, ecx
jne 0x10004708
mov edx, dword [0x10531594]
movzx eax, byte [edx + 4]
cmp eax, 0x11
jne 0x10004708
jmp 0x100049b0
mov byte [0x11183ac7], 0
cmp dword [0x11184210], 0
je 0x1000473f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x11184210]
cmp eax, 0x7d0
jb 0x10004735
mov dword [0x11184210], 0
jmp 0x100049b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x11184218]
cmp eax, 0x19
jb 0x100047c9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184218], eax
cmp dword [0x11183acc], 0
je 0x100047c7
mov eax, 0x3e8
cdq
idiv dword [0x11183acc]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x11184214]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
jge 0x100047b2
mov edx, dword [0x1118420c]
add edx, 1
mov dword [0x1118420c], edx
cmp dword [0x1118420c], 2
jl 0x100047b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184210], eax
jmp 0x100049b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x11184214], eax
mov dword [0x1118420c], 0
jmp 0x100047ce
jmp 0x100049b0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0xe61f84
mov ecx, dword [ecx]
call dword [0x10026334]
jmp 0x100049b0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2118]
push ecx
call dword [0x10026338]
add esp, 0xc
call dword [0x1002633c]
and eax, 0x800000ff
jns 0x10004816
dec eax
or eax, 0xffffff00
inc eax
jmp 0x10004816
mov edx, dword [ebp + 0xc]
mov byte [ebp + edx - 0x2118], al
movzx eax, byte [ebp - 0x2118]
xor ecx, ecx
cmp eax, 0xc1
setne cl
add ecx, 2
mov dword [ebp - 0x211c], ecx
mov edx, dword [ebp - 0x211c]
mov edx, 0x8793700
mov al, byte [edx]
mov edx, dword [ebp - 0x211c]
mov byte [ebp + edx - 0x2119], al
mov eax, 0x8793700
mov cl, byte [eax]
add cl, 1
mov byte [eax], cl
mov edx, dword [ebp - 0x211c]
sub edx, 1
mov dword [ebp - 0x211c], edx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x211c]
push eax
mov ecx, dword [ebp - 0x211c]
lea edx, [ebp + ecx - 0x2118]
push edx
push 0
mov ecx, 0x8797778
call dword [0x10026344]
mov dword [ebp - 0x1114], eax
cmp dword [ebp - 0x1114], 0x100
jge 0x1000491f
cmp dword [ebp + 0x14], 0
jne 0x1000491f
mov eax, dword [ebp - 0x1114]
add eax, 2
mov dword [ebp - 0x2120], eax
mov byte [ebp - 0x108], 0xc3
mov cl, byte [ebp - 0x2120]
mov byte [ebp - 0x107], cl
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x211c]
push edx
mov eax, dword [ebp - 0x211c]
lea ecx, [ebp + eax - 0x2118]
push ecx
lea edx, [ebp - 0x106]
push edx
mov ecx, 0x8797778
call dword [0x10026344]
mov eax, dword [ebp - 0x2120]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov ecx, 0xe61f84
mov ecx, dword [ecx]
call dword [0x10026334]
jmp 0x100049b0
mov edx, dword [ebp - 0x1114]
add edx, 3
mov dword [ebp - 0x2124], edx
mov byte [ebp - 0x1110], 0xc4
mov eax, dword [ebp - 0x2124]
and eax, 0x800000ff
jns 0x1000494b
dec eax
or eax, 0xffffff00
inc eax
jmp 0x1000494b
mov byte [ebp - 0x110e], al
mov eax, dword [ebp - 0x2124]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ebp - 0x110f], al
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x211c]
push ecx
mov edx, dword [ebp - 0x211c]
lea eax, [ebp + edx - 0x2118]
push eax
lea ecx, [ebp - 0x110d]
push ecx
mov ecx, 0x8797778
call dword [0x10026344]
mov edx, dword [ebp - 0x2124]
push edx
lea eax, [ebp - 0x1110]
push eax
mov ecx, 0xe61f84
mov ecx, dword [ecx]
call dword [0x10026334]
jmp 0x100049b0
mov esp, ebp
pop ebp
ret