Function at 0x48b252
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2400230
push 0x2393630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1694
call 0x495200
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x161c], 0
mov dword [ebp - 0x1654], 0
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x166c], 0
mov dword [ebp - 0x1650], 0
mov dword [ebp - 0x151c], 0
mov dword [ebp - 0x1668], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x1664], 0
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x4c0], 0x11000
mov dword [ebp - 0x165c], 0
mov dword [ebp - 0x1638], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1518], 0
mov dword [ebp - 0x1514], 0
mov dword [ebp - 0x1510], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x1658], 0
call fcn.00482fe8
and eax, 0xffff
and eax, 0x800000ff
jns 0x48b392
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x1520], 0
mov dword [ebp - 0x1618], 0
mov dword [ebp - 0x1688], 0x1f4
mov dword [ebp - 0x20], 0
call fcn.00482fe8
and eax, 0xffff
cdq
mov ecx, 0xfffe
idiv ecx
add edx, 0x64
mov dword [ebp - 0x1614], edx
mov dword [ebp - 0x88], 0
xor edx, edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x1634], 0
xor eax, eax
mov dword [ebp - 0x1630], eax
mov dword [ebp - 0x162c], eax
mov dword [ebp - 0x1628], eax
mov dword [ebp - 0x1624], eax
mov dword [ebp - 0x74], 0
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x4f4], 0
xor edx, edx
mov dword [ebp - 0x4f0], edx
mov dword [ebp - 0x4ec], edx
mov dword [ebp - 0x4e8], edx
mov dword [ebp - 0x4e4], edx
mov dword [ebp - 0x1684], 0
xor eax, eax
mov dword [ebp - 0x1680], eax
mov dword [ebp - 0x167c], eax
mov dword [ebp - 0x1678], eax
mov dword [ebp - 0x1674], eax
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x5c], 0
mov ecx, 9
xor eax, eax
lea edi, [ebp - 0x5b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x1610], 0
mov ecx, 0x3b
xor eax, eax
lea edi, [ebp - 0x160c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1610]
mov dword [ebp - 0x164c], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
xor edx, edx
mov dword [ebp - 0x4b4], edx
mov dword [ebp - 0x4d0], 0
xor eax, eax
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x1648], 0
xor ecx, ecx
mov dword [ebp - 0x1644], ecx
mov byte [ebp - 0x94], 0
mov byte [ebp - 0x1640], 0
mov word [ebp - 0x4b0], 0
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0x4ae]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x150c], 0
xor edx, edx
mov dword [ebp - 0x150a], edx
mov dword [ebp - 0x1506], edx
mov dword [ebp - 0x1502], edx
mov word [ebp - 0x14fe], dx
mov byte [ebp - 0x14fc], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x14fb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x1670], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x1620], 0
mov dword [ebp - 0x1660], 0
mov dword [ebp - 0x163c], 0
mov dword [ebp - 0x4e0], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4b0]
push ecx
call dword [0x240014c]
lea edx, [ebp - 0x4b0]
push edx
call dword [0x2400198]
mov eax, dword [0x2401534]
push eax
lea ecx, [ebp - 0x4b0]
push ecx
call fcn.00485ec7
add esp, 8
test eax, eax
je 0x48b5f4
xor eax, eax
jmp 0x48d463
cmp dword [ebp + 0xc], 0
jne 0x48b661
mov dword [ebp - 0x4c4], 0
jmp 0x48b615
mov edx, dword [ebp - 0x4c4]
add edx, 1
mov dword [ebp - 0x4c4], edx
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax*4 + 0x2401a50]
movsx edx, byte [ecx]
test edx, edx
je 0x48b661
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax*4 + 0x2401a50]
push ecx
lea edx, [ebp - 0x4b0]
push edx
call fcn.00485ec7
add esp, 8
test eax, eax
je 0x48b65f
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00487319
add esp, 8
xor eax, eax
jmp 0x48d463
jmp 0x48b606
cmp dword [0x2394000], 0
je 0x48b6a0
push 0x104
lea ecx, [ebp - 0x4b0]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [0x24000d4]
lea eax, [ebp - 0x4b0]
push eax
push 0
call dword [0x2394000]
test eax, eax
je 0x48b6a0
xor eax, eax
jmp 0x48d463
push 0x2394018
call dword [0x240016c]
mov dword [ebp - 4], 0
push 0x11000
push 0
mov ecx, dword [0x239409c]
push ecx
call fcn.00482c00
add esp, 0xc
push 0x11000
push 0
mov edx, dword [0x2394004]
push edx
call fcn.00482c00
add esp, 0xc
push 0x2850
push 0
push 0x23f8660
call fcn.00482c00
add esp, 0xc
push 0x320
push 0
push 0x23faeb0
call fcn.00482c00
add esp, 0xc
lea eax, [ebp - 0x150c]
push eax
call dword [0x24000d0]
mov ecx, dword [ebp + 8]
push ecx
call dword [0x2400094]
mov dword [ebp - 0xa0], eax
push 0x20
mov edx, dword [ebp + 8]
push edx
call dword [0x240005c]
test eax, eax
jne 0x48b73f
mov dword [ebp - 4], 0xffffffff
jmp 0x48d41b
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [0x2400054]
mov dword [ebp - 0x4e0], eax
cmp dword [ebp - 0x4e0], 0xffffffff
je 0x48b77f
push 0
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [0x24000cc]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4e0], 0xffffffff
je 0x48d3d4
cmp dword [ebp - 0x4dc], 0x2800000
jge 0x48d3d4
cmp dword [ebp - 0x4dc], 0x200
jle 0x48d3d4
mov edx, dword [ebp - 0x4dc]
mov dword [ebp - 0x4fc], edx
lea eax, [ebp - 0x1648]
push eax
lea ecx, [ebp - 0x4d0]
push ecx
lea edx, [ebp - 0x4b8]
push edx
mov eax, dword [ebp - 0x4e0]
push eax
call dword [0x24000c8]
push 0
mov ecx, dword [ebp - 0x4dc]
add ecx, 0x111000
push ecx
push 0
push 4
push 0
mov edx, dword [ebp - 0x4e0]
push edx
call dword [0x240013c]
mov dword [ebp - 0x4bc], eax
cmp dword [ebp - 0x4bc], 0
je 0x48d11e
push 0
push 0
push 0
push 6
mov eax, dword [ebp - 0x4bc]
push eax
call dword [0x2400140]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x48d11e
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1664], edx
mov eax, dword [ebp - 0x1664]
cmp eax, dword [ebp - 0x4dc]
jae 0x48d11e
mov ecx, dword [ebp - 0x34]
movsx edx, byte [ecx + 0x18]
cmp edx, 0x40
jl 0x48d11e
push 0xf0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x1664]
push eax
lea ecx, [ebp - 0x1610]
push ecx
call 0x4948eb
add esp, 0xc
cmp dword [ebp - 0x1610], 0x4550
jne 0x48d11e
cmp dword [ebp - 0x15e8], 0
je 0x48d11e
mov edx, dword [ebp - 0x160a]
and edx, 0xffff
cmp edx, 0xf
jge 0x48d11e
cmp dword [ebp - 0x1528], 0
jne 0x48d11e
cmp dword [ebp - 0x1524], 0
jne 0x48d11e
cmp dword [ebp - 0x15d8], 0x5000
jae 0x48d11e
call fcn.00482fe8
and eax, 0xffff
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jle 0x48b936
cmp dword [ebp - 0x15d8], 0x1000
ja 0x48b936
call fcn.00482fe8
and eax, 0xffff
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x15d8]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0048983f
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x4c0]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c0], ecx
mov edx, dword [ebp - 0x15d8]
push edx
mov eax, dword [ebp - 0x4c0]
push eax
call fcn.0048983f
add esp, 8
mov dword [ebp - 0x4c0], eax
mov dword [ebp - 0x1654], 0
mov ecx, dword [ebp - 0x1654]
mov dword [ebp - 0x161c], ecx
jmp 0x48b979
mov edx, dword [ebp - 0x1654]
add edx, 1
mov dword [ebp - 0x1654], edx
mov eax, dword [ebp - 0x160a]
and eax, 0xffff
sub eax, 1
cmp dword [ebp - 0x1654], eax
ja 0x48bab0
push 0x28
mov ecx, dword [ebp - 0x15fc]
and ecx, 0xffff
mov edx, dword [ebp - 0x1664]
add edx, ecx
mov eax, dword [ebp - 0x1654]
imul eax, eax, 0x28
add eax, dword [ebp - 0x34]
lea ecx, [eax + edx + 0x18]
push ecx
lea edx, [ebp - 0x5c]
push edx
call 0x4948eb
add esp, 0xc
mov eax, dword [ebp - 0x1668]
cmp eax, dword [ebp - 0x50]
ja 0x48b9e6
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1668], ecx
mov edx, dword [ebp - 0x1654]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x151c]
cmp eax, dword [ebp - 0x48]
ja 0x48ba03
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x151c], ecx
mov edx, dword [ebp - 0x1654]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x4c], 0
je 0x48ba0f
cmp dword [ebp - 0x54], 0
jne 0x48ba14
jmp 0x48b96a
mov eax, dword [ebp - 0x15e8]
cmp eax, dword [ebp - 0x50]
jb 0x48baab
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x54]
cmp dword [ebp - 0x15e8], ecx
jae 0x48baab
mov edx, dword [ebp - 0x15e8]
sub edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x48]
mov dword [ebp - 0x1650], edx
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x15e8]
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x15e8]
cmp eax, ecx
jae 0x48ba73
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x15e8]
mov dword [ebp - 0x168c], edx
jmp 0x48ba85
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x15e8]
mov dword [ebp - 0x168c], eax
mov ecx, dword [ebp - 0x168c]
mov dword [ebp - 0x1688], ecx
cmp dword [ebp - 0x1688], 0x32
jae 0x48ba9f
jmp 0x48d11e
mov edx, dword [ebp - 0x1654]
mov dword [ebp - 0x161c], edx
jmp 0x48b96a
cmp dword [ebp + 0xc], 2
jne 0x48baef
mov byte [ebp - 0x1640], 1
mov dword [ebp - 0x4c4], 0xc3c3c3c3
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x1650]
mov ecx, dword [ebp - 0x4c4]
mov dword [eax], ecx
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x1650]
mov eax, dword [ebp - 0x4c4]
mov dword [edx + 4], eax
jmp 0x48d11e
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x1664]
mov dword [ebp - 0x163c], ecx
cmp dword [ebp - 0x1688], 0x1f4
jbe 0x48bb14
mov dword [ebp - 0x1688], 0x1f4
mov dword [ebp - 0x1520], 0
jmp 0x48bb2f
mov edx, dword [ebp - 0x1520]
add edx, 1
mov dword [ebp - 0x1520], edx
cmp dword [ebp - 0x1520], 0x10
je 0x48bb8f
mov eax, dword [ebp - 0x1520]
mov ecx, dword [ebp - 0x163c]
mov edx, dword [ecx + eax*8 + 0x78]
cmp edx, dword [ebp - 0x15e8]
jbe 0x48bb8d
mov eax, dword [ebp - 0x1520]
mov ecx, dword [ebp - 0x163c]
mov edx, dword [ecx + eax*8 + 0x78]
sub edx, dword [ebp - 0x15e8]
cmp edx, dword [ebp - 0x1688]
jae 0x48bb8d
mov eax, dword [ebp - 0x1520]
mov ecx, dword [ebp - 0x163c]
mov edx, dword [ecx + eax*8 + 0x78]
sub edx, dword [ebp - 0x15e8]
sub edx, 1
mov dword [ebp - 0x1688], edx
jmp 0x48bb20
cmp dword [ebp + 0xc], 1
je 0x48bba3
cmp dword [ebp - 0x1570], 0
je 0x48bba3
jmp 0x48d11e
push 0x28
mov eax, dword [ebp - 0x15fc]
and eax, 0xffff
mov ecx, dword [ebp - 0x1664]
add ecx, eax
mov edx, dword [ebp - 0x30]
imul edx, edx, 0x28
add edx, dword [ebp - 0x34]
lea eax, [edx + ecx + 0x18]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call 0x4948eb
add esp, 0xc
mov edx, dword [ebp - 0x15f8]
and edx, 0xffff
cmp edx, 0x10b
jne 0x48bc2e
cmp dword [ebp - 0x4c], 0
jne 0x48bbf2
cmp dword [ebp - 0x54], 0
je 0x48bc2e
mov eax, dword [ebp - 0x3a]
and eax, 0xffff
test eax, eax
jne 0x48bc2e
cmp dword [ebp - 0x40], 0
jne 0x48bc2e
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x1650]
movsx edx, byte [ecx]
cmp edx, 0x60
jne 0x48bc33
mov eax, dword [ebp - 0x38]
and eax, 0x20000000
test eax, eax
je 0x48bc33
mov ecx, dword [ebp - 0x38]
and ecx, 0x80000000
test ecx, ecx
je 0x48bc33
jmp 0x48d11e
mov edx, dword [ebp - 0x15d4]
push edx
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x4c]
push eax
call fcn.0048983f
add esp, 8
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x54]
jbe 0x48bc62
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x1690], edx
jmp 0x48bc6b
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1690], eax
mov ecx, dword [ebp - 0x15d4]
push ecx
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x1690]
push edx
call fcn.0048983f
add esp, 8
mov dword [ebp - 0x2c], eax
push 8
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x14fc]
push ecx
call dword [0x240004c]
mov byte [ebp - 0x14f4], 0
push 0x2405614
lea edx, [ebp - 0x14fc]
push edx
call dword [0x24000a0]
test eax, eax
jne 0x48bcc2
cmp dword [ebp - 0x4c], 0
jne 0x48bcc2
jmp 0x48d11e
cmp dword [ebp - 0x15b8], 0
je 0x48bce9
mov eax, dword [ebp - 0x15b8]
push eax
mov ecx, dword [ebp - 0x1664]
add ecx, 0x58