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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eaf9c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x228
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xbc], esi
sub esp, 8
lea ecx, [ebp - 0x188]
call fcn.00415be0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.00407a4a
mov eax, dword [ebx + 8]
dec eax
mov byte [ebp - 4], 1
cmp eax, 4
ja case.default.0x41dd13
jmp dword [eax*4 + 0x41e238]
push str.MARK
jmp 0x41dd3b
push str.TRACE
jmp 0x41dd3b
push str.WARN
jmp 0x41dd3b
push 0x63e4f0
jmp 0x41dd3b
push str.DUMP
lea ecx, [ebp - 0x5c]
call fcn.00414ef0
lea ecx, [ebp - 0x44]
call fcn.00407a4a
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0xb4], eax
cmp dword [esi + 0xc], eax
jle 0x41ddd5
nop dword [eax]
cmp eax, 0xa
jge 0x41ddd5
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 2
jb 0x41dda5
cmp edx, 8
lea esi, [ebp - 0x44]
push 4
cmovae esi, dword [ebp - 0x44]
lea edi, [ecx + 2]
push 0x63e4c4
mov dword [ebp - 0x34], edi
lea eax, [esi + ecx*2]
push eax
call fcn.005bfc60
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0xbc]
jmp 0x41ddc3
push 2
push 0x63e4c4
mov byte [ebp - 0xac], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0xac]
push 2
call fcn.0041ea00
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp eax, dword [esi + 0xc]
jl 0x41dd60
lea ecx, [ebp - 0xa8]
call fcn.00407a4a
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00407a4a
mov byte [ebp - 4], 4
call fcn.005c8926
lea eax, [ebp - 0x78]
push 0xb
push eax
call fcn.005c8a22
add esp, 8
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x238]
call fcn.00415be0
mov byte [ebp - 4], 5
cmp dword [esi + 0x10], 0
jne 0x41de42
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x228]
mov dword [esi + 0x10], eax
call fcn.004101b0
jmp 0x41de72
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x228]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x644390]
divsd xmm1, qword [0x644330]
call fcn.0041e250
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x220]
call fcn.00416830
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41dedb
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x7fffffff
ja 0x41dfca
add eax, eax
cmp eax, 0x1000
jb 0x41ded2
test cl, 0x1f
jne 0x41dfca
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41dfca
sub ecx, eax
cmp ecx, 4
jb 0x41dfca
cmp ecx, 0x23
ja 0x41dfca
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x90]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
movq xmm0, qword [ebp - 0x80]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 5
call fcn.004075ab
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 4
call fcn.00415840
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x2040
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.005be8d1
mov ecx, dword [ebp - 0x178]
lea edx, [ebp - 0x178]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 7
lea edx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
lea ecx, [ebp - 0x178]
push eax
cmovae edx, dword [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.004137f0
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0xb8]
push 0x10
push eax
call fcn.005be8d1
add esp, 8
mov edx, 0x63e114
mov ecx, esi
mov edi, eax
call fcn.00413320
mov esi, eax
test esi, esi
jne 0x41dfcf
xor ecx, ecx
jmp 0x41dfd6
call fcn.005c3f14
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 4]
mov eax, dword [edi]
push ecx
call eax
push 0
lea eax, [ebp - 0xd8]
push 6
push eax
call fcn.005be8ff
add esp, 0x14
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov esi, eax
mov eax, 0x30
push 0
push 3
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0x88]
push eax
call fcn.005be8e5
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push ecx
cmovae edx, dword [ebp - 0x2c]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004137f0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x70]
push 0
push 5
push eax
call fcn.005be8ff
add esp, 0xc
mov edx, 0x63e114
mov ecx, edi
mov esi, eax
call fcn.00413320
mov edx, esi
mov ecx, eax
call fcn.0041e9d0
mov esi, eax
mov eax, 0x20
push 0x40
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0xc8]
push eax
call fcn.005be8d1
mov ecx, dword [esi]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 9
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
mov ecx, esi
push eax
cmovae edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.004137f0
add esp, 0x14
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0xac]
mov ecx, eax
call fcn.00413320
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6835d0]
cmp eax, dword [ecx + 4]
jle 0x41e128
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x41e128
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
add esp, 4
push 0x6835d0
call fcn.005bcd3a
add esp, 4
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x170]
call fcn.00416830
mov byte [ebp - 4], 0xa
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x41e193
mov ecx, dword [0x6835d4]
inc eax
cmp eax, 0x7fffffff
ja 0x41dfca
add eax, eax
cmp eax, 0x1000
jb 0x41e18a
test cl, 0x1f
jne 0x41dfca
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41dfca
sub ecx, eax
cmp ecx, 4
jb 0x41dfca
cmp ecx, 0x23
ja 0x41dfca
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0x78]
xor eax, eax
lea ecx, [ebp - 0x78]
mov word [ebp - 0x78], ax
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov byte [ebp - 4], 4
call fcn.004075ab
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004075ab
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.004075ab
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004075ab
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.004075ab
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call fcn.00415840
mov eax, 0x6835d4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005bc745
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4