Function at 0x531510
Capabilities:
Check for time delay via gettickcount
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63c0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6a6040]
xor eax, ebp
mov dword [ebp - 0x18], 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]
movzx edx, byte [edi + 0x26]
lea esi, [edi + 0x26]
and edx, 0xf
mov ecx, esi
shl edx, 2
push 0
call fcn.0047bf60
add esp, 4
cmp eax, 0xffff
je 0x531629
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.0042af70
cmp byte [ebp - 0x44], 0
je 0x5315f0
mov edx, dword [0x6af2bc]
nop
mov ecx, dword [ebp - 0x48]
mov eax, 1
shl eax, cl
test edx, eax
jne 0x5315c5
cmp byte [0x6ac39e], 0
jne 0x5315c5
movzx eax, word [edi + 0x30]
mov esi, dword [esi + 0x10]
mov ecx, eax
mov edx, dword [edi + 0x32]
shl eax, 8
bswap esi
push esi
bswap edx
shr ecx, 8
movzx eax, ax
push edx
or ecx, eax
push ecx
push str.Bad_IP_header_checksum__deny_packet._pkt_iphcs_04x___I___I_n
push 0x6a6e70
call fcn.0042abc0
add esp, 0x14
cmp byte [ebp - 0x44], 0
je 0x5315f0
mov eax, dword [ebp - 0x54]
mov ecx, 0x6af2b8
mov dword [0x6a6e68], eax
mov eax, dword [ebp - 0x50]
mov dword [0x6a6e6c], eax
mov eax, dword [ebp - 0x4c]
xchg dword [ecx], eax
mov ecx, dword [0x6ac16c]
call fcn.005e0810
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
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 - 0x18]
xor ecx, ebp
call fcn.00606a47
mov esp, ebp
pop ebp
ret 4
movzx eax, word [esi + 6]
mov ecx, eax
shl eax, 8
mov dword [ebp - 0x2c], ecx
shr ecx, 8
or ecx, eax
movzx eax, word [esi + 2]
mov ebx, eax
and ecx, 0x1fff
shl eax, 8
shr ebx, 8
movzx eax, ax
or ebx, eax
lea edx, [ecx*8]
lea eax, [edi + 0x602]
mov dword [ebp - 0x34], edx
lea ecx, [ebx + esi]
cmp ecx, eax
ja 0x5315f0
mov eax, dword [edi + 0x14]
add eax, 0x18
add eax, edi
cmp ecx, eax
ja 0x5315f0
movzx ecx, byte [esi]
mov eax, edx
and ecx, 0xf
shl ecx, 2
sub eax, ecx
add ebx, eax
cmp ebx, edx
jl 0x5315f0
cmp ebx, 0x10000
jge 0x5315f0
mov eax, dword [ebp - 0x2c]
and eax, 0xffffff3f
test ax, ax
jne 0x5316e1
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 + 0x4b], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4f], eax
mov eax, esi
mov dword [esi + 0x53], ebx
jmp 0x53160b
mov eax, dword [esi + 0xc]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], eax
mov edx, 0x6a6c20
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x24], eax
mov ax, word [esi + 4]
mov word [ebp - 0x20], ax
mov al, byte [esi + 9]
push 6
mov byte [ebp - 0x1e], al
call fcn.005a4c60
mov cx, word [edi + 8]
add esp, 4
mov word [ebp - 0x1c], cx
mov ecx, dword [edi + 0xc]
mov byte [ebp - 0x1d], al
test cl, 2
je 0x531725
or al, 2
mov byte [ebp - 0x1d], al
test ecx, 0x8000
je 0x531732
or al, 4
mov byte [ebp - 0x1d], al
test byte [0x6ad5d4], 3
jne 0x53177e
lea ecx, [ebp - 0x28]
call fcn.0053a300
xor edx, edx
div dword [0x6ad5cc]
mov eax, dword [0x6ad5d0]
mov esi, dword [eax + edx*4]
lea eax, [eax + edx*4]
test esi, esi
je 0x53177e
nop word [eax + eax]
lea ecx, [esi + 4]
push 0xe
lea edx, [ebp - 0x28]
call fcn.004250e0
add esp, 4
test al, al
jne 0x531815
mov esi, dword [esi]
test esi, esi
jne 0x531760
mov ecx, 0x6ad570
call fcn.00531470
mov esi, eax
lea edx, [esi + 8]
mov dword [ebp - 0x30], esi
lea ecx, [esi + 0x57]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edi], edx
mov dword [edx + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
movq xmm0, qword [ebp - 0x28]
movq qword [esi + 0x11], xmm0
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x19], eax
mov ax, word [ebp - 0x1c]
mov word [esi + 0x1d], ax
mov dword [esi + 0x4b], 1
mov dword [esi + 0x47], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x4f], eax
lea eax, [ebp - 0x40]
push ecx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x6ad5bc
call fcn.00539680
test eax, eax
jne 0x531a7a
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 0x531609
mov eax, dword [esi + 0x12]
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 4]
mov dword [esi + 0x4f], eax
test ecx, ecx
je 0x531832
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test eax, eax
je 0x53183b
mov dword [eax + 4], ecx
mov dword [esi + 4], 0
mov dword [esi], 0
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 edx, dword [eax]
mov dword [ebp - 0x38], eax
cmp edx, eax
je 0x53193e
test edx, edx
je 0x53193e
nop dword [eax]
mov ecx, dword [edx]
mov eax, ecx
cmp ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], 0
cmove eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
movzx eax, word [edx + 0x2c]
mov ecx, eax
shl eax, 8
shr ecx, 8
or ecx, eax
and ecx, 0x1fff
lea eax, [ecx*8]
mov dword [ebp - 0x2c], eax
movzx eax, word [edx + 0x28]
mov ecx, eax
shl eax, 8
movzx eax, ax
shr ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x26]
and eax, 0xf
shl eax, 2
sub ecx, eax
mov eax, dword [ebp - 0x34]
add ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], eax
jb 0x531926
cmp ebx, ecx
jl 0x531921
mov eax, dword [edx + 4]
test eax, eax
je 0x5318ed
mov ecx, dword [edx]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov ecx, dword [edx]
test ecx, ecx
je 0x5318f6
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [0x6ad598]
mov dword [edx], eax
mov dword [edx + 4], 0x6ad598
mov dword [0x6ad598], edx
mov eax, dword [edx]
mov dword [eax + 4], edx
dec dword [esi + 0x4b]
jmp 0x53192e
cmp dword [ebp - 0x2c], eax
ja 0x53192e
cmp ecx, ebx
jge 0x5315f0
mov eax, dword [ebp - 0x30]
mov edx, eax
test eax, eax
jne 0x531880
lea eax, [esi + 8]
mov edx, dword [eax]
cmp edx, eax
je 0x53197a
test edx, edx
je 0x53197a
mov ebx, dword [ebp - 0x34]
nop dword [eax + eax]
movzx eax, word [edx + 0x2c]
mov ecx, eax
shl eax, 8
shr ecx, 8
or ecx, eax
and ecx, 0x1fff
shl ecx, 3
cmp ebx, ecx
jbe 0x5319ea
mov eax, dword [edx]
lea ecx, [esi + 8]
mov edx, eax
cmp eax, ecx
je 0x53197a
test edx, edx
jne 0x531950
mov eax, dword [esi + 0xc]
lea ecx, [esi + 8]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [ecx + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
inc dword [esi + 0x4b]
lea eax, [esi + 8]
mov edi, dword [eax]
xor edx, edx
cmp edi, eax
je 0x5319f9
test edi, edi
je 0x5319fb
lea ebx, [esi + 8]
movzx eax, word [edi + 0x2c]
mov ecx, eax
shl eax, 8
shr ecx, 8
or ecx, eax
and ecx, 0x1fff
shl ecx, 3
cmp ecx, edx
jg 0x5319fb
movzx eax, word [edi + 0x28]
mov edx, eax
shl eax, 8
movzx eax, ax
shr edx, 8
or edx, eax
movzx eax, byte [edi + 0x26]
and eax, 0xf
shl eax, 2
sub edx, eax
mov eax, dword [edi]
add edx, ecx
mov edi, eax
cmp eax, ebx
je 0x5319f9
test edi, edi
jne 0x5319a2
jmp 0x5319fb
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
jmp 0x53198d
xor edi, edi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 8]
xor ebx, ebx
cmp ecx, eax
cmove ecx, ebx
test edi, edi
jne 0x531a46
test byte [ecx + 0x2c], 0x20
jne 0x531a46
lea eax, [ebp - 0x28]
mov dword [esi + 0x53], edx
push eax
mov ecx, 0x6ad5bc
call fcn.005379b0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x531a2e
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
test eax, eax
je 0x531a3a
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], ebx
mov eax, esi
mov dword [esi], ebx
jmp 0x53160b
cmp dword [esi + 0x4b], 0x32
jle 0x531609
lea eax, [ebp - 0x28]
mov ecx, 0x6ad5bc
push eax
call fcn.005379b0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x531a69
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x531a75
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov dword [esi + 4], ebx
mov dword [esi], ebx
push esi
mov ecx, 0x6ad570
call fcn.00531350
jmp 0x531609