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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
cmp dword [0x4b707c], 0
je 0x49dc8f
mov eax, dword [0x4b701c]
xor eax, dword [0x4b702e]
xor eax, dword [0x4b72c2]
mov dword [ebp - 0x10], eax
jmp 0x49dc9c
mov eax, dword [0x4b72c2]
xor eax, 0xed8375b6
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x50]
mov dword [0x4b85a0], eax
mov dword [0x4b85a4], 0
call fcn.0049ff5e
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x49dcd9
cmp dword [0x4b7f28], 0
jne 0x49dccf
mov dword [0x4b7f28], 1
mov eax, 0xeac2
jmp 0x49e33a
cmp dword [0x4b7a1e], 0
je 0x49decb
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov eax, dword [ebp - 0x30]
and eax, 0xffff
mov dword [ebp - 0x14], eax
xor eax, eax
mov ax, word [ebp - 0x2e]
mov dword [ebp - 0x20], eax
xor eax, eax
mov ax, word [ebp - 0x2a]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
shl eax, 8
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
not eax
mov dword [section..gdata], eax
movsx eax, word [0x4b7a1c]
mov dword [0x4b85a8], eax
mov dword [0x4b85a4], 0xa
lea eax, [ebp - 0x40]
mov dword [0x4b85a0], eax
call fcn.0049ff5e
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x49dd7f
cmp dword [0x4b7f28], 0
jne 0x49dd75
mov dword [0x4b7f28], 6
mov eax, 0xeac2
jmp 0x49e33a
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x64], al
mov dword [ebp - 0x48], 0
jmp 0x49dd91
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 4
jae 0x49ddab
mov eax, dword [ebp - 0x48]
movsx eax, byte [eax + ebp - 0x40]
xor al, byte [ebp - 0x64]
mov ecx, dword [ebp - 0x48]
mov byte [ecx + ebp - 0x40], al
jmp 0x49dd8e
mov al, byte [ebp - 0x37]
mov byte [ebp - 0x34], al
mov dword [ebp - 0x48], 4
jmp 0x49ddbd
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 8
jae 0x49ddd7
mov eax, dword [ebp - 0x48]
movsx eax, byte [eax + ebp - 0x40]
xor al, byte [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
mov byte [ecx + ebp - 0x40], al
jmp 0x49ddba
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x60], al
mov al, byte [ebp - 0x3b]
mov byte [ebp - 0x40], al
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x3b], al
mov al, byte [ebp - 0x3a]
mov byte [ebp - 0x60], al
mov al, byte [ebp - 0x3e]
mov byte [ebp - 0x3a], al
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x3e], al
mov al, byte [ebp - 0x3f]
mov byte [ebp - 0x60], al
mov al, byte [ebp - 0x3c]
mov byte [ebp - 0x3f], al
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x3c], al
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp - 0x1c]
mov ecx, 0xff
cdq
idiv ecx
mov byte [ebp - 0x64], dl
mov al, byte [ebp - 0x64]
mov byte [ebp - 0x38], al
lea eax, [ebp - 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x49de3e
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 4
jae 0x49de56
mov eax, dword [ebp - 0x48]
mov al, byte [eax + ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov byte [edx + ecx], al
jmp 0x49de3b
call dword [sym.imp.kernel32.dll_GetTickCount]
add eax, 0x3c
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp - 0x1c]
mov ecx, 0xff
cdq
idiv ecx
mov byte [ebp - 0x34], dl
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x37], al
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
jbe 0x49de9f
cmp dword [0x4b7f28], 0
jne 0x49de93
mov dword [0x4b7f28], 2
mov eax, 0xeac1
jmp 0x49e33a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x48], 0
jmp 0x49deb1
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 4
jae 0x49dec9
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov al, byte [ecx + eax]
mov ecx, dword [ebp - 0x48]
mov byte [ecx + ebp - 0x3c], al
jmp 0x49deae
jmp 0x49ded2
xor eax, eax
jmp 0x49e33a
mov eax, dword [0x4b7a1e]
mov dword [ebp - 0x6c], eax
jmp 0x49e25e
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x49def1
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 2
jae 0x49df09
mov eax, dword [ebp - 0x48]
mov al, byte [eax + ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov byte [edx + ecx], al
jmp 0x49deee
movsx eax, word [ebp - 0x18]
cmp eax, 0x1234
jne 0x49e026
lea eax, [ebp - 4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x49df2a
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 2
jae 0x49df42
mov eax, dword [ebp - 0x48]
mov al, byte [eax + ebp - 0x3e]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov byte [edx + ecx], al
jmp 0x49df27
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov eax, dword [ebp - 0x30]
and eax, 0xffff
mov dword [ebp - 0x14], eax
xor eax, eax
mov ax, word [ebp - 0x2e]
mov dword [ebp - 0x20], eax
xor eax, eax
mov ax, word [ebp - 0x2a]
mov dword [ebp - 0x68], eax
movsx eax, word [ebp - 4]
add dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x1e
jbe 0x49dfab
mov ecx, dword [ebp - 0x68]
mov ebx, 0x1e
mov eax, dword [ebp - 0x68]
sub edx, edx
div ebx
sub ecx, edx
mov ebx, 0x1e
mov eax, ecx
sub edx, edx
div ebx
add dword [ebp - 0x20], eax
mov ecx, 0x1e
mov eax, dword [ebp - 0x68]
sub edx, edx
div ecx
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x20], 0xc
jbe 0x49dfdf
mov ecx, dword [ebp - 0x20]
mov ebx, 0xc
mov eax, dword [ebp - 0x20]
sub edx, edx
div ebx
sub ecx, edx
mov ebx, 0xc
mov eax, ecx
sub edx, edx
div ebx
add dword [ebp - 0x14], eax
mov ecx, 0xc
mov eax, dword [ebp - 0x20]
sub edx, edx
div ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
shl eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
shl eax, 8
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
or dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x49e009
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 4
jae 0x49e021
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov al, byte [ecx + eax]
mov ecx, dword [ebp - 0x48]
mov byte [ecx + ebp - 0x40], al
jmp 0x49e006
jmp 0x49e0b1
lea eax, [ebp - 0x58]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x49e038
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 4
jae 0x49e050
mov eax, dword [ebp - 0x48]
mov al, byte [eax + ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov byte [edx + ecx], al
jmp 0x49e035
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov eax, dword [ebp - 0x30]
and eax, 0xffff
mov dword [ebp - 0x14], eax
xor eax, eax
mov ax, word [ebp - 0x2e]
mov dword [ebp - 0x20], eax
xor eax, eax
mov ax, word [ebp - 0x2a]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
shl eax, 8
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xc], eax
jb 0x49e0b1
cmp dword [0x4b7f28], 0
jne 0x49e0b1
mov dword [0x4b7f28], 3
jmp case.default.0x49e26a
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x49e0c8
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 4
jae 0x49e0e0
mov eax, dword [ebp - 0x48]
mov al, byte [eax + ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov byte [edx + ecx], al
jmp 0x49e0c5
sub dword [ebp - 0x54], 0xa
cmp dword [ebp - 0x54], 0
jg 0x49e0ff
cmp dword [0x4b7f28], 0
jne 0x49e0fd
mov dword [0x4b7f28], 5
jmp 0x49e123
mov dword [ebp - 0x48], 0
jmp 0x49e10b
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 4
jae 0x49e123
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov al, byte [ecx + eax]
mov ecx, dword [ebp - 0x48]
mov byte [ecx + ebp - 0x40], al
jmp 0x49e108
jmp case.default.0x49e26a
lea eax, [ebp - 0x58]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x49e13a
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 4
jae 0x49e152
mov eax, dword [ebp - 0x48]
mov al, byte [eax + ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov byte [edx + ecx], al
jmp 0x49e137
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov eax, dword [ebp - 0x30]
and eax, 0xffff
mov dword [ebp - 0x14], eax
xor eax, eax
mov ax, word [ebp - 0x2e]
mov dword [ebp - 0x20], eax
xor eax, eax
mov ax, word [ebp - 0x2a]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
shl eax, 8
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xc], eax
jb 0x49e1b3
cmp dword [0x4b7f28], 0
jne 0x49e1b3
mov dword [0x4b7f28], 3
jmp case.default.0x49e26a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x49e1ca
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 2
jae 0x49e1e2
mov eax, dword [ebp - 0x48]
mov al, byte [eax + ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov byte [edx + ecx], al
jmp 0x49e1c7
lea eax, [ebp - 4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x49e1f4
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 2
jae 0x49e20c
mov eax, dword [ebp - 0x48]
mov al, byte [eax + ebp - 0x3e]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov byte [edx + ecx], al
jmp 0x49e1f1
movsx eax, word [ebp - 4]
inc eax
mov word [ebp - 4], ax
movsx eax, word [ebp - 0x18]
movsx ecx, word [ebp - 4]
cmp eax, ecx
jge 0x49e234
cmp dword [0x4b7f28], 0
jne 0x49e234
mov dword [0x4b7f28], 4
mov dword [ebp - 0x48], 0
jmp 0x49e240
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 2
jae 0x49e258
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov al, byte [ecx + eax]
mov ecx, dword [ebp - 0x48]
mov byte [ecx + ebp - 0x3e], al
jmp 0x49e23d
jmp case.default.0x49e26a
dec dword [ebp - 0x6c]
cmp dword [ebp - 0x6c], 3
ja case.default.0x49e26a
mov eax, dword [ebp - 0x6c]
jmp dword [eax*4 + 0x49e271]
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x60], al
mov al, byte [ebp - 0x3b]
mov byte [ebp - 0x40], al
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x3b], al
mov al, byte [ebp - 0x3a]
mov byte [ebp - 0x60], al
mov al, byte [ebp - 0x3e]
mov byte [ebp - 0x3a], al
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x3e], al
mov al, byte [ebp - 0x3f]
mov byte [ebp - 0x60], al
mov al, byte [ebp - 0x3c]
mov byte [ebp - 0x3f], al
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x3c], al
mov dword [ebp - 0x48], 0
jmp 0x49e2c3
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 4
jae 0x49e2dd
mov eax, dword [ebp - 0x48]
movsx eax, byte [eax + ebp - 0x40]
xor al, byte [ebp - 0x64]
mov ecx, dword [ebp - 0x48]
mov byte [ecx + ebp - 0x40], al
jmp 0x49e2c0
mov dword [ebp - 0x48], 4
jmp 0x49e2e9
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 8
jae 0x49e303
mov eax, dword [ebp - 0x48]
movsx eax, byte [eax + ebp - 0x40]
xor al, byte [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
mov byte [ecx + ebp - 0x40], al
jmp 0x49e2e6
call fcn.0049fd18
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x49e324
cmp dword [0x4b7f28], 0
jne 0x49e324
mov dword [0x4b7f28], 7
cmp dword [0x4b7f28], 0
jne 0x49e333
xor eax, eax
jmp 0x49e33a
mov eax, 0xb
jmp 0x49e33a
pop edi
pop esi
pop ebx
leave
ret