Function at 0x4609a7
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.00423e87
push dword [ebp + 0x2c]
lea ecx, [esi + 0x40]
mov dword [esi], 0x486388
call fcn.0043622f
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 0x460a48
mov dword [ebp + 0x20], 0x10000000
mov eax, dword [esi + 0x40]
cmp word [eax], cx
mov dword [ebp + 0x1c], ecx
je 0x460a62
push ecx
push ecx
push edi
push eax
call fcn.00440bb1
add esp, 0x10
mov dword [ebp + 0x1c], eax
test bl, 4
je 0x460a6b
or byte [ebp + 0x21], 0x20
test ebx, 0x20000000
je 0x460a79
or byte [ebp + 0x21], 2
jmp 0x460a87
test ebx, ebx
jns 0x460a83
or byte [ebp + 0x21], 1
jmp 0x460a87
or byte [ebp + 0x21], 3
mov eax, ebx
cdq
push edx
push eax
call fcn.0042735b
neg al
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp + 0xb], al
jne 0x460aa2
or byte [ebp + 0x23], 8
push 0x6c
call fcn.0046c708
test eax, eax
pop ecx
je 0x460abd
lea ecx, [esi + 0x34]
push ecx
mov ecx, eax
call fcn.00466779
mov edi, eax
jmp 0x460abf
xor edi, edi
cmp dword [ebp + 0x1c], 0
mov dword [esi + 0x1c], edi
je 0x460ad8
or dword [ebp + 0x20], 0x40
test ebx, 0x800000
je 0x460ad8
or byte [ebp + 0x21], 4
test ebx, 0x200000
je 0x460ae8
or byte [edi + 0x54], 1
or dword [ebp + 0x20], 0xb
test ebx, 0x400000
je 0x460af8
or byte [edi + 0x54], 2
or dword [ebp + 0x20], 0xb
test ebx, 0x100000
je 0x460b04
or byte [edi + 0x54], 4
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 0x24]
call fcn.0043622f
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.00466970
lea ecx, [ebp + 0x24]
call fcn.0042704a
test byte [ebp + 0x20], 0xb
jne 0x460b59
mov eax, dword [edi + 0x68]
test eax, eax
je 0x460b59
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.0042b734
test eax, eax
je 0x460b74
mov ebx, eax
cmp dword [ebp + 0x34], 0
je 0x460b96
push dword [ebp + 0x34]
lea ecx, [ebp + 0x18]
push ecx
push eax
mov dword [ebp + 0x18], 0x80000000
call fcn.0045c966
mov ebx, eax
add esp, 0xc
mov dword [edi + 0x50], ebx
test ebx, ebx
je 0x460ba4
push 1
push ebx
mov ecx, edi
call fcn.00429e8f
mov ecx, esi
call fcn.00423df9
cmp dword [ebp + 0x1c], 0
je 0x460bbb
push dword [ebp + 0x1c]
mov ecx, edi
call fcn.0046681d
movzx eax, byte [ebp + 0xb]
push eax
mov ecx, esi
call fcn.00423d3d
mov eax, dword [ebp + 0x20]
shr eax, 0x1c
and eax, 1
push eax
mov ecx, esi
call fcn.00423d98
push 0x4975e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x30