Function at 0x42a397
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.004296d2
mov eax, dword [ebp + 0x2c]
or dword [ebx + 0x44], 0xffffffff
push 0x4a6658
mov dword [ebx], 0x492d3c
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 + 0x2c]
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 0x42a440
mov dword [ebp + 0x1c], 0x50000000
test ecx, 0x4000000
jne 0x42a44c
or byte [ebp + 0x1e], 0x80
test ecx, 0x10000000
je 0x42a458
or byte [ebp + 0x1e], 0x20
test ecx, 0x8000000
je 0x42a464
or byte [ebp + 0x1e], 0x10
test eax, ecx
je 0x42a46e
or dword [ebp + 0x1c], 1
jmp 0x42a47a
test ecx, 0x20000000
je 0x42a47a
or dword [ebp + 0x1c], 2
test cl, 0x20
je 0x42a48b
and byte [ebp + 0x1e], 0xef
or ecx, 4
mov dword [ebp + 0x2c], ecx
jmp 0x42a48f
or byte [ebp + 0x1c], 0x80
test cl, 8
je 0x42a498
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 0x42a4ac
or dword [ebp + 0x2c], 4
test byte [ebp + 0x2c], 1
je 0x42a4b6
or dword [ebp + 0x1c], 0x20
test byte [ebp + 0x1c], 0x20
je 0x42a4c0
and dword [ebp + 0x2c], 0xfffffffb
test byte [ebp + 0x2c], 4
je 0x42a4ca
or dword [ebp + 0x1c], 4
test byte [ebp + 0x2d], 0x80
je 0x42a4d4
or byte [ebp + 0x1f], 8
or esi, 0x40001000
or dword [ebp + 0x1c], esi
test byte [ebp + 0x2d], 4
je 0x42a4e7
or byte [ebp + 0x1d], 0x20
test byte [ebp + 0x2f], 2
je 0x42a4f1
or dword [ebp + 0x1c], 4
cmp byte [ebp + 0x23], 0
je 0x42a52f
call fcn.00429934
push 0x80
call fcn.00479ff8
test eax, eax
pop ecx
je 0x42a519
push ebx
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.00477eb8
jmp 0x42a51b
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 0x42a563
push 0x74
call fcn.00479ff8
test eax, eax
pop ecx
je 0x42a549
push ebx
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.0047493b
jmp 0x42a54b
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 0x42a573
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 0x42a59b
call fcn.00478191
jmp 0x42a5a8
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 0x42a5cc
push 0xffffffffffffffff
xor edi, edi
push edi
push 0x435
push eax
call esi
jmp 0x42a5da
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.0046ec3a
cmp eax, edi
mov dword [ebp + 8], eax
je 0x42a5ef
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 0x42a607
mov word [eax], di
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.004358e8
mov eax, dword [ebp + 0x34]
cmp word [eax], 0x3a
pop ecx
pop ecx
jne 0x42a624
inc eax
inc eax
mov dword [ebp + 0x34], eax
cmp dword [ebp + 0x14], edi
jg 0x42a634
cmp word [eax], di
jne 0x42a634
cmp word [ebp + 0x10], di
je 0x42a647
push eax
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 8]
call fcn.004662aa
add esp, 0xc
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x28], edi
je 0x42a659
mov ecx, dword [ebp + 0x18]
push 1
push dword [ebp + 0x28]
call fcn.0043142e
test byte [ebp + 0x2c], 1
je 0x42a66c
push edi
push 0x2a
push 0xcc
push dword [ebp + 0xc]
call esi
cmp byte [ebp + 0x23], 0
je 0x42a6c6
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + 4]
cmp eax, edi
jl 0x42a68b
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 0x42a6d1
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 0x42a6d1
push dword [ebp + 0x30]
mov ecx, dword [ebp + 0x18]
call fcn.00474aff
push dword [ebx + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, ebx
call fcn.00429977
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 0x42a70b
push dword [ebx + 0x10]
mov ecx, dword [ebx + 0x30]
push eax
call fcn.004465d3
test byte [ebp + 0x2d], 1
mov byte [ebp + 0x2b], 0
je 0x42a719
mov byte [ebp + 0x2b], 0x10
test byte [ebp + 0x2d], 2
je 0x42a723
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.00429588
mov eax, dword [ebp + 0x1c]
and eax, 0x10000000
push eax
mov ecx, ebx
call fcn.004295e3
test byte [ebx + 0x40], 0x40
je 0x42a76b
push 0
push 7
push 0x115
push esi
call edi
test byte [ebx + 0x41], 8
je 0x42a77d
push 0
push 7
push 0x114
push esi
call edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push esi
call edi
push 0x4a6658
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x30