Function at 0x485a20
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push edi
push 0x69267c
push eax
xor ebx, ebx
push 1
push str.function2
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], ebx
call fcn.005845e0
mov edi, dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x485d50
push esi
jmp 0x485a60
push 0x5a4bd4
push 0x69267c
call fcn.00553e97
mov esi, eax
add esp, 8
test esi, esi
je 0x485d29
push 0
push esi
call fcn.00484af0
or dword [ebp - 8], eax
add esp, 8
cmp eax, 0x200
jg 0x485bf2
je 0x485bda
cmp eax, 0x10
jg 0x485b5e
je 0x485b46
cmp eax, 1
jg 0x485aeb
je 0x485ad3
cmp eax, 0x80000000
jne case.0x485b73.33
lea ecx, [edi + 0xbe]
push ecx
push esi
call fcn.00485630
add esp, 8
mov esi, eax
jmp case.0x485b73.33
lea edx, [edi + 0xde]
push edx
push esi
call fcn.00485650
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
sub eax, 2
je 0x485b2e
sub eax, 2
je 0x485b16
sub eax, 4
jne case.0x485b73.33
lea eax, [edi + 0x106]
push eax
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea ecx, [edi + 0xee]
push ecx
push esi
call fcn.00485650
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea edx, [edi + 0xe6]
push edx
push esi
call fcn.00485650
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea eax, [edi + 0x112]
push eax
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
add eax, 0xffffffe0
cmp eax, 0xe0
ja case.0x485b73.33
movzx ecx, byte [eax + 0x485d84]
jmp dword [ecx*4 + 0x485d70]
lea edx, [edi + 0x11e]
push edx
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea eax, [edi + 0x12a]
push eax
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea ecx, [edi + 0x136]
push ecx
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea edx, [edi + 0x142]
push edx
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea eax, [edi + 0x14e]
push eax
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
cmp eax, 0x4000
jg 0x485c9b
je 0x485c86
cmp eax, 0x1000
jg 0x485c66
je 0x485c4e
cmp eax, 0x400
je 0x485c36
cmp eax, 0x800
jne case.0x485b73.33
lea ecx, [edi + 0x166]
push ecx
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea edx, [edi + 0x15a]
push edx
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea eax, [edi + 0x172]
push eax
push esi
call fcn.00485670
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
cmp eax, 0x2000
jne case.0x485b73.33
lea ecx, [edi + 0xf6]
push ecx
push esi
call fcn.00485650
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
lea edx, [edi + 0xfe]
push edx
push esi
call fcn.00485650
add esp, 8
mov esi, eax
inc ebx
jmp case.0x485b73.33
cmp eax, 0x20000000
jg 0x485cee
je 0x485cda
cmp eax, 0x1000000
je 0x485cc6
cmp eax, 0x2000000
jne case.0x485b73.33
lea eax, [edi + 0xce]
push eax
push esi
call fcn.00485630
add esp, 8
mov esi, eax
jmp case.0x485b73.33
lea ecx, [edi + 0xd6]
push ecx
push esi
call fcn.00485630
add esp, 8
mov esi, eax
jmp case.0x485b73.33
lea edx, [edi + 0xc6]
push edx
push esi
call fcn.00485630
add esp, 8
mov esi, eax
jmp case.0x485b73.33
cmp eax, 0x40000000
je 0x485d0e
test esi, esi
jne 0x485d29
mov eax, dword [ebp - 4]
push eax
push esi
push esi
push 0xd1
call fcn.00425f40
add esp, 0x10
jmp 0x485d29
push 0
call fcn.00484bb0
mov ecx, dword [ebp - 0xc]
or ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
test ecx, 0xb3000000
je 0x485d29
inc ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push 0x69267c
inc eax
push ecx
push eax
push str.function2
mov dword [ebp - 4], eax
call fcn.005845e0
add esp, 0x10
test eax, eax
jne 0x485a60
pop esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edi + 8], edx
mov dword [edi + 0xba], eax
test ebx, ebx
je 0x485d69
or dword [edi], 0x80000000
pop edi
pop ebx
mov esp, ebp
pop ebp
ret