Function at 0x5872c4
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax], 0
sete cl
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x587337
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
xor edx, edx
mov dx, word [ecx + 0xb40]
cmp edx, 0x2655
je 0x587335
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb54], 0xd30f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb54], 0xd30f
xor eax, eax
jmp 0x587a99
jmp 0x587359
push 0x40
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
add edx, 0xb18
push edx
call 0x64e220
add esp, 0xc
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.005b0ac3
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x587461
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x58738b
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
jne 0x587392
xor eax, eax
jmp 0x587a99
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 1
jmp 0x5873ab
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 4
jge 0x5873c6
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov eax, dword [ebp - 0x18]
shr eax, cl
mov ecx, dword [ebp - 8]
xor ecx, eax
mov dword [ebp - 8], ecx
jmp 0x5873a2
mov dword [ebp - 0x28], 0
jmp 0x5873d8
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 4
jge 0x5873f3
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov eax, dword [ebp - 0x14]
shr eax, cl
mov ecx, dword [ebp - 8]
xor ecx, eax
mov dword [ebp - 8], ecx
jmp 0x5873cf
mov edx, dword [ebp - 8]
and edx, 0x7f
mov eax, dword [ebp - 0x18]
and eax, 0x7f
cmp edx, eax
je 0x58745c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x587423
xor edx, edx
test edx, edx
je 0x587423
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2c], ecx
jmp 0x58742a
mov dword [ebp - 0x2c], 0xffffffd4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x21d
push 0xffffffffffffffd4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00560ea0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x587a99
jmp 0x587512
mov edx, dword [ebp - 0x10]
xor edx, 0xa3ef0000
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0xffff
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
and edx, 0xffff
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0x7f
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
and edx, 0xffffff80
mov dword [ebp - 0x18], edx
cmp dword [ebp - 8], 0
jne 0x5874bc
lea eax, [ebp - 0x1c]
push eax
call fcn.005b0c3d
add esp, 4
cmp dword [ebp - 0xc], eax
je 0x587512
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x5874dc
xor edx, edx
test edx, edx
je 0x5874dc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x30], ecx
jmp 0x5874e3
mov dword [ebp - 0x30], 0xffffffd4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x31
push 0xffffffffffffffd4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00560ea0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x587a99
call dword [0x537284]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x80000000
jbe 0x58753b
mov edx, dword [ebp - 0x20]
and edx, 0xff
cmp edx, 4
jge 0x58753b
mov dword [ebp - 0x34], 1
jmp 0x587542
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
and ecx, 0x40000000
test ecx, ecx
je 0x58755b
cmp dword [ebp - 0x24], 0
je 0x587576
cmp dword [ebp - 0x24], 0
je 0x587a3e
mov edx, dword [ebp - 0x14]
and edx, 0x400000
test edx, edx
je 0x587a3e
cmp dword [ebp - 4], 0
je 0x5875b3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb54], 0xd30f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb54], 0xd30f
xor eax, eax
jmp 0x587a99
mov eax, dword [ebp - 0x1c]
and eax, 0x100000
test eax, eax
je 0x5875dc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb40], 0x2655
jmp 0x58766e
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
push ecx
push 0x551bcc
push 0x551bc0
call 0x64d6a4
add esp, 0xc
push 0
push 0x551bc0
call fcn.0058bdf0
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0058b5b2
add esp, 0xc
test eax, eax
je 0x58766e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x587638
xor ecx, ecx
test ecx, ecx
je 0x587638
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x38], eax
jmp 0x58763f
mov dword [ebp - 0x38], 0xffffffce
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x33
push 0xffffffffffffffce
mov eax, dword [ebp + 8]
push eax
call fcn.00560ea0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x587a99
mov ecx, dword [ebp - 0x1c]
and ecx, 2
test ecx, ecx
je 0x587690
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb1a], 0x20
mov edx, dword [ebp - 0x1c]
and edx, 4
test edx, edx
je 0x5876b2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb1c], 0x3e1
mov eax, dword [ebp - 0x1c]
and eax, 8
test eax, eax
je 0x5876d4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb1e], 0xabcd
mov ecx, dword [ebp - 0x1c]
and ecx, 0x10
test ecx, ecx
je 0x5876f6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb20], 0x54
mov edx, dword [ebp - 0x1c]
and edx, 0x20
test edx, edx
je 0x587718
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb22], 0x5e
mov eax, dword [ebp - 0x1c]
and eax, 0x40
test eax, eax
je 0x58773a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb24], 0x7f
mov ecx, dword [ebp - 0x1c]
and ecx, 0x80
test ecx, ecx
je 0x58775f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb26], 0x4e9b
mov edx, dword [ebp - 0x1c]
and edx, 0x4000
test edx, edx
je 0x587784
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb34], 0xdead
mov eax, dword [ebp - 0x1c]
and eax, 0x8000
test eax, eax
je 0x5877a8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb36], 0xfeef
mov ecx, dword [ebp - 0x1c]
and ecx, 0x100
test ecx, ecx
je 0x5877cd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb28], 0xc7
mov edx, dword [ebp - 0x1c]
and edx, 0x200
test edx, edx
je 0x5877f2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb2a], 0x1538
mov eax, dword [ebp - 0x1c]
and eax, 0x800
test eax, eax
je 0x587816
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb2e], 0xc
mov ecx, dword [ebp - 0x1c]
and ecx, 0x1000
test ecx, ecx
je 0x58783b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb30], 0x3ce
mov edx, dword [ebp - 0x1c]
and edx, 0x2000
test edx, edx
je 0x587860
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb32], 0x22b
mov eax, dword [ebp - 0x1c]
and eax, 0x10000
test eax, eax
je 0x587884
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb38], 0x46
mov ecx, dword [ebp - 0x1c]
and ecx, 0x20000
test ecx, ecx
je 0x5878a9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb3a], 0xdd
mov edx, dword [ebp - 0x1c]
and edx, 0x40000
test edx, edx
je 0x5878ce
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb3c], 0x70
mov eax, dword [ebp - 0x1c]
and eax, 0x80000
test eax, eax
je 0x5878f2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb3e], 0x15a6
mov ecx, dword [ebp - 0x1c]
and ecx, 0x200000
test ecx, ecx
je 0x587917
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb42], 0x511
mov edx, dword [ebp - 0x1c]
and edx, 0x400000
test edx, edx
je 0x58793c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb44], 0x1204
mov eax, dword [ebp - 0x1c]
and eax, 0x800000
test eax, eax
je 0x587960
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb46], 0x2a34
mov ecx, dword [ebp - 0x1c]
and ecx, 0x1000000
test ecx, ecx
je 0x587985
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb48], 0x12ef
mov edx, dword [ebp - 0x1c]
and edx, 0x2000000
test edx, edx
je 0x5879aa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb4a], 0x9320
mov eax, dword [ebp - 0x1c]
and eax, 0x4000000
test eax, eax
je 0x5879ce
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb4c], 0x7032
mov ecx, dword [ebp - 0x1c]
and ecx, 0x8000000
test ecx, ecx
je 0x5879f3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [eax + 0x1cdc]
mov word [ecx + 0xb4e], 0x836a
mov edx, dword [ebp - 0x1c]
and edx, 0x10000000
test edx, edx
je 0x587a18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
mov edx, dword [ecx + 0x1cdc]
mov word [edx + 0xb50], 0x336
mov eax, dword [ebp - 0x1c]
and eax, 0x20000000
test eax, eax
je 0x587a3c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x198]
mov eax, dword [edx + 0x1cdc]
mov word [eax + 0xb52], 0x9969
jmp 0x587a97
cmp dword [ebp - 4], 0
jne 0x587a97
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x587a64
xor edx, edx
test edx, edx
je 0x587a64
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x3c], ecx
jmp 0x587a6b
mov dword [ebp - 0x3c], 0xffffffd0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x34
push 0xffffffffffffffd0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00560ea0
add esp, 0x1c
or eax, 0xffffffff
jmp 0x587a99
xor eax, eax
mov esp, ebp
pop ebp
ret