Function at 0x45836e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x24]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x20]
mov ebx, ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x28]
push dword [eax]
push esi
push 1
call fcn.00422fec
mov eax, dword [ebp + 0x38]
and dword [ebx + 0x58], 0
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0x34]
push 0x49062c
mov dword [ebx], 0x482154
mov dword [ebx + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x28]
mov esi, dword [ebp + 0x2c]
mov ecx, dword [ebx + 0x24]
lea edx, [ebx + 0x40]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x34]
shr eax, 4
movsd dword es:[edi], dword [esi]
and eax, 0x20000
mov dword [ebp + 0x18], eax
mov eax, dword [ebx + 0x20]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x28]
add esi, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2c]
add eax, ecx
xor edi, edi
cmp dword [ebp + 0x30], 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
mov dword [ebp + 0x20], edi
je 0x458412
mov dword [ebp + 0x20], 0x10000000
mov eax, dword [ebp + 0x34]
test eax, 0x4000000
je 0x458420
or byte [ebp + 0x22], 0x80
test eax, 0x10000000
je 0x45842b
or byte [ebp + 0x22], 0x20
test eax, 0x8000000
je 0x458436
or byte [ebp + 0x22], 0x10
xor esi, esi
test al, 0x40
jne 0x45845b
cmp dword [edx], edi
jge 0x458457
cmp dword [ebx + 0x44], edi
jge 0x458457
cmp dword [ebx + 0x48], edi
jge 0x458457
cmp dword [ebx + 0x4c], edi
jge 0x458457
mov eax, dword [ebx + 0x14]
cmp word [eax], di
je 0x45845b
or byte [ebp + 0x21], 1
push dword [ebx + 0x14]
push 0x47cdc4
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x458473
mov eax, dword [ebx + 0x14]
mov word [eax], di
cmp dword [ebx + 0x44], edi
jge 0x458482
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
cmp word [eax], di
je 0x458485
xor esi, esi
inc esi
mov eax, dword [ebp + 0x34]
test eax, 0x40000000
je 0x458494
xor esi, esi
inc esi
jmp 0x4584aa
test eax, 0x20000000
je 0x4584a0
push 2
pop esi
jmp 0x4584aa
test eax, eax
jns 0x4584a6
xor esi, esi
cmp esi, edi
jle 0x4584ad
or dword [ebp + 0x20], esi
test al, 0x20
je 0x4584b5
or byte [ebp + 0x21], 2
push 0x64
mov esi, eax
call fcn.004669a8
and esi, 0x2000000
pop ecx
je 0x4584d8
cmp eax, edi
je 0x4584e9
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.00466047
jmp 0x4584eb
cmp eax, edi
je 0x4584e9
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.00465d8b
jmp 0x4584eb
xor eax, eax
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
push dword [ecx + 0x18]
sub esp, 0x10
cmp esi, edi
lea esi, [ebp - 0x10]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x458521
mov esi, dword [ebp + 0x20]
mov ecx, esi
or ecx, 0x40000000
push ecx
push 0x47a8e8
mov ecx, eax
call fcn.00465eef
jmp 0x45853d
mov ecx, dword [ebp + 0x20]
or ecx, 0x40000000
push ecx
push 0x47a8e8
push dword [ebp + 0x18]
mov ecx, eax
call fcn.00465e96
mov esi, dword [ebp + 0x20]
mov eax, dword [ebx + 0x14]
xor edi, edi
cmp word [eax], di
je 0x45854e
mov eax, dword [ebx + 0x1c]
mov byte [eax + 0x2d], 1
mov ecx, dword [ebx + 0x1c]
lea eax, [ebx + 0x40]
push eax
call fcn.00465df4
mov ecx, dword [ebp + 0x1c]
call fcn.0042a75e
cmp dword [ebp + 0x30], edi
jl 0x458578
push edi
lea ecx, [ebp + 0x30]
push ecx
push eax
call fcn.0045832e
add esp, 0xc
mov dword [ebx + 0x58], eax
mov ecx, dword [ebx + 0x1c]
push edi
push eax
call fcn.00428e45
push dword [ebx + 0x10]
mov eax, dword [ebx + 0x1c]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, ebx
call fcn.00422f5e
push 1
mov ecx, ebx
call fcn.00422ea2
mov eax, dword [ebx + 0x1c]
push 1
push dword [eax + 0x18]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
and esi, 0x10000000
push esi
mov ecx, ebx
call fcn.00422efd
push 0x49062c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x34