Function at 0x42cf5e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
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 3
call fcn.0042c299
mov eax, dword [ebp + 0x2c]
or dword [ebx + 0x44], 0xffffffff
push 0x4ad684
mov dword [ebx], 0x499274
mov dword [ebx + 0x40], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
mov edi, dword [esi + 0x28]
mov esi, dword [edi + 0x48]
add edx, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2c]
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x40]
shr eax, 0x17
and al, 1
mov byte [ebp + 0x23], al
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x2c]
mov eax, ecx
shr eax, 0xc
shl esi, 2
and eax, 0x200
not esi
mov dword [ebp + 0x10], eax
and esi, 0x10000
test cl, 0x10
mov eax, 0x40000000
mov dword [ebp + 8], edi
mov dword [ebp - 8], edx
mov dword [ebp + 0x1c], eax
jne 0x42d007
mov dword [ebp + 0x1c], 0x50000000
test ecx, 0x4000000
jne 0x42d013
or byte [ebp + 0x1e], 0x80
test ecx, 0x10000000
je 0x42d01f
or byte [ebp + 0x1e], 0x20
test ecx, 0x8000000
je 0x42d02b
or byte [ebp + 0x1e], 0x10
test eax, ecx
je 0x42d035
or dword [ebp + 0x1c], 1
jmp 0x42d041
test ecx, 0x20000000
je 0x42d041
or dword [ebp + 0x1c], 2
test cl, 0x20
je 0x42d052
and byte [ebp + 0x1e], 0xef
or ecx, 4
mov dword [ebp + 0x2c], ecx
jmp 0x42d056
or byte [ebp + 0x1c], 0x80
test cl, 8
je 0x42d05f
or byte [ebp + 0x1d], 8
mov eax, dword [ebx + 0x10]
push 0xa
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x42d073
or dword [ebp + 0x2c], 4
test byte [ebp + 0x2c], 1
je 0x42d07d
or dword [ebp + 0x1c], 0x20
test byte [ebp + 0x1c], 0x20
je 0x42d087
and dword [ebp + 0x2c], 0xfffffffb
test byte [ebp + 0x2c], 4
je 0x42d091
or dword [ebp + 0x1c], 4
test byte [ebp + 0x2d], 0x80
je 0x42d09b
or byte [ebp + 0x1f], 8
or esi, 0x40001000
or dword [ebp + 0x1c], esi
test byte [ebp + 0x2d], 4
je 0x42d0ae
or byte [ebp + 0x1d], 0x20
test byte [ebp + 0x2f], 2
je 0x42d0b8
or dword [ebp + 0x1c], 4
cmp byte [ebp + 0x23], 0
je 0x42d0f6
call fcn.0042c4fb
push 0x80
call fcn.00480078
test eax, eax
pop ecx
je 0x42d0e0
push ebx
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.0047dede
jmp 0x42d0e2
xor eax, eax
mov ecx, dword [ebp + 0x28]
mov dword [ebx + 0x1c], eax
mov ecx, dword [ecx]
cmp word [ecx], 0
setne cl
mov byte [eax + 0x48], cl
jmp 0x42d12a
push 0x74
call fcn.00480078
test eax, eax
pop ecx
je 0x42d110
push ebx
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.0047a962
jmp 0x42d112
xor eax, eax
mov ecx, dword [ebp + 0x28]
mov dword [ebx + 0x1c], eax
mov ecx, dword [ecx]
cmp word [ecx], 0
setne cl
xor cl, byte [eax + 0x48]
and cl, 1
xor byte [eax + 0x48], cl
test byte [ebx + 0x42], 0x40
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x18], eax
je 0x42d13a
or byte [eax + 0x48], 2
push dword [ebp + 0xc]
mov ecx, dword [ebx + 0x1c]
push dword [edi + 0x18]
lea esi, [ebp - 0x10]
sub esp, 0x10
cmp byte [ebp + 0x23], 0
mov edi, esp
push dword [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x24], ecx
movsd dword es:[edi], dword [esi]
je 0x42d162
call fcn.0047e1b7
jmp 0x42d16f
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x80]
cmp byte [ebp + 0x23], 0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0xc], eax
je 0x42d193
push 0xffffffffffffffff
xor edi, edi
push edi
push 0x435
push eax
call esi
jmp 0x42d1a1
push 0
push 0xffffffffffffffff
push 0xc5
push eax
call esi
xor edi, edi
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x28], edi
call fcn.00474655
cmp eax, edi
mov dword [ebp + 8], eax
je 0x42d1b6
mov dword [ebp + 0x28], eax
or dword [ebp + 0x14], 0xffffffff
mov eax, dword [ebp + 0x34]
xor ecx, ecx
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp + 0x10], ecx
jne 0x42d1ce
mov word [eax], di
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00438b8e
mov eax, dword [ebp + 0x34]
cmp word [eax], 0x3a
pop ecx
pop ecx
jne 0x42d1eb
inc eax
inc eax
mov dword [ebp + 0x34], eax
cmp dword [ebp + 0x14], edi
jg 0x42d1fb
cmp word [eax], di
jne 0x42d1fb
cmp word [ebp + 0x10], di
je 0x42d20e
push eax
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 8]
call fcn.0046ba64
add esp, 0xc
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x28], edi
je 0x42d220
mov ecx, dword [ebp + 0x18]
push 1
push dword [ebp + 0x28]
call fcn.004344b5
test byte [ebp + 0x2c], 1
je 0x42d233
push edi
push 0x2a
push 0xcc
push dword [ebp + 0xc]
call esi
cmp byte [ebp + 0x23], 0
je 0x42d28d
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 4]
cmp eax, edi
jl 0x42d252
push eax
mov eax, dword [ebp + 0x24]
push edi
push 0x443
push dword [eax + 0x18]
call esi
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
cmp edx, edi
jl 0x42d298
push 0x15
pop ecx
xor eax, eax
mov dword [ebp - 0x6c], 0x5c
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp + 0x24]
push 0
push 0x444
push dword [eax + 0x18]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x68], 0x40000000
call esi
xor edi, edi
jmp 0x42d298
push dword [ebp + 0x30]
mov ecx, dword [ebp + 0x18]
call fcn.0047ab26
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, ebx
call fcn.0042c53e
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0xb1
push dword [ebp + 0xc]
call edi
mov eax, dword [ebx + 8]
cmp word [eax], 0
je 0x42d2d2
push dword [ebx + 0x10]
mov ecx, dword [ebx + 0x30]
push eax
call fcn.0044a781
test byte [ebp + 0x2d], 1
mov byte [ebp + 0x2b], 0
je 0x42d2e0
mov byte [ebp + 0x2b], 0x10
test byte [ebp + 0x2d], 2
je 0x42d2ea
mov byte [ebp + 0x2b], 0x20
mov esi, dword [ebp + 0xc]
push 1
push esi
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov cl, byte [ebp + 0x2b]
mov eax, dword [ebp + 0x18]
or byte [eax + 0x49], cl
xor eax, eax
cmp word [ebx + 0x40], ax
mov ecx, ebx
setge al
push eax
call fcn.0042c11a
mov eax, dword [ebp + 0x1c]
and eax, 0x10000000
push eax
mov ecx, ebx
call fcn.0042c175
test byte [ebx + 0x40], 0x40
je 0x42d332
push 0
push 7
push 0x115
push esi
call edi
test byte [ebx + 0x41], 8
je 0x42d344
push 0
push 7
push 0x114
push esi
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push esi
call edi
push 0x4ad684
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x30