Function at 0x40124b
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0
cmp eax, ecx
jl 0x401275
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 1
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 1
cmp eax, ecx
jl 0x4012ae
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 3
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 2
cmp eax, ecx
jl 0x4012e7
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 7
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 3
cmp eax, ecx
jl 0x401320
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0xf
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 4
cmp eax, ecx
jl 0x401359
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1f
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 5
cmp eax, ecx
jl 0x401392
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x3f
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 6
cmp eax, ecx
jl 0x4013cb
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x7f
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 7
cmp eax, ecx
jl 0x401404
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0xff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 8
cmp eax, ecx
jl 0x40143d
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1ff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 9
cmp eax, ecx
jl 0x401476
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x3ff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0xa
cmp eax, ecx
jl 0x4014af
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x7ff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0xb
cmp eax, ecx
jl 0x4014e8
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0xfff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0xc
cmp eax, ecx
jl 0x401521
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1fff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0xd
cmp eax, ecx
jl 0x40155a
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x3fff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0xe
cmp eax, ecx
jl 0x401593
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x7fff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0xf
cmp eax, ecx
jl 0x4015cc
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0xffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x10
cmp eax, ecx
jl 0x401605
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1ffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x11
cmp eax, ecx
jl 0x40163e
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x3ffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x12
cmp eax, ecx
jl 0x401677
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x7ffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x13
cmp eax, ecx
jl 0x4016b0
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0xfffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x14
cmp eax, ecx
jl 0x4016e9
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1fffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x15
cmp eax, ecx
jl 0x401722
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x3fffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x16
cmp eax, ecx
jl 0x40175b
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x7fffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x17
cmp eax, ecx
jl 0x401794
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0xffffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x18
cmp eax, ecx
jl 0x4017cd
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1ffffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x19
cmp eax, ecx
jl 0x401806
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x3ffffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x1a
cmp eax, ecx
jl 0x40183f
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x7ffffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x1b
cmp eax, ecx
jl 0x401878
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0xfffffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x1c
cmp eax, ecx
jl 0x4018b1
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1fffffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x1d
cmp eax, ecx
jl 0x4018ea
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x3fffffff
mov dword [ebx + 4], 0
mov ebx, dword [0x699ce8]
call fcn.0040122b
mov eax, 0x1e
cmp eax, ecx
jl 0x401923
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], closesocket
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0
cmp eax, ecx
jl 0x40195c
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 1
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 1
cmp eax, ecx
jl 0x401995
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 2
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 2
cmp eax, ecx
jl 0x4019ce
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 4
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 3
cmp eax, ecx
jl 0x401a07
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 8
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 4
cmp eax, ecx
jl 0x401a40
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x10
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 5
cmp eax, ecx
jl 0x401a79
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x20
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 6
cmp eax, ecx
jl 0x401ab2
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x40
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 7
cmp eax, ecx
jl 0x401aeb
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x80
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 8
cmp eax, ecx
jl 0x401b24
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x100
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 9
cmp eax, ecx
jl 0x401b5d
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x200
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0xa
cmp eax, ecx
jl 0x401b96
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x400
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0xb
cmp eax, ecx
jl 0x401bcf
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x800
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0xc
cmp eax, ecx
jl 0x401c08
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0xd
cmp eax, ecx
jl 0x401c41
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x2000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0xe
cmp eax, ecx
jl 0x401c7a
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x4000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0xf
cmp eax, ecx
jl 0x401cb3
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x8000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x10
cmp eax, ecx
jl 0x401cec
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x10000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x11
cmp eax, ecx
jl 0x401d25
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x20000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x12
cmp eax, ecx
jl 0x401d5e
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x3ffe2
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x13
cmp eax, ecx
jl 0x401d97
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x80000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x14
cmp eax, ecx
jl 0x401dd0
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x100000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x15
cmp eax, ecx
jl 0x401e09
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x200000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x16
cmp eax, ecx
jl 0x401e42
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x400000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x17
cmp eax, ecx
jl 0x401e7b
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x800000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x18
cmp eax, ecx
jl 0x401eb4
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1000000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x19
cmp eax, ecx
jl 0x401eed
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x1fe5250
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x1a
cmp eax, ecx
jl 0x401f26
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x4000000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x1b
cmp eax, ecx
jl 0x401f5f
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x8000000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x1c
cmp eax, ecx
jl 0x401f98
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x10000000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x1d
cmp eax, ecx
jl 0x401fd1
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x20000000
mov dword [ebx + 4], 0
mov ebx, dword [0x699cec]
call fcn.0040122b
mov eax, 0x1e
cmp eax, ecx
jl 0x40200a
push 1
call fcn.00456cde
add esp, 4
shl eax, 3
add ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0x40000000
mov dword [ebx + 4], 0
call fcn.00402035
mov eax, 0
jmp 0x402031
mov esp, ebp
pop ebp
ret