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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
push edi
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x14], ebx
cmp edi, eax
jne 0x40331f
mov dword [ebp - 0x14], 0x8000
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp - 0x18], edi
cmp edi, eax
jne 0x403336
mov dword [ebp - 0x18], 0x410968
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004032bc
push dword [ebp + 8]
lea eax, [ebp - 8]
push 8
pop esi
push esi
push eax
call fcn.00403287
add esp, 0x18
test eax, eax
jne 0x403366
push 0xfffffffffffffffd
pop eax
or edx, 0xffffffff
jmp 0x403681
cmp dword [0x42a534], 0
je 0x40337e
push esi
lea eax, [ebp - 8]
push eax
push 0
call fcn.00406e61
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp - 4]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
je 0x403581
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [0x420e9c], 0
and dword [0x420e98], 0
and dword [ebp - 4], 0x7fffffff
mov dword [ebp + 0x10], eax
mov eax, 0x422520
mov dword [0x420980], esi
mov esi, dword [ebp - 8]
mov dword [0x42a528], eax
mov dword [0x42a524], eax
mov eax, dword [ebp - 4]
mov dword [0x42a520], 0x42a520
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
jl 0x403662
jg 0x4033ed
test esi, esi
jbe 0x403662
mov ebx, 0x40c968
jmp 0x4033f7
mov esi, dword [ebp - 8]
cmp dword [ebp - 4], 0
jg 0x403407
jl 0x40340c
cmp esi, 0x4000
jb 0x40340c
mov esi, 0x4000
push dword [ebp + 8]
push esi
push ebx
call fcn.00403287
add esp, 0xc
test eax, eax
je 0x40335b
cmp dword [0x42a534], 0
je 0x403437
push esi
push ebx
push dword [ebp + 0x1c]
call fcn.00406e61
mov dword [ebp + 0x1c], eax
mov eax, esi
cdq
sub dword [ebp - 8], eax
mov dword [0x420970], ebx
mov dword [0x420974], esi
sbb dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push 0x420970
mov dword [0x420978], edi
mov dword [0x42097c], eax
call fcn.0040725a
mov dword [ebp - 0x24], eax
test eax, eax
jl 0x403573
mov esi, dword [0x420978]
sub esi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x434af4], 1
mov edi, eax
je 0x403505
sub eax, dword [ebp + 0x10]
cmp eax, 0xc8
ja 0x40349d
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
jne 0x403505
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 4]
cmp dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x20]
je 0x4034ca
mov ebx, dword [ebp - 0x1c]
shl ebx, 8
shr edx, 0x18
or edx, ebx
shr eax, 0x18
shl ecx, 8
or eax, ecx
mov ebx, 0x40c968
shr eax, 1
shr edx, 1
cmp eax, edx
jb 0x4034d4
mov eax, edx
push edx
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0xa4]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
push 0
call fcn.004051f2
mov dword [ebp + 0x10], edi
xor edi, edi
cmp esi, edi
je 0x403554
cmp dword [ebp + 0x18], edi
jne 0x40352b
push esi
push dword [ebp - 0x18]
push dword [ebp + 0x14]
call fcn.004061fe
test eax, eax
je 0x40357a
mov eax, esi
cdq
add dword [ebp - 0x10], eax
adc dword [ebp - 0xc], edx
jmp 0x40353f
mov eax, esi
cdq
add dword [ebp - 0x10], eax
mov eax, dword [0x420978]
mov dword [ebp - 0x18], eax
adc dword [ebp - 0xc], edx
sub dword [ebp - 0x14], esi
cmp dword [ebp - 0x24], 1
jne 0x40344c
cmp dword [0x42a534], edi
jmp 0x403669
cmp dword [ebp - 4], edi
jg 0x4033f4
jl 0x403662
mov esi, dword [ebp - 8]
test esi, esi
ja 0x4033f7
jmp 0x403662
push 0xfffffffffffffffc
jmp 0x40335d
push 0xfffffffffffffffe
jmp 0x40335d
test edi, edi
jne 0x40361b
cmp dword [ebp - 4], edi
jl 0x403662
jg 0x40359d
cmp dword [ebp - 8], edi
jbe 0x403662
mov eax, dword [ebp - 0x14]
cdq
mov ebx, eax
mov dword [ebp + 0x10], edx
mov edi, 0x40c968
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 4], eax
jg 0x4035bf
jl 0x4035ba
cmp dword [ebp - 8], ebx
jae 0x4035bf
mov esi, dword [ebp - 8]
jmp 0x4035c2
mov esi, dword [ebp - 0x14]
push dword [ebp + 8]
push esi
push edi
call fcn.00403287
add esp, 0xc
test eax, eax
je 0x40335b
cmp dword [0x42a534], 0
je 0x4035ed
push esi
push edi
push dword [ebp + 0x1c]
call fcn.00406e61
mov dword [ebp + 0x1c], eax
push esi
push edi
push dword [ebp + 0x14]
call fcn.004061fe
test eax, eax
je 0x40357a
xor eax, eax
add dword [ebp - 0x10], esi
adc dword [ebp - 0xc], eax
sub dword [ebp - 8], esi
sbb dword [ebp - 4], eax
cmp dword [ebp - 4], eax
jg 0x4035ab
jl 0x403662
cmp dword [ebp - 8], eax
ja 0x4035ab
jmp 0x403662
mov eax, ebx
cdq
cmp dword [ebp - 4], edx
jg 0x40362c
mov esi, dword [ebp - 8]
jl 0x40362e
cmp esi, eax
jb 0x40362e
mov esi, ebx
push dword [ebp + 8]
push esi
push edi
call fcn.00403287
add esp, 0xc
test eax, eax
je 0x40335b
cmp dword [0x42a534], 0
je 0x403659
push esi
push edi
push dword [ebp + 0x1c]
call fcn.00406e61
mov dword [ebp + 0x1c], eax
mov eax, esi
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [0x42a534], 0
je 0x40367b
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0x20]
je 0x40367b
push 0xfffffffffffffffd
or edx, 0xffffffff
pop eax
jmp 0x403681
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x1c