Function at 0x460e29
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, dword [ebp + 0x10]
push esi
push edi
push dword [ebp + 0x20]
mov esi, ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x24]
push dword [ebp + 0x28]
push dword [eax]
push dword [ebp + 8]
push 2
call fcn.004241a6
push dword [ebp + 0x2c]
lea ecx, [esi + 0x40]
mov dword [esi], 0x486390
call fcn.0043660b
mov ebx, dword [ebp + 0x30]
and dword [esi + 0x4c], 0
lea edi, [esi + 0x48]
and dword [edi], 0
push 0x4975e4
mov dword [esi + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x20]
add edx, eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x2c]
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov eax, dword [eax + 0x48]
shl eax, 2
not eax
and eax, 0x10000
xor ecx, ecx
test bl, 0x10
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x20], ecx
jne 0x460eca
mov dword [ebp + 0x20], 0x10000000
mov eax, dword [esi + 0x40]
cmp word [eax], cx
mov dword [ebp + 0x1c], ecx
je 0x460ee4
push ecx
push ecx
push edi
push eax
call fcn.00440f6f
add esp, 0x10
mov dword [ebp + 0x1c], eax
test bl, 4
je 0x460eed
or byte [ebp + 0x21], 0x20
test ebx, 0x20000000
je 0x460efb
or byte [ebp + 0x21], 2
jmp 0x460f09
test ebx, ebx
jns 0x460f05
or byte [ebp + 0x21], 1
jmp 0x460f09
or byte [ebp + 0x21], 3
mov eax, ebx
cdq
push edx
push eax
call fcn.004276aa
neg al
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp + 0xb], al
jne 0x460f24
or byte [ebp + 0x23], 8
push 0x6c
call fcn.0046cbd8
test eax, eax
pop ecx
je 0x460f3f
lea ecx, [esi + 0x34]
push ecx
mov ecx, eax
call fcn.00466c4a
mov edi, eax
jmp 0x460f41
xor edi, edi
cmp dword [ebp + 0x1c], 0
mov dword [esi + 0x1c], edi
je 0x460f5a
or dword [ebp + 0x20], 0x40
test ebx, 0x800000
je 0x460f5a
or byte [ebp + 0x21], 4
test ebx, 0x200000
je 0x460f6a
or byte [edi + 0x54], 1
or dword [ebp + 0x20], 0xb
test ebx, 0x400000
je 0x460f7a
or byte [edi + 0x54], 2
or dword [ebp + 0x20], 0xb
test ebx, 0x100000
je 0x460f86
or byte [edi + 0x54], 4
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 0x24]
call fcn.0043660b
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push dword [ecx + 0x18]
shr ebx, 0x13
and ebx, 1
or ebx, dword [ebp + 0x20]
lea ecx, [ebp - 0x10]
or ebx, dword [ebp + 0x14]
push ecx
or ebx, 0x40000000
push ebx
push dword [eax]
mov ecx, edi
call fcn.00466e41
lea ecx, [ebp + 0x24]
call fcn.00427365
test byte [ebp + 0x20], 0xb
jne 0x460fdb
mov eax, dword [edi + 0x68]
test eax, eax
je 0x460fdb
push 5
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0x18]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov ecx, dword [ebp + 0x18]
xor ebx, ebx
call fcn.0042baf4
test eax, eax
je 0x460ff6
mov ebx, eax
cmp dword [ebp + 0x34], 0
je 0x461018
push dword [ebp + 0x34]
lea ecx, [ebp + 0x18]
push ecx
push eax
mov dword [ebp + 0x18], 0x80000000
call fcn.0045cde8
mov ebx, eax
add esp, 0xc
mov dword [edi + 0x50], ebx
test ebx, ebx
je 0x461026
push 1
push ebx
mov ecx, edi
call fcn.0042a1e1
mov ecx, esi
call fcn.00424118
cmp dword [ebp + 0x1c], 0
je 0x46103d
push dword [ebp + 0x1c]
mov ecx, edi
call fcn.00466cee
movzx eax, byte [ebp + 0xb]
push eax
mov ecx, esi
call fcn.0042405c
mov eax, dword [ebp + 0x20]
shr eax, 0x1c
and eax, 1
push eax
mov ecx, esi
call fcn.004240b7
push 0x4975e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x30