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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ea50
push 0x4113dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
mov eax, dword [0x42aa60]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x828], esi
mov dword [ebp - 0x82c], esi
mov dword [ebp - 0x834], esi
mov dword [ebp - 0x820], esi
mov dword [ebp - 0x83c], esi
lea eax, [ebp - 0x810]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x816], 0
call fcn.00410c31
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, edi
xor edx, edx
mov ecx, 0xff
div ecx
mov ebx, edx
mov dword [ebp - 0x844], ebx
mov dword [ebp - 0x814], esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x18], esi
je 0x403882
push 4
push 0x1000
mov edi, dword [ebp + 0x1c]
push edi
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004097a0
mov dword [ebp - 0x824], eax
test eax, eax
jne 0x403856
mov dword [ebp - 0x814], 1
jmp 0x403c4d
lea edx, [ebp - 0x820]
push edx
push edi
mov ecx, dword [ebp + 0x18]
push ecx
push eax
push esi
call fcn.00409800
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x403885
mov dword [ebp - 0x814], 2
jmp 0x403c4d
mov esi, dword [ebp + 8]
push 0x40
push 0x1000
mov edi, dword [ebp + 0x14]
push edi
push 0
push esi
call fcn.004097a0
mov dword [ebp - 0x838], eax
test eax, eax
jne 0x4038b1
mov dword [ebp - 0x814], 3
jmp 0x403c4d
add eax, ebx
mov dword [ebp - 0x840], eax
lea edx, [ebp - 0x820]
push edx
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push esi
call fcn.00409800
mov dword [ebp - 0x81c], eax
push 0x40
push 0x1000
push 1
push 0
push esi
call fcn.004097a0
mov dword [ebp - 0x828], eax
test eax, eax
jne 0x4038fc
mov dword [ebp - 0x814], 4
jmp 0x403c4d
mov byte [ebp - 0x815], 0
lea edx, [ebp - 0x820]
push edx
push 1
lea ecx, [ebp - 0x815]
push ecx
push eax
push esi
call fcn.00409800
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x403933
mov dword [ebp - 0x814], 5
jmp 0x403c4d
push 0x40
push 0x1000
push 1
push 0
push esi
call fcn.004097a0
mov edi, eax
mov dword [ebp - 0x82c], edi
test edi, edi
jne 0x40395f
mov dword [ebp - 0x814], 0x33
jmp 0x403c4d
lea edx, [ebp - 0x83c]
push edx
push 0x40
push 5
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.00409880
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x40398d
mov dword [ebp - 0x814], 6
jmp 0x403c4d
lea eax, [ebp - 0x820]
push eax
push 5
lea ecx, [ebp - 0x24]
push ecx
push ebx
push esi
call fcn.00409840
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x4039ba
mov dword [ebp - 0x814], 7
jmp 0x403c4d
lea edx, [ebp - 0x820]
push edx
push 5
lea eax, [ebp - 0x24]
push eax
push edi
push esi
call fcn.00409800
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x4039e7
mov dword [ebp - 0x814], 8
jmp 0x403c4d
push 0x40
push 0x1000
push 0xa0
push 0
push esi
call fcn.004097a0
mov edi, eax
mov dword [ebp - 0x834], edi
test edi, edi
jne 0x403a16
mov dword [ebp - 0x814], 9
jmp 0x403c4d
mov ecx, dword [ebp - 0x28]
mov byte [ecx], 0x9c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov byte [eax], 0x60
inc dword [ebp - 0x28]
mov edx, dword [ebp - 0x82c]
push edx
push 0xbe
lea ecx, [ebp - 0x810]
call fcn.004032c0
push ebx
push 0xbf
lea ecx, [ebp - 0x810]
call fcn.004032c0
mov eax, dword [ebp - 0x28]
mov byte [eax], 0xfc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov byte [eax], 0xa5
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov byte [eax], 0xa4
inc dword [ebp - 0x28]
mov ecx, dword [ebp - 0x824]
push ecx
push 0x68
lea ecx, [ebp - 0x810]
call fcn.004032c0
mov edx, dword [ebp - 0x844]
add edi, edx
push edi
mov eax, dword [ebp - 0x840]
push eax
lea ecx, [ebp - 0x810]
call fcn.00403350
mov ecx, dword [ebp - 0x28]
mov byte [ecx], 0x61
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov byte [eax], 0x9d
inc dword [ebp - 0x28]
mov edx, dword [ebp - 0x828]
push edx
push 0x5c7
lea ecx, [ebp - 0x810]
call fcn.004032f0
mov eax, dword [ebp - 0x28]
mov dword [eax], 1
add dword [ebp - 0x28], 4
push edi
push ebx
lea ecx, [ebp - 0x810]
call fcn.00403320
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x810]
sub edx, eax
push edx
lea ecx, [ebp - 0x810]
push ecx
push edi
push esi
call fcn.00409800
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x403b1b
mov dword [ebp - 0x814], 0xa
jmp 0x403c4d
lea edx, [ebp - 0x810]
mov dword [ebp - 0x28], edx
push ebx
push edi
mov ecx, edx
call fcn.00403320
lea eax, [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x810]
sub ecx, edx
push ecx
lea eax, [ebp - 0x810]
push eax
push ebx
push esi
call fcn.00409800
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x403b67
mov dword [ebp - 0x814], 0xb
jmp 0x403c4d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x848], eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
mov al, byte [ebp - 0x815]
test al, al
jne 0x403bdf
push 0
call edi
lea ecx, [ebp - 0x820]
push ecx
push 1
lea edx, [ebp - 0x815]
push edx
mov eax, dword [ebp - 0x828]
push eax
push esi
call fcn.00409840
mov dword [ebp - 0x81c], eax
test eax, eax
je 0x403c4d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x848]
cmp eax, 0x3a98
jbe 0x403b80
mov byte [ebp - 0x816], 1
mov dword [ebp - 0x814], 0xc
jmp 0x403c4d
push 1
call edi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x403c19
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
push eax
mov eax, dword [ebp - 0x824]
push eax
push esi
call fcn.00409840
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x403c19
mov dword [ebp - 0x814], 0xd
jmp 0x403c4d
lea ecx, [ebp - 0x84c]
push ecx
mov edx, dword [ebp - 0x83c]
push edx
push 5
push ebx
push esi
call fcn.00409880
mov dword [ebp - 0x81c], eax
test eax, eax
jne 0x403c46
mov dword [ebp - 0x814], 0xe
jmp 0x403c4d
mov byte [ebp - 0x82d], 1
mov dword [ebp - 4], 0xffffffff
call fcn.00403c7b
mov eax, dword [ebp - 0x814]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00410c16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret