Function at 0x484f9d
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x24]
push ebx
push esi
push edi
push dword [ebp + 0x20]
mov esi, dword [ebp + 8]
push dword [ebp + 0x1c]
xor edi, edi
push dword [ebp + 0x18]
inc edi
push dword [ebp + 0x14]
mov ebx, ecx
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x28]
push dword [eax]
push esi
push edi
call fcn.00434b65
mov eax, dword [ebp + 0x38]
or dword [ebx + 0x54], 0xffffffff
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x34]
push 0x4c9c14
mov dword [ebx], 0x4b9d68
mov dword [ebx + 0x58], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esi + 0x28]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x34]
shr eax, 4
and eax, 0x20000
test byte [ebp + 0x36], 0x40
mov dword [ebp + 0x18], eax
je 0x48500c
mov dword [ebp + 0x18], edi
mov esi, dword [ebp + 0x2c]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
or dword [ebp + 0x1c], 0xffffffff
lea edi, [ebx + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x2c]
add eax, ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x30]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
mov cx, word [eax]
xor edi, edi
cmp cx, 0x2a
mov dword [ebp - 8], edx
mov dword [ebp + 0x24], ecx
jne 0x48504c
mov word [eax], di
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0047c444
mov eax, dword [ebp + 0x1c]
cmp eax, 0xfffffff0
pop ecx
pop ecx
mov dword [ebx + 0x54], eax
mov dword [ebp + 0x20], edi
jne 0x485076
mov eax, dword [ebp + 0x30]
cmp word [eax], di
jne 0x485076
mov dword [ebp + 0x24], edi
jmp 0x48507d
mov dword [ebp + 0x20], 0x10000000
mov eax, dword [ebp + 0x30]
cmp word [eax], 0x3a
jne 0x48508a
add dword [ebp + 0x30], 2
mov edx, dword [ebp + 0x34]
test edx, 0x4000000
je 0x485099
or byte [ebp + 0x22], 0x80
test edx, 0x10000000
je 0x4850a5
or byte [ebp + 0x22], 0x20
test edx, 0x8000000
je 0x4850b1
or byte [ebp + 0x22], 0x10
xor esi, esi
test dl, 0x40
jne 0x4850d8
cmp dword [ebx + 0x40], edi
jge 0x4850d4
cmp dword [ebx + 0x44], edi
jge 0x4850d4
cmp dword [ebx + 0x48], edi
jge 0x4850d4
cmp dword [ebx + 0x4c], edi
jge 0x4850d4
mov eax, dword [ebx + 0x14]
cmp word [eax], di
je 0x4850d8
or byte [ebp + 0x21], 1
mov eax, dword [ebx + 0x14]
xor ecx, ecx
mov cx, word [eax]
cmp cx, 0x2a
mov dword [ebp + 0x10], ecx
jne 0x4850f8
mov cx, word [eax + 2]
neg cx
sbb ecx, ecx
and ecx, 0x20
mov word [eax], cx
cmp dword [ebx + 0x44], edi
jge 0x485107
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
cmp word [eax], di
je 0x48510a
xor esi, esi
inc esi
test edx, 0x40000000
je 0x485117
xor esi, esi
inc esi
jmp 0x48512e
test edx, 0x20000000
je 0x485124
push 2
pop esi
jmp 0x48512e
test edx, edx
jns 0x48512a
xor esi, esi
cmp esi, edi
jle 0x485131
or dword [ebp + 0x20], esi
test dl, 0x20
je 0x48513a
or byte [ebp + 0x21], 2
test edx, 0x2000000
je 0x485145
mov dword [ebp + 0x18], edi
mov eax, dword [ebp + 0x20]
push 0x90
mov dword [ebp + 0x28], eax
mov esi, edx
call fcn.0049aa28
and esi, 0x3000000
pop ecx
je 0x485171
cmp eax, edi
je 0x485182
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.004996cd
jmp 0x485184
cmp eax, edi
je 0x485182
lea ecx, [ebx + 0x34]
push ecx
mov ecx, eax
call fcn.00498da1
jmp 0x485184
xor eax, eax
test byte [ebp + 0x37], 1
mov dword [ebx + 0x1c], eax
je 0x48519d
mov byte [eax + 0x79], 0x14
mov eax, dword [ebp + 0x20]
and eax, 0xfffffffd
or eax, 0xd
mov dword [ebp + 0x28], eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
push dword [eax + 0x18]
mov ecx, dword [ebx + 0x1c]
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 0x4851d9
mov eax, dword [ebp + 0x28]
or eax, 0x40000000
push eax
push 0x4ae9fc
call fcn.00498f7f
mov al, byte [ebp + 0x20]
mov ecx, dword [ebx + 0x1c]
and al, 3
mov byte [ecx + 0x7c], al
jmp 0x4851ef
mov eax, dword [ebp + 0x20]
or eax, 0x40000000
push eax
push 0x4ae9fc
push dword [ebp + 0x18]
call fcn.00498f1e
mov eax, dword [ebx + 0x14]
xor edi, edi
cmp word [eax], di
je 0x485207
cmp word [ebp + 0x10], 0x2a
je 0x485207
mov eax, dword [ebx + 0x1c]
mov byte [eax + 0x49], 1
mov ecx, dword [ebx + 0x1c]
lea eax, [ebx + 0x40]
push eax
call fcn.00498e2c
mov ecx, dword [ebp + 0x14]
call fcn.0048bde1
cmp dword [ebp + 0x1c], edi
mov esi, eax
jg 0x485230
mov eax, dword [ebp + 0x30]
cmp word [eax], di
jne 0x485230
cmp word [ebp + 0x24], di
je 0x485252
push dword [ebp + 0x30]
lea eax, [ebp + 0x1c]
push eax
push esi
call fcn.00484f5d
mov ecx, dword [ebx + 0x1c]
mov dword [ecx + 0x40], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x40]
add esp, 0xc
cmp eax, edi
je 0x485252
mov esi, eax
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
push edi
push esi
call dword [eax + 0x80]
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.00434a91
push 1
mov ecx, ebx
call fcn.00434994
mov eax, dword [ebx + 0x1c]
push 1
push dword [eax + 0x18]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov eax, dword [ebp + 0x20]
and eax, 0x10000000
push eax
mov ecx, ebx
call fcn.004349ef
push 0x4c9c14
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x34