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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63c0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6a6040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x64], edi
mov ecx, dword [edi + 0x14]
lea esi, [edi + 0x26]
mov dword [ebp - 0x5c], esi
lea eax, [ecx - 0xe]
cmp eax, 0x28
jl 0x53211c
mov al, byte [esi]
and al, 0xf0
cmp al, 0x60
jne 0x53211c
lea eax, [ecx - 0x36]
mov dword [ebp - 0x40], eax
movzx eax, word [esi + 4]
mov edx, eax
shl eax, 8
shr edx, 8
movzx eax, ax
or edx, eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
cmp edx, eax
jle 0x531bae
push 1
push 1
lea ecx, [ebp - 0x58]
call fcn.0042af70
cmp byte [ebp - 0x48], 0
je 0x531b6c
mov edx, dword [0x6af2bc]
nop
mov ecx, dword [ebp - 0x4c]
mov eax, 1
shl eax, cl
test edx, eax
jne 0x531b6c
cmp byte [0x6ac39e], 0
jne 0x531b6c
push str.Bad_ipv6_payload_length_n
push 0x6a6e70
call fcn.0042abc0
add esp, 8
cmp byte [ebp - 0x48], 0
mov eax, dword [0x6ad598]
mov dword [edi], eax
mov dword [edi + 4], 0x6ad598
mov dword [0x6ad598], edi
mov eax, dword [edi]
mov dword [eax + 4], edi
je 0x5321a2
mov eax, dword [ebp - 0x58]
mov ecx, 0x6af2b8
mov dword [0x6a6e68], eax
mov eax, dword [ebp - 0x54]
mov dword [0x6a6e6c], eax
mov eax, dword [ebp - 0x50]
xchg dword [ecx], eax
jmp 0x532197
mov cl, byte [esi + 6]
add esi, 0x28
test edx, edx
je 0x531bf0
cmp eax, 2
jl 0x531bf6
test cl, cl
je 0x531bd0
cmp cl, 0x2b
je 0x531bd0
cmp cl, 0x3c
je 0x531bd0
cmp cl, 0x33
jne 0x531bee
movzx eax, byte [esi + 1]
mov cl, byte [esi]
lea eax, [eax*8 + 8]
sub dword [ebp - 0x40], eax
sub edx, eax
add esi, eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x40]
test edx, edx
jg 0x531bb8
test edx, edx
js 0x5320cc
test eax, eax
js 0x5320cc
cmp cl, 0x2c
je 0x531c61
lea eax, [edi + 0x26]
mov dword [edi + 0x606], edx
sub esi, eax
mov dword [edi + 0x60a], 0
mov dword [edi + 0x602], esi
mov ecx, 0x6ad570
call fcn.00531470
mov esi, eax
mov ecx, dword [esi + 0xc]
lea edx, [esi + 8]
mov dword [edi + 4], ecx
mov dword [edi], edx
mov dword [edx + 4], edi
mov ecx, dword [edi + 4]
mov dword [ecx], edi
mov dword [esi + 0x47], 6
mov dword [esi + 0x4b], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4f], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x53], eax
mov eax, esi
jmp 0x5321a4
cmp edx, 8
jb 0x53207c
cmp eax, 0xa
jl 0x53207c
movzx eax, word [esi + 2]
mov ecx, eax
shl eax, 8
movzx eax, ax
shr ecx, 8
or ecx, eax
mov eax, esi
sub eax, dword [ebp - 0x5c]
add eax, 8
mov dword [ebp - 0x40], ecx
and ecx, 0xfffffff8
mov dword [edi + 0x602], eax
test byte [ebp - 0x40], 1
lea eax, [edx - 8]
mov dword [ebp - 0x68], ecx
mov dword [edi + 0x606], eax
mov dword [edi + 0x60a], ecx
je 0x531d05
test dl, 7
je 0x531d05
push 1
push 1
lea ecx, [ebp - 0x58]
call fcn.0042af70
lea ecx, [ebp - 0x58]
call fcn.0042b180
test al, al
je 0x531cdf
push str.Bad_align_of_ipv6_fragment_length_n
push 0x6a6e70
call fcn.0042abc0
add esp, 8
mov eax, dword [0x6ad598]
lea ecx, [ebp - 0x58]
mov dword [edi], eax
mov dword [edi + 4], 0x6ad598
mov dword [0x6ad598], edi
mov eax, dword [edi]
mov dword [eax + 4], edi
call fcn.0042b120
jmp 0x5321a2
lea eax, [ecx + edx]
mov dword [ebp - 0x44], eax
cmp eax, ecx
jl 0x53202c
cmp eax, 0x10000
jge 0x53202c
test dword [ebp - 0x40], 0xfffffff9
je 0x531c1e
lea ecx, [ebp - 0x3c]
call fcn.004ab3e0
movups xmm0, xmmword [edi + 0x2e]
push 6
mov edx, 0x6a6c20
lea ecx, [edi + 0x18]
movups xmmword [ebp - 0x3c], xmm0
movups xmm0, xmmword [edi + 0x3e]
movups xmmword [ebp - 0x2c], xmm0
mov esi, dword [esi + 4]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x18], 0
call fcn.005a4c60
movzx ecx, word [edi + 8]
mov dl, al
mov eax, ecx
mov byte [ebp - 0x17], dl
mov dword [ebp - 0x5c], eax
add esp, 4
mov eax, dword [edi + 0xc]
mov word [ebp - 0x16], cx
test al, 2
je 0x531d7e
or dl, 2
mov byte [ebp - 0x17], dl
test eax, 0x8000
je 0x531d8b
or dl, 4
mov byte [ebp - 0x17], dl
test byte [0x6ad5f9], 3
jne 0x531df5
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x5c]
bswap eax
movzx edx, dl
shl edx, 0x10
movzx ecx, cx
or edx, ecx
xor eax, edx
xor edx, edx
xor eax, dword [ebp - 0x3c]
xor eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x30]
xor eax, esi
div dword [0x6ad5f1]
mov eax, dword [0x6ad5f5]
mov esi, dword [eax + edx*4]
lea eax, [eax + edx*4]
test esi, esi
je 0x531df5
lea ecx, [esi + 4]
push 0x28
lea edx, [ebp - 0x3c]
call fcn.004250e0
add esp, 4
test al, al
jne 0x531e80
mov esi, dword [esi]
test esi, esi
jne 0x531dd7
mov ecx, 0x6ad570
call fcn.00531470
mov esi, eax
lea edx, [esi + 8]
mov dword [ebp - 0x60], esi
lea ecx, [esi + 0x57]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
lea ecx, [esi + 0x1f]
mov dword [edi], edx
mov dword [edx + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
lea eax, [ebp - 0x3c]
push eax
call fcn.005321d0
mov dword [esi + 0x4b], 1
mov dword [esi + 0x47], 6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4f], eax
lea eax, [ebp - 0x6c]
push ecx
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x6ad5e1
call fcn.00539220
test eax, eax
jne 0x532009
mov eax, dword [0x6ad5ae]
mov dword [esi + 4], eax
mov dword [esi], 0x6ad5aa
mov dword [0x6ad5ae], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
jmp 0x5321a2
mov eax, dword [esi + 0x2c]
mov esi, dword [eax + 8]
mov dword [ebp - 0x60], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esi + 0x4f], eax
call fcn.00443f70
mov eax, dword [0x6ad5ae]
mov dword [esi + 4], eax
mov dword [esi], 0x6ad5aa
mov dword [0x6ad5ae], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea eax, [esi + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x40], eax
cmp ecx, eax
je 0x531f24
mov esi, dword [ebp - 0x68]
mov edx, ecx
test ecx, ecx
je 0x531f24
mov eax, dword [edx]
xor edi, edi
cmp eax, dword [ebp - 0x40]
cmove eax, edi
mov edi, dword [edx + 0x60a]
mov edx, dword [edx + 0x606]
add edx, edi
mov dword [ebp - 0x5c], edi
cmp esi, edi
jne 0x531ef2
mov edi, dword [ebp - 0x64]
cmp dword [ebp - 0x44], edx
je 0x531f70
mov edi, dword [ebp - 0x44]
cmp dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0x64]
jge 0x531f01
cmp esi, edx
jl 0x531f70
mov edx, eax
test eax, eax
jne 0x531ec7
test ecx, ecx
je 0x531f24
mov edx, dword [ebp - 0x40]
nop
cmp esi, dword [ecx + 0x60a]
jl 0x531f8e
mov eax, dword [ecx]
mov ecx, eax
cmp eax, edx
je 0x531f24
test ecx, ecx
jne 0x531f10
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [ecx + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov esi, dword [ebp - 0x60]
xor edx, edx
inc dword [esi + 0x4b]
lea eax, [esi + 8]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x531fa0
test ecx, ecx
je 0x531fa2
lea edi, [esi + 8]
nop
mov eax, dword [ecx + 0x60a]
cmp eax, edx
jg 0x531fa2
mov edx, dword [ecx + 0x606]
add edx, eax
mov eax, dword [ecx]
mov ecx, eax
cmp eax, edi
je 0x531fa0
test ecx, ecx
jne 0x531f50
jmp 0x531fa2
mov eax, dword [0x6ad598]
mov dword [edi], eax
mov dword [edi + 4], 0x6ad598
mov dword [0x6ad598], edi
mov eax, dword [edi]
mov dword [eax + 4], edi
jmp 0x5321a2
mov eax, dword [ecx + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ecx + 4], edi
mov ecx, dword [ebp - 0x40]
jmp 0x531f37
xor ecx, ecx
mov edi, dword [esi + 0xc]
lea eax, [esi + 8]
cmp edi, eax
mov dword [ebp - 0x60], 0
cmove edi, dword [ebp - 0x60]
test ecx, ecx
jne 0x531fea
mov eax, dword [edi + 0x602]
mov ecx, 0x100
test word [eax + edi + 0x20], cx
jne 0x531fea
lea eax, [ebp - 0x3c]
mov dword [esi + 0x53], edx
push eax
mov ecx, 0x6ad5e1
call fcn.005374d0
mov ecx, esi
call fcn.00443f70
mov eax, esi
jmp 0x5321a4
cmp dword [esi + 0x4b], 0x32
jle 0x5321a2
lea eax, [ebp - 0x3c]
mov ecx, 0x6ad5e1
push eax
call fcn.005374d0
mov ecx, esi
call fcn.00443f70
push esi
mov ecx, 0x6ad570
call fcn.00531350
jmp 0x5321a2
push 1
push 1
lea ecx, [ebp - 0x58]
call fcn.0042af70
lea ecx, [ebp - 0x58]
call fcn.0042b180
test al, al
je 0x532056
push str.Bad_ipv6_fragment_length_n
push 0x6a6e70
call fcn.0042abc0
add esp, 8
mov eax, dword [0x6ad598]
lea ecx, [ebp - 0x58]
mov dword [edi], eax
mov dword [edi + 4], 0x6ad598
mov dword [0x6ad598], edi
mov eax, dword [edi]
mov dword [eax + 4], edi
call fcn.0042b120
jmp 0x5321a2
push 1
push 1
lea ecx, [ebp - 0x58]
call fcn.0042af70
lea ecx, [ebp - 0x58]
call fcn.0042b180
test al, al
je 0x5320a6
push str.Bad_ipv6_frag_header_length_n
push 0x6a6e70
call fcn.0042abc0
add esp, 8
mov eax, dword [0x6ad598]
lea ecx, [ebp - 0x58]
mov dword [edi], eax
mov dword [edi + 4], 0x6ad598
mov dword [0x6ad598], edi
mov eax, dword [edi]
mov dword [eax + 4], edi
call fcn.0042b120
jmp 0x5321a2
push 1
push 1
lea ecx, [ebp - 0x58]
call fcn.0042af70
lea ecx, [ebp - 0x58]
call fcn.0042b180
test al, al
je 0x5320f6
push str.Bad_ipv6_subheaders_length_n
push 0x6a6e70
call fcn.0042abc0
add esp, 8
mov eax, dword [0x6ad598]
lea ecx, [ebp - 0x58]
mov dword [edi], eax
mov dword [edi + 4], 0x6ad598
mov dword [0x6ad598], edi
mov eax, dword [edi]
mov dword [eax + 4], edi
call fcn.0042b120
jmp 0x5321a2
push 1
push 1
lea ecx, [ebp - 0x58]
call fcn.0042af70
cmp byte [ebp - 0x48], 0
je 0x53215e
mov edx, dword [0x6af2bc]
nop
mov ecx, dword [ebp - 0x4c]
mov eax, 1
shl eax, cl
test edx, eax
jne 0x53215e
cmp byte [0x6ac39e], 0
jne 0x53215e
push str.Bad_ipv6_header_length_or_version_n
push 0x6a6e70
call fcn.0042abc0
add esp, 8
cmp byte [ebp - 0x48], 0
mov eax, dword [0x6ad598]
mov dword [edi], eax
mov dword [edi + 4], 0x6ad598
mov dword [0x6ad598], edi
mov eax, dword [edi]
mov dword [eax + 4], edi
je 0x5321a2
mov eax, dword [ebp - 0x58]
mov ecx, 0x6af2b8
mov dword [0x6a6e68], eax
mov eax, dword [ebp - 0x54]
mov dword [0x6a6e6c], eax
mov eax, dword [ebp - 0x50]
xchg dword [ecx], eax
mov ecx, dword [0x6ac16c]
call fcn.005e0810
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00606a47
mov esp, ebp
pop ebp
ret 4