Function at 0x476cab
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x2c]
push ebx
push esi
push edi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x1c]
mov esi, 0x4a69d4
push dword [ebp + 0x18]
mov ebx, ecx
push dword [ebp + 0x14]
push esi
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
push 0x11
call fcn.0046fb57
lea ecx, [ebx + 0x44]
mov dword [ebx], 0x4b1424
call fcn.0043dd7e
lea ecx, [ebx + 0x48]
call fcn.0043dd7e
lea ecx, [ebx + 0x4c]
call fcn.0043dd7e
push 0x4c1b94
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, dword [edi + 0x28]
mov al, byte [ebp + 0x30]
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
mov byte [ebx + 0x40], al
mov eax, dword [edi + 0x48]
shl eax, 2
not eax
and eax, 0x10000
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x20]
add edx, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x2c]
add eax, ecx
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp + 0x20], eax
lea eax, [ebp + 0x20]
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x2c], 0x64
call fcn.00437e65
mov eax, dword [ebp + 0x20]
pop ecx
push 0x3a
pop esi
cmp word [eax], si
je 0x476d76
mov dword [ebp + 0x14], eax
push esi
lea eax, [ebp + 0x20]
call fcn.004128fe
mov eax, dword [ebp + 0x20]
cmp word [eax], si
pop ecx
jne 0x476d91
and word [eax], 0
inc eax
inc eax
mov dword [ebp + 0x20], eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0044957c
mov eax, dword [ebp + 0x20]
mov ax, word [eax]
pop ecx
pop ecx
call fcn.0043d973
test al, al
je 0x476db3
add dword [ebp + 0x20], 2
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0044957c
mov eax, dword [ebp + 0x20]
mov ax, word [eax]
pop ecx
pop ecx
call fcn.0043d973
test al, al
je 0x476dd5
add dword [ebp + 0x20], 2
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0044957c
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [ebp + 0x20], eax
push esi
lea eax, [ebx + 0x48]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.004408ab
mov eax, dword [ebp + 0x20]
add esp, 0x14
cmp word [eax], si
jne 0x476e18
add dword [ebp + 0x20], 2
push esi
lea eax, [ebx + 0x4c]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.004408ab
add esp, 0xc
mov eax, dword [ebp + 0x20]
cmp word [eax], si
jne 0x476e35
add dword [ebp + 0x20], 2
push esi
lea eax, [ebx + 0x44]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.004408ab
add esp, 0xc
mov eax, dword [edi + 0xc4]
mov esi, dword [eax]
mov eax, dword [ebp + 0x14]
dec esi
cmp word [eax], 0
je 0x476ea0
and dword [ebp + 0x20], 0
test esi, esi
jle 0x476ea0
mov eax, dword [edi + 0xc0]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 3
jne 0x476e78
mov eax, dword [eax + 8]
test eax, eax
je 0x476e78
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x476e82
inc dword [ebp + 0x20]
cmp dword [ebp + 0x20], esi
jl 0x476e4f
jmp 0x476ea0
mov eax, dword [edi + 0xc0]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], 2
push 0x54
call fcn.00493048
xor esi, esi
cmp eax, esi
pop ecx
je 0x476ebe
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.00490f5e
mov dword [ebp + 0x14], eax
jmp 0x476ec3
mov dword [ebp + 0x14], esi
mov eax, esi
mov dword [ebx + 0x1c], eax
mov dword [eax + 0x50], esi
mov eax, dword [ebp + 0x30]
cdq
push edx
push eax
call fcn.004381d5
neg al
pop ecx
sbb al, al
pop ecx
mov ecx, dword [ebp + 0x30]
inc al
test cl, 0x10
mov byte [ebp + 0x23], al
jne 0x476eeb
or byte [ebp + 0x1f], 0x10
test cl, 0x20
je 0x476ef4
or dword [ebp + 0x1c], 1
test cl, 0x40
je 0x476efd
or dword [ebp + 0x1c], 0x40
cmp dword [ebp + 0x18], esi
jne 0x476f0a
test cl, cl
jns 0x476f0a
or dword [ebp + 0x1c], 0x12
test ecx, ecx
jns 0x476f14
or dword [ebp + 0x1c], 8
jmp 0x476f20
test ecx, 0x20000000
je 0x476f20
or dword [ebp + 0x1c], 4
test al, al
jne 0x476f28
or byte [ebp + 0x1f], 8
or word [ebp + 0x1c], 0x120
push 0x4b1404
push dword [ebp + 0xc]
lea esi, [ebp - 0x18]
push dword [edi + 0x18]
sub esp, 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]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x14]
mov eax, edi
or eax, dword [ebp - 4]
mov ecx, esi
or eax, 0x40000000
push eax
call fcn.004910e6
mov ecx, dword [ebp - 8]
push 1
call fcn.00486c67
push eax
mov ecx, esi
call fcn.0043c0da
cmp dword [ebp + 0x18], 0
je 0x476f7f
push dword [ebp + 0x18]
mov ecx, esi
call fcn.0043817d
push dword [ebp + 0x2c]
mov eax, dword [esi]
push dword [ebp + 0x10]
mov ecx, esi
call dword [eax + 0x8c]
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x90]
movzx eax, byte [ebp + 0x23]
push eax
mov ecx, ebx
call fcn.00432f9c
and edi, 0x10000000
push edi
mov ecx, ebx
call fcn.00432ff7
push 1
push dword [esi + 0x18]
call dword [sym.imp.SHELL32.DLL_DragAcceptFiles]
mov ecx, ebx
call fcn.00433099
push 0x4c1b94
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x2c