Function at 0x442811
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
call fcn.004520f0
mov dword [ebp - 8], eax
call fcn.004520fa
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0x20
mov dword [ebp - 4], 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0x40
test ecx, ecx
jne 0x44284e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
and eax, 2
test eax, eax
je 0x442856
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
cmp dword [0x4a6e00], 1
je 0x442c7b
cmp dword [0x4a6e04], 1
je 0x442c7b
mov edx, dword [0x4a6dfc]
and edx, 1
test edx, edx
jne 0x442c7b
mov eax, dword [0x4a8168]
and eax, 0x100
test eax, eax
je 0x4429f1
mov dword [ebp - 0x18], 0x4a91c0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
add edx, 2
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
sub eax, 2
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
sub edx, 2
push edx
push 0x4b0b00
call fcn.00402920
add esp, 0x14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44290c
mov eax, dword [0x4a9204]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
sar edx, 0x10
sub edx, 0x80
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sar ecx, 0x10
push ecx
call fcn.0043afe8
add esp, 8
call fcn.004427b7
jmp 0x4429f1
mov dword [ebp - 0x18], 0x4b0b00
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
add eax, 2
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
add edx, 2
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
sub ecx, 2
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
sub eax, 2
push eax
push 0x4a91c0
call fcn.00402920
add esp, 0x14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x442982
mov ecx, dword [0x4b0b44]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
sar eax, 0x10
sub eax, 0x80
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sar edx, 0x10
push edx
call fcn.0043afe8
add esp, 8
call fcn.004427b7
jmp 0x4429f1
cmp dword [0x4a921c], 0
jne 0x4429bc
mov eax, dword [0x4a9204]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
sar edx, 0x10
sub edx, 0x90
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sar ecx, 0x10
push ecx
call fcn.0043afe8
add esp, 8
call fcn.004427b7
jmp 0x4429f1
push 0x4b0b00
call fcn.0043d783
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x10], eax
push 0x90
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sar edx, 0x10
push edx
call fcn.0043afe8
add esp, 8
call fcn.004427b7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
test ecx, ecx
je 0x442b87
mov edx, dword [ebp + 8]
movsx eax, word [edx + 8]
cmp eax, 0xf9
jl 0x442a8f
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 8]
cmp edx, 0x187
jge 0x442a8f
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0xa]
cmp ecx, 0x1b9
jl 0x442a8f
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0xa]
cmp eax, 0x1d5
jge 0x442a8f
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + 8]
sub eax, 0xf9
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0xa]
mov ecx, 0x1d5
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub eax, 2
mov dword [ebp - 0x28], eax
push 0x4acad0
push 0x4acac8
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0043ae90
add esp, 0x10
call fcn.004427b7
jmp 0x442b87
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 0xa]
cmp edx, 0x160
jl 0x442b6a
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0xa]
cmp ecx, 0x1d8
jge 0x442b6a
mov edx, dword [ebp + 8]
movsx eax, word [edx + 8]
cmp eax, 7
jl 0x442afe
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 8]
cmp edx, 0x6b
jge 0x442afe
mov eax, dword [0x4b0b44]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
sar edx, 0x10
sub edx, 0x90
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
sar ecx, 0x10
push ecx
call fcn.0043afe8
add esp, 8
call fcn.004427b7
jmp 0x442b68
mov edx, dword [ebp + 8]
movsx eax, word [edx + 8]
cmp eax, 0x215
jl 0x442b4c
mov ecx, dword [ebp + 8]
movsx edx, word [ecx + 8]
cmp edx, 0x279
jge 0x442b4c
mov eax, dword [0x4a9204]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
sar edx, 0x10
sub edx, 0x90
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
sar ecx, 0x10
push ecx
call fcn.0043afe8
add esp, 8
call fcn.004427b7
jmp 0x442b68
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
and eax, 0x10000
test eax, eax
je 0x442b68
push 0x48fc80
call fcn.0041d299
add esp, 4
jmp 0x442b87
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 0x10000
test edx, edx
je 0x442b87
push 0x48fc80
call fcn.0041d299
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 1
test ecx, ecx
jne 0x442b9f
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0xa]
cmp eax, 8
jge 0x442bc4
mov ecx, dword [0x4acad0]
add ecx, dword [ebp - 4]
mov dword [0x4acad0], ecx
mov edx, dword [0x4a6de4]
sub edx, 5
mov dword [0x4a6de4], edx
call fcn.004427b7
jmp 0x442c02
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
jne 0x442be1
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0xa]
mov ecx, dword [ebp - 0xc]
sub ecx, 8
cmp eax, ecx
jl 0x442c02
mov edx, dword [0x4acad0]
sub edx, dword [ebp - 4]
mov dword [0x4acad0], edx
mov eax, dword [0x4a6de4]
add eax, 5
mov dword [0x4a6de4], eax
call fcn.004427b7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edx, 4
test edx, edx
jne 0x442c1a
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 8]
cmp ecx, 8
jge 0x442c3d
mov edx, dword [0x4acac8]
sub edx, dword [ebp - 4]
mov dword [0x4acac8], edx
mov eax, dword [0x4a6de0]
sub eax, 5
mov dword [0x4a6de0], eax
call fcn.004427b7
jmp 0x442c7b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edx, 8
test edx, edx
jne 0x442c5a
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 8]
mov edx, dword [ebp - 8]
sub edx, 8
cmp ecx, edx
jl 0x442c7b
mov eax, dword [0x4acac8]
add eax, dword [ebp - 4]
mov dword [0x4acac8], eax
mov ecx, dword [0x4a6de0]
add ecx, 5
mov dword [0x4a6de0], ecx
call fcn.004427b7
mov edx, dword [0x4a8168]
and edx, 0x80
test edx, edx
je 0x442cd3
mov eax, dword [0x4a6f08]
and eax, 8
test eax, eax
je 0x442ca3
mov dword [0x4acabc], 0xea60
jmp 0x442cd3
mov ecx, dword [0x4a6f08]
and ecx, 0x10
test ecx, ecx
je 0x442cbc
mov dword [0x4acabc], 0xa
jmp 0x442cd3
mov edx, dword [0x4a6f08]
and edx, 4
test edx, edx
je 0x442cd3
mov dword [0x4a920c], 0x1d4c0
mov eax, dword [0x4a8168]
and eax, 1
test eax, eax
je 0x443081
mov ecx, dword [0x4a6ec0]
and ecx, 0x40000000
test ecx, ecx
je 0x442d0c
mov edx, dword [0x4a91bc]
add edx, 1
mov dword [0x4a91bc], edx
call fcn.00442725
jmp 0x443081
mov eax, dword [0x4a6ec4]
and eax, 0x1000
test eax, eax
je 0x442d46
mov ecx, dword [0x4a91bc]
sub ecx, 1
mov dword [0x4a91bc], ecx
cmp dword [0x4a91bc], 0
jg 0x442d3c
mov dword [0x4a91bc], 0
call fcn.00442725
jmp 0x443081
mov edx, dword [0x4a6ec0]
and edx, 0x80000000
test edx, edx
je 0x442d6d
mov eax, dword [0x4a91a8]
add eax, 1
mov dword [0x4a91a8], eax
call fcn.00442725
jmp 0x443081
mov ecx, dword [0x4a6ec4]
and ecx, 0x2000
test ecx, ecx
je 0x442da9
mov edx, dword [0x4a91a8]
sub edx, 1
mov dword [0x4a91a8], edx
cmp dword [0x4a91a8], 0
jg 0x442d9f
mov dword [0x4a91a8], 0
call fcn.00442725
jmp 0x443081
mov eax, dword [0x4a6ec4]
and eax, 1
test eax, eax
je 0x442dce
mov ecx, dword [0x4a91b4]
add ecx, 1
mov dword [0x4a91b4], ecx
call fcn.00442725
jmp 0x443081
mov edx, dword [0x4a6ec4]
and edx, 0x4000
test edx, edx
je 0x442df5
mov eax, dword [0x4a91b4]
sub eax, 1
mov dword [0x4a91b4], eax
call fcn.00442725
jmp 0x443081
mov ecx, dword [0x4a6ec0]
and ecx, 0x80000
test ecx, ecx
je 0x442e2d
mov dword [0x4a91b4], 0x30
mov dword [0x4a91bc], 0xd0
mov dword [0x4a91a8], 0x200
call fcn.00442725
jmp 0x443081
mov edx, dword [0x4a6ec0]
and edx, 0x100000
test edx, edx
je 0x442e65
mov dword [0x4a91b4], 0
mov dword [0x4a91bc], 0xd0
mov dword [0x4a91a8], 0x26c
call fcn.00442725
jmp 0x443081
mov eax, dword [0x4a6ec0]
and eax, 0x200000
test eax, eax
je 0x442e9b
mov dword [0x4a91b4], 0xffffffce
mov dword [0x4a91bc], 0xd0
mov dword [0x4a91a8], 0x2ee
call fcn.00442725
jmp 0x443081
mov ecx, dword [0x4a6ec0]
and ecx, 0x400000
test ecx, ecx
je 0x442ed3
mov dword [0x4a91b4], 0xffffffce
mov dword [0x4a91bc], 0xbe
mov dword [0x4a91a8], 0x36d
call fcn.00442725
jmp 0x443081
mov edx, dword [0x4a6f04]
and edx, 0x8000000
test edx, edx
je 0x442ef5
push 0x4b0b00
call fcn.00445262
add esp, 4
jmp 0x443081
mov eax, dword [0x4a6f04]
and eax, 0x10000000
test eax, eax
je 0x442f1c
push 0
push 0x1f6
push 0x4a91c0
call fcn.0043c409
add esp, 0xc
jmp 0x443081
mov ecx, dword [0x4a6f04]
and ecx, 0x20000000
test ecx, ecx
je 0x442f42
push 0
push 0x67
push 0x4b0b00
call fcn.0043c409
add esp, 0xc
jmp 0x443081
mov edx, dword [0x4a6f04]
and edx, 0x40000000
test edx, edx
je 0x442f68
push 0
push 0x68
push 0x4b0b00
call fcn.0043c409
add esp, 0xc
jmp 0x443081
mov eax, dword [0x4a6f04]
and eax, 0x80000000
test eax, eax
je 0x442f8c
push 0
push 0x64
push 0x4a91c0
call fcn.0043c409
add esp, 0xc
jmp 0x443081
mov ecx, dword [0x4a6f08]
and ecx, 1
test ecx, ecx
je 0x442fb2
push 0
push 0xc8
push 0x4a91c0
call fcn.0043c409
add esp, 0xc
jmp 0x443081
mov edx, dword [0x4a6f08]
and edx, 2
test edx, edx
je 0x442fd8
push 0
push 0x12c
push 0x4a91c0
call fcn.0043c409
add esp, 0xc
jmp 0x443081
mov eax, dword [0x4a6f08]
and eax, 0x800000
test eax, eax
je 0x442ffd
call fcn.004371f1
push str.Things.ini
call fcn.0043846d
add esp, 4
jmp 0x443081
mov ecx, dword [0x4a6f00]
and ecx, 0x10000
test ecx, ecx
je 0x443020
push 0
push 0x62
push 0x4b0b00
call fcn.0043c409
add esp, 0xc
jmp 0x443081
mov edx, dword [0x4a6f00]
and edx, 0x20000
test edx, edx
je 0x443043
push 0
push 0x62
push 0x4a91c0
call fcn.0043c409
add esp, 0xc
jmp 0x443081
mov eax, dword [0x4a6f00]
and eax, 0x40000
test eax, eax
je 0x443064
push 0
push 0x61
push 0x4b0b00
call fcn.0043c409
add esp, 0xc
jmp 0x443081
mov ecx, dword [0x4a6f08]
and ecx, 0x1000000
test ecx, ecx
je 0x443081
push str._nload_script
call fcn.00450670
add esp, 4
mov esp, ebp
pop ebp
ret