Function at 0x4a4c90
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 0x4a4d01
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
movzx edx, word [ecx + 0xb4c]
cmp edx, 0x2655
je 0x4a4cff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb60], 0xd30f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb60], 0xd30f
xor eax, eax
jmp 0x4a5425
jmp 0x4a4d23
push 0x40
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
add edx, 0xb24
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 4
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004dcdd0
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x4a4e25
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x4a4d55
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
jne 0x4a4d5c
xor eax, eax
jmp 0x4a5425
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 1
jmp 0x4a4d75
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 4
jge 0x4a4d8e
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov eax, dword [ebp - 0x20]
shr eax, cl
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
jmp 0x4a4d6c
mov dword [ebp - 0x28], 0
jmp 0x4a4da0
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 4
jge 0x4a4db9
mov ecx, dword [ebp - 0x28]
shl ecx, 3
mov edx, dword [ebp - 0x1c]
shr edx, cl
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
jmp 0x4a4d97
mov eax, dword [ebp - 0xc]
and eax, 0x7f
mov ecx, dword [ebp - 0x20]
and ecx, 0x7f
cmp eax, ecx
je 0x4a4e20
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x4a4de7
xor eax, eax
je 0x4a4de7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x2c], edx
jmp 0x4a4dee
mov dword [ebp - 0x2c], 0xffffffd4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x80], ecx
push 0
push 0xff
push 0
push 0
push 0x21d
push 0xffffffffffffffd4
mov edx, dword [ebp + 8]
push edx
call fcn.0048a930
add esp, 0x1c
or eax, 0xffffffff
jmp 0x4a5425
jmp 0x4a4ed2
mov eax, dword [ebp - 0x18]
xor eax, 0xa3ef0000
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
and edx, 0xffff
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
and eax, 0xffff
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x20]
and edx, 0x7f
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
and eax, 0xffffff80
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0
jne 0x4a4e7e
lea ecx, [ebp - 0x24]
push ecx
call fcn.004dcf50
add esp, 4
cmp dword [ebp - 8], eax
je 0x4a4ed2
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x4a4e9c
xor eax, eax
je 0x4a4e9c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x30], edx
jmp 0x4a4ea3
mov dword [ebp - 0x30], 0xffffffd4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x80], ecx
push 0
push 0xff
push 0
push 0
push 0x31
push 0xffffffffffffffd4
mov edx, dword [ebp + 8]
push edx
call fcn.0048a930
add esp, 0x1c
or eax, 0xffffffff
jmp 0x4a5425
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x80000000
jbe 0x4a4f06
mov eax, dword [ebp - 0x10]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
cmp edx, 4
jge 0x4a4f06
mov dword [ebp - 0x34], 1
jmp 0x4a4f0d
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
and ecx, 0x40000000
je 0x4a4f24
cmp dword [ebp - 0x14], 0
je 0x4a4f3d
cmp dword [ebp - 0x14], 0
je 0x4a53cc
mov edx, dword [ebp - 0x1c]
and edx, 0x400000
je 0x4a53cc
cmp dword [ebp - 4], 0
je 0x4a4f7a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb60], 0xd30f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb60], 0xd30f
xor eax, eax
jmp 0x4a5425
mov eax, dword [ebp - 0x24]
and eax, 0x100000
je 0x4a4fa1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb4c], 0x2655
jmp 0x4a5032
mov ecx, dword [ebp - 0x18]
and ecx, 0xffff
push ecx
push 0x52dce8
push str.a001
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
push 0
push str.a001
call fcn.004c3320
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004c28f0
add esp, 0xc
test eax, eax
je 0x4a5032
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x4a4ffc
xor ecx, ecx
je 0x4a4ffc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x38], eax
jmp 0x4a5003
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.0048a930
add esp, 0x1c
or eax, 0xffffffff
jmp 0x4a5425
mov ecx, dword [ebp - 0x24]
and ecx, 2
je 0x4a5052
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
mov word [ecx + 0xb26], 0x20
mov edx, dword [ebp - 0x24]
and edx, 4
je 0x4a5072
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb28], 0x3e1
mov eax, dword [ebp - 0x24]
and eax, 8
je 0x4a5092
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb2a], 0xabcd
mov ecx, dword [ebp - 0x24]
and ecx, 0x10
je 0x4a50b2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
mov word [ecx + 0xb2c], 0x54
mov edx, dword [ebp - 0x24]
and edx, 0x20
je 0x4a50d2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb2e], 0x5e
mov eax, dword [ebp - 0x24]
and eax, 0x40
je 0x4a50f2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb30], 0x7f
mov ecx, dword [ebp - 0x24]
and ecx, 0x80
je 0x4a5115
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
mov word [ecx + 0xb32], 0x4e9b
mov edx, dword [ebp - 0x24]
and edx, 0x4000
je 0x4a5138
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb40], 0xdead
mov eax, dword [ebp - 0x24]
and eax, 0x8000
je 0x4a515a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb42], 0xfeef
mov ecx, dword [ebp - 0x24]
and ecx, 0x100
je 0x4a517d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
mov word [ecx + 0xb34], 0xc7
mov edx, dword [ebp - 0x24]
and edx, 0x200
je 0x4a51a0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb36], 0x1538
mov eax, dword [ebp - 0x24]
and eax, 0x800
je 0x4a51c2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb3a], 0xc
mov ecx, dword [ebp - 0x24]
and ecx, 0x1000
je 0x4a51e5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
mov word [ecx + 0xb3c], 0x3ce
mov edx, dword [ebp - 0x24]
and edx, 0x2000
je 0x4a5208
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb3e], 0x22b
mov eax, dword [ebp - 0x24]
and eax, 0x10000
je 0x4a522a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb44], 0x46
mov ecx, dword [ebp - 0x24]
and ecx, 0x20000
je 0x4a524d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
mov word [ecx + 0xb46], 0xdd
mov edx, dword [ebp - 0x24]
and edx, 0x40000
je 0x4a5270
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb48], 0x70
mov eax, dword [ebp - 0x24]
and eax, 0x80000
je 0x4a5292
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb4a], 0x15a6
mov ecx, dword [ebp - 0x24]
and ecx, 0x200000
je 0x4a52b5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
mov word [ecx + 0xb4e], 0x511
mov edx, dword [ebp - 0x24]
and edx, 0x400000
je 0x4a52d8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb50], 0x1204
mov eax, dword [ebp - 0x24]
and eax, 0x800000
je 0x4a52fa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb52], 0x2a34
mov ecx, dword [ebp - 0x24]
and ecx, 0x1000000
je 0x4a531d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
mov word [ecx + 0xb54], 0x12ef
mov edx, dword [ebp - 0x24]
and edx, 0x2000000
je 0x4a5340
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb56], 0x9320
mov eax, dword [ebp - 0x24]
and eax, 0x4000000
je 0x4a5362
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb58], 0x7032
mov ecx, dword [ebp - 0x24]
and ecx, 0x8000000
je 0x4a5385
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov ecx, dword [eax + 0x1cec]
mov word [ecx + 0xb5a], 0x836a
mov edx, dword [ebp - 0x24]
and edx, 0x10000000
je 0x4a53a8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ecx + 0x1cec]
mov word [edx + 0xb5c], 0x336
mov eax, dword [ebp - 0x24]
and eax, 0x20000000
je 0x4a53ca
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
mov eax, dword [edx + 0x1cec]
mov word [eax + 0xb5e], 0x9969
jmp 0x4a5423
cmp dword [ebp - 4], 0
jne 0x4a5423
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x4a53f0
xor edx, edx
je 0x4a53f0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x3c], ecx
jmp 0x4a53f7
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.0048a930
add esp, 0x1c
or eax, 0xffffffff
jmp 0x4a5425
xor eax, eax
mov esp, ebp
pop ebp
ret