Function at 0x464716
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.00425b5e
push dword [ebp + 0x2c]
lea ecx, [esi + 0x40]
mov dword [esi], 0x48a820
call fcn.0043a50b
mov ebx, dword [ebp + 0x30]
and dword [esi + 0x4c], 0
lea edi, [esi + 0x48]
and dword [edi], 0
push 0x49b604
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 0x4647b7
mov dword [ebp + 0x20], 0x10000000
mov eax, dword [esi + 0x40]
cmp word [eax], cx
mov dword [ebp + 0x1c], ecx
je 0x4647d1
push ecx
push ecx
push edi
push eax
call fcn.00444ba5
add esp, 0x10
mov dword [ebp + 0x1c], eax
test bl, 4
je 0x4647da
or byte [ebp + 0x21], 0x20
test ebx, 0x20000000
je 0x4647e8
or byte [ebp + 0x21], 2
jmp 0x4647f6
test ebx, ebx
jns 0x4647f2
or byte [ebp + 0x21], 1
jmp 0x4647f6
or byte [ebp + 0x21], 3
mov eax, ebx
cdq
push edx
push eax
call fcn.00428db8
neg al
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp + 0xb], al
jne 0x464811
or byte [ebp + 0x23], 8
push 0x6c
call fcn.00470568
test eax, eax
pop ecx
je 0x46482c
lea ecx, [esi + 0x34]
push ecx
mov ecx, eax
call fcn.0046a5bd
mov edi, eax
jmp 0x46482e
xor edi, edi
cmp dword [ebp + 0x1c], 0
mov dword [esi + 0x1c], edi
je 0x464847
or dword [ebp + 0x20], 0x40
test ebx, 0x800000
je 0x464847
or byte [ebp + 0x21], 4
test ebx, 0x200000
je 0x464857
or byte [edi + 0x54], 1
or dword [ebp + 0x20], 0xb
test ebx, 0x400000
je 0x464867
or byte [edi + 0x54], 2
or dword [ebp + 0x20], 0xb
test ebx, 0x100000
je 0x464873
or byte [edi + 0x54], 4
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 0x24]
call fcn.0043a50b
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.0046a7b4
lea ecx, [ebp + 0x24]
call fcn.00428a48
test byte [ebp + 0x20], 0xb
jne 0x4648c8
mov eax, dword [edi + 0x68]
test eax, eax
je 0x4648c8
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.0042d4d6
test eax, eax
je 0x4648e3
mov ebx, eax
cmp dword [ebp + 0x34], 0
je 0x464905
push dword [ebp + 0x34]
lea ecx, [ebp + 0x18]
push ecx
push eax
mov dword [ebp + 0x18], 0x80000000
call fcn.0046052a
mov ebx, eax
add esp, 0xc
mov dword [edi + 0x50], ebx
test ebx, ebx
je 0x464913
push 1
push ebx
mov ecx, edi
call fcn.0042ba5d
mov ecx, esi
call fcn.00425ad0
cmp dword [ebp + 0x1c], 0
je 0x46492a
push dword [ebp + 0x1c]
mov ecx, edi
call fcn.0046a661
movzx eax, byte [ebp + 0xb]
push eax
mov ecx, esi
call fcn.00425a14
mov eax, dword [ebp + 0x20]
shr eax, 0x1c
and eax, 1
push eax
mov ecx, esi
call fcn.00425a6f
push 0x49b604
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x30