Function at 0x437240
Capabilities:
Check for time delay via gettickcount
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x47f060
push 0x408860
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x482534]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor edi, edi
xor esi, esi
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x280], edi
cmp edi, 0xb
jge 0x4372d5
cmp esi, 0xffff0001
jge 0x4372af
lea eax, [esi*8]
sub eax, esi
neg eax
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov edx, esi
sub edx, ecx
jne 0x4372d0
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x437289
mov dword [ebp - 4], 0xfffffffe
call fcn.00437315
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
lea esp, [esp]
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea ecx, [edx + edx*4]
mov eax, edi
sub eax, ecx
cmp eax, 1
je 0x437322
cmp eax, 4
je 0x437322
and esi, edi
jmp 0x437324
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 0xa
jl 0x4372f0
xor ecx, ecx
xor esi, ecx
mov dword [ebp - 0x274], esi
jge 0x437348
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x437372
xor esi, esi
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 0x3f
jl 0x437336
mov dword [ebp - 0x274], esi
cmp esi, 0xffff
jle 0x437399
lea ecx, [esi*8]
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x2e8ba2e9
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xb
mov ecx, esi
sub ecx, eax
cmp ecx, 7
jne 0x4373c0
mov esi, 0xd
mov dword [ebp - 0x274], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x4373e0
call ebx
add esi, eax
mov dword [ebp - 0x274], esi
xor eax, eax
add esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 0x14
jl 0x4373e2
cmp esi, 0xffff
jle 0x43740b
lea edx, [esi*8]
sub edx, esi
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x2e8ba2e9
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xb
mov ecx, esi
sub ecx, eax
cmp ecx, 7
jne 0x437432
mov esi, 0xd
mov dword [ebp - 0x274], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x43744c
call ebx
add esi, eax
mov dword [ebp - 0x274], esi
xor ecx, ecx
mov edi, edi
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x43746f
cmp eax, 3
je 0x43746f
xor esi, ecx
jmp 0x437474
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 0x1e
jl 0x437450
lea ecx, [ebp - 0x270]
push ecx
push 0x478af8
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call edi
xor ecx, ecx
jmp 0x4374a0
xor esi, ecx
mov dword [ebp - 0x274], esi
jge 0x4374b2
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x4374dc
xor esi, esi
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 2
jl 0x4374a0
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x437505
cmp eax, 3
je 0x437505
xor esi, ecx
jmp 0x43750a
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 0xe
jl 0x4374e6
lea ecx, [ebp - 0x270]
push ecx
push 0x478b00
call edi
xor eax, eax
jmp 0x437530
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 7
jl 0x437530
test esi, esi
jge 0x437556
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x43757e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x28c], edi
cmp edi, 2
jge 0x4375d7
cmp esi, 0xffff0001
jge 0x4375ad
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x4375d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x437587
mov dword [ebp - 4], 0xfffffffe
call fcn.00437684
test esi, esi
jge 0x4375ef
neg esi
mov dword [ebp - 0x274], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x43761f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 2
xor edi, edi
mov dword [ebp - 0x278], edi
cmp edi, 7
jge 0x437691
cmp esi, 0xffff0001
jge 0x43764e
lea ecx, [esi*8]
sub ecx, esi
neg ecx
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
jne 0x437673
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x437628
mov dword [ebp - 4], 0xfffffffe
call fcn.004377c5
xor eax, eax
nop
add esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 7
jl 0x4376a0
cmp esi, 0xffff
jle 0x4376c9
lea ecx, [esi*8]
sub ecx, esi
mov esi, ecx
mov dword [ebp - 0x274], esi
mov eax, 0x2e8ba2e9
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xb
mov ecx, esi
sub ecx, eax
cmp ecx, 7
jne 0x4376f0
mov esi, 0xd
mov dword [ebp - 0x274], esi
call ebx
xor edx, edx
mov ecx, 3
div ecx
cmp edx, 1
jne 0x43770a
call ebx
add esi, eax
mov dword [ebp - 0x274], esi
xor eax, eax
lea esp, [esp]
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 7
jl 0x437710
test esi, esi
jge 0x437736
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x43775e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 3
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x288], edi
cmp edi, 2
jge 0x4377d2
cmp esi, 0xffff0001
jge 0x437793
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x4377b4
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x43776d
mov dword [ebp - 4], 0xfffffffe
call fcn.0043788f
xor eax, eax
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 6
jl 0x4377e0
test esi, esi
jge 0x437806
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x43782e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
mov dword [ebp - 4], 4
xor edi, edi
mov dword [ebp - 0x27c], edi
cmp edi, 8
jge 0x43789c
cmp esi, 0xffff0001
jge 0x43785d
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x43787e
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x437837
mov dword [ebp - 4], 0xfffffffe
call fcn.004378db
xor ecx, ecx
lea ebx, [ebx]
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x4378e8
cmp eax, 3
je 0x4378e8
xor esi, ecx
jmp 0x4378ed
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 6
jl 0x4378b0
lea ecx, [ebp - 0x270]
push ecx
push 0x478b08
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], 5
xor edi, edi
mov dword [ebp - 0x284], edi
cmp edi, 5
jge 0x437962
cmp esi, 0xffff0001
jge 0x43793c
lea edx, [esi*8]
sub edx, esi
neg edx
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x43795d
call ebx
mov esi, eax
mov dword [ebp - 0x274], esi
add edi, 1
jmp 0x437916
mov dword [ebp - 4], 0xfffffffe
call fcn.004379eb
xor eax, eax
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 6
jl 0x437970
test esi, esi
jge 0x437996
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x4379be
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
mov eax, 0xcccccccd
mul edi
shr edx, 2
lea edx, [edx + edx*4]
mov eax, edi
sub eax, edx
cmp eax, 1
je 0x4379f8
cmp eax, 4
je 0x4379f8
and esi, edi
jmp 0x4379fa
sub esi, edi
mov dword [ebp - 0x274], esi
call ebx
add edi, 1
cmp edi, 3
jl 0x4379c6
xor esi, esi
mov dword [ebp - 0x274], esi
jge 0x437a26
mov eax, esi
neg eax
add eax, eax
add eax, eax
sub eax, esi
mov esi, eax
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd
mov edx, esi
sub edx, ecx
jne 0x437a4e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x274], esi
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x437a6f
cmp eax, 3
je 0x437a6f
xor esi, ecx
jmp 0x437a74
mov eax, ecx
imul esi, eax
mov dword [ebp - 0x274], esi
add ecx, 1
cmp ecx, 7
jl 0x437a50
lea ecx, [ebp - 0x270]
push ecx
push 0x478b10
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor eax, eax
jmp 0x437aa0
and esi, eax
mov dword [ebp - 0x274], esi
add eax, 1
cmp eax, 4
jl 0x437aa0
test esi, esi
jge 0x437ac6
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp - 0x274], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x437aee
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x274], eax
jmp 0x437af0
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040470b
mov esp, ebp
pop ebp
ret