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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3b4
mov eax, dword [0x4434f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
xor ebx, ebx
lea eax, [ebp - 0x108]
push ebx
push eax
mov edi, ecx
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x2c]
lea edx, [ebp - 0x3a0]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x446624]
call esi
xor ecx, ecx
cmp dword [ebp - 0x39c], ebx
jl 0x4316d7
cmp dword [edi + 0x34], ecx
je 0x4316f3
mov dword [edi + 0x30], ecx
cmp dword [edi + 0x28], ebx
je 0x4316ed
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [edi + 0x28], ecx
mov ebx, dword [ebp - 0x39c]
mov eax, dword [ebp - 0x3a0]
push 2
pop edx
sub eax, ecx
je 0x4317f5
sub eax, 1
je 0x4317e6
sub eax, 1
je 0x4317a8
sub eax, 1
je 0x43175a
sub eax, 1
je 0x43174b
sub eax, 1
je 0x43172f
mov esi, 0x2779
jmp 0x43181a
push 4
mov edx, 0x408158
mov esi, 0x2778
pop ecx
call fcn.0041e9cb
xor eax, eax
mov dword [edi + 0x30], eax
jmp 0x431817
mov esi, 0x2777
mov edx, 0x40814c
jmp 0x43180f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x24]
cmp eax, 0x2710
jbe 0x43179c
xor ebx, ebx
mov esi, 0x277a
mov dword [edi + 0x30], ebx
cmp dword [edi + 0x28], ebx
je 0x431785
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x28], ebx
mov edx, 0x405f20
push 2
mov ebx, 0x80072efd
pop eax
mov dword [ebp - 0x39c], ebx
mov ecx, eax
jmp 0x431812
mov esi, 0x2775
mov edx, 0x40813c
jmp 0x43180f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x24]
cmp eax, 0x2710
jbe 0x4317da
xor ebx, ebx
mov esi, 0x277a
mov dword [edi + 0x30], ebx
cmp dword [edi + 0x28], ebx
je 0x4317d3
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x28], ebx
mov edx, 0x405ef8
jmp 0x43178a
mov esi, 0x2776
mov edx, 0x408130
jmp 0x43180f
mov esi, 0x277a
mov dword [edi + 0x30], ecx
mov edx, 0x408128
jmp 0x43180f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x24]
cmp eax, 0x2710
ja 0x4317b8
mov esi, 0x2774
mov edx, 0x40811c
push 4
pop ecx
call fcn.0041e9cb
push 2
pop edx
cmp dword [ebp - 0x39c], 0
je 0x431843
push dword [ebp - 0x39c]
push 0x406c00
push edx
call fcn.0041ea5f
add esp, 0xc
push dword [ebp - 0x39c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x398]
cmp eax, 0xffffffff
jne 0x431888
mov edi, 0x80
lea eax, [ebp - 0x108]
push edi
push eax
push 0x26e8
push dword [0x443af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x431904
push 0x408860
mov edx, edi
lea ecx, [ebp - 0x108]
call fcn.0040c010
jmp 0x431904
sub eax, dword [ebp - 0x394]
xor edx, edx
push 0x3c
cmp dword [ebp - 0x390], edx
jbe 0x4318a2
div dword [ebp - 0x390]
jmp 0x4318a9
mov ecx, 0x3e80
div ecx
pop ecx
xor edx, edx
mov dword [ebp - 0x3a4], eax
div ecx
mov edi, edx
xor edx, edx
div ecx
mov eax, dword [ebp - 0x3a4]
mov ecx, 0xe10
push edi
push edx
cmp eax, ecx
jb 0x4318eb
xor edx, edx
div ecx
push eax
push 0x4056f8
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040c0f9
add esp, 0x18
jmp 0x431904
push 0x40571c
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040c0f9
add esp, 0x14
push 0x100
lea eax, [ebp - 0x388]
push eax
push esi
push dword [0x443af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x431a4c
cmp esi, 0x2777
jne 0x431a1d
lea ecx, [ebp - 0x388]
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x43193c
sub ecx, edx
lea edx, [ebp - 0x108]
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x431954
sub edx, esi
lea eax, [ecx + 0x21]
sar edx, 1
xor ecx, ecx
add eax, edx
push 2
pop edx
mov dword [ebp - 0x3a8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fb3c
mov edi, eax
pop ecx
test edi, edi
je 0x431a4c
mov esi, dword [ebp - 0x394]
lea ecx, [ebp - 0x3b4]
mov dword [ebp - 0x3a4], 0x80004005
call fcn.0043fdcb
xor eax, eax
lea ecx, [ebp - 0x3b4]
push eax
push esi
call fcn.00422c53
test eax, eax
js 0x4319d5
push 0x40
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x3b4]
call fcn.0044031e
mov dword [ebp - 0x3a4], eax
lea ecx, [ebp - 0x3b4]
call fcn.00440156
cmp dword [ebp - 0x3a4], 0
jl 0x431a14
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x388]
push eax
push dword [ebp - 0x3a8]
push edi
call fcn.0040c0b5
add esp, 0x14
mov ecx, edi
call fcn.0041dfcd
push edi
call fcn.00441807
pop ecx
jmp 0x431a4c
mov eax, dword [0x444f94]
test eax, eax
je 0x431a4c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431a4c
lea eax, [ebp - 0x388]
push eax
xor eax, eax
push eax
push 0x5c5
push dword [0x444f94]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x398]
test ecx, ecx
jne 0x431a57
inc ecx
imul eax, dword [ebp - 0x394], 0x64
xor edx, edx
div ecx
mov ecx, eax
call fcn.0041dfa0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441b90
mov esp, ebp
pop ebp
ret